/* ============================================
   JAZZ NOIR — Blue Note Logic Design System
   Midnight Navy + Brass Gold | Editorial Glass
   Where AI meets artistry
   ============================================ */

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

:root {
    /* Jazz Noir Palette — Midnight Navy Foundation */
    --bg: #0a0f1e;
    --bg-deep: #060a16;
    --bg-section: #0e1225;
    --bg-section-alt: #111827;
    --bg-card: rgba(17, 24, 39, 0.80);
    --bg-card-solid: #111827;
    --bg-card-hover: #1a2236;
    --surface: #141b2d;
    --surface-raised: #1a2236;

    /* Borders — Gold-tinted */
    --border: rgba(201, 168, 76, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(201, 168, 76, 0.25);
    --border-active: rgba(201, 168, 76, 0.50);

    /* Text — Warm whites */
    --text: #e2e8f0;
    --text-bright: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;

    /* Accent — Brass Gold (primary) */
    --accent: #c9a84c;
    --accent-bright: #e6c65a;
    --accent-dark: #9a7e3a;
    --accent-glow: rgba(201, 168, 76, 0.10);
    --accent-glow-strong: rgba(201, 168, 76, 0.22);

    /* Accent 2 — Cyan (secondary — tech elements) */
    --copper: #00d4ff;
    --copper-bright: #33dfff;
    --copper-glow: rgba(0, 212, 255, 0.10);

    /* Accent 3 — Soft Violet (tertiary/glow) */
    --violet: #7c5bf0;
    --violet-glow: rgba(124, 91, 240, 0.08);

    /* Legacy aliases */
    --cyan: var(--accent);
    --cyan-bright: var(--accent-bright);
    --cyan-dark: var(--accent-dark);
    --cyan-glow: var(--accent-glow);
    --cyan-glow-strong: var(--accent-glow-strong);
    --teal: var(--accent-dark);
    --teal-glow: var(--accent-glow);
    --blue: #3b82f6;
    --amber: #f59e0b;

    /* Functional */
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;

    /* Glass — Midnight with gold edge */
    --glass-bg: rgba(10, 15, 30, 0.75);
    --glass-bg-strong: rgba(10, 15, 30, 0.92);
    --glass-border: rgba(201, 168, 76, 0.06);
    --glass-blur: 20px;

    /* Typography — Spectral (display) + Manrope (body) + JetBrains Mono (tech) */
    --font-display: 'Spectral', Georgia, serif;
    --font-body: 'Manrope', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Layout */
    --max-width: 1200px;
    --max-width-narrow: 900px;
    --nav-height: 80px;
    --section-pad: clamp(4rem, 8vw, 7rem);
    --content-pad: clamp(1.25rem, 4vw, 2rem);

    /* Radius — Editorial, slightly tighter */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Transitions */
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Structural — themed (dark defaults) */
    --dot-color: rgba(255, 255, 255, 0.03);
    --sheet-music-color: rgba(201, 168, 76, 0.025);
    --musical-note-color: rgba(201, 168, 76, 0.015);
    --crossnav-bg: rgba(4, 8, 18, 0.96);
    --crossnav-text: rgba(255, 255, 255, 0.35);
    --crossnav-link-text: rgba(255, 255, 255, 0.45);
    --crossnav-link-border: rgba(255, 255, 255, 0.08);
    --nav-scrolled-bg: rgba(10, 15, 30, 0.92);
    --nav-pill-bg: rgba(10, 15, 30, 0.65);
    --nav-pill-border: rgba(255, 255, 255, 0.06);
    --nav-link-hover-bg: rgba(255, 255, 255, 0.04);
    --mobile-menu-bg: rgba(10, 15, 30, 0.97);
    --card-composite-bg: rgba(13, 24, 39, 0.72);
    --card-gradient-start: rgba(255, 255, 255, 0.04);
    --card-gradient-end: rgba(255, 255, 255, 0.015);
    --stats-bar-bg: rgba(7, 17, 29, 0.58);
    --stats-bar-border: rgba(255, 255, 255, 0.08);
    --hero-positioning-text: rgba(248, 251, 255, 0.86);
    --hero-focus-bg: rgba(7, 17, 29, 0.84);
    --body-gradient-1: #060a16;
    --body-gradient-2: #0a0f1e;
    --body-gradient-3: #0e1225;
    --outline-btn-border: rgba(255, 255, 255, 0.1);
    --outline-btn-bg: rgba(255, 255, 255, 0.025);
    --grid-line-color: rgba(201, 168, 76, 0.018);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    padding-top: 40px;
}

/* Sheet Music Lines — Subtle jazz atmosphere */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            transparent,
            transparent 79px,
            var(--sheet-music-color) 79px,
            var(--sheet-music-color) 80px
        );
    background-position: 0 120px;
    pointer-events: none;
    z-index: 0;
}

/* Musical Note Decoration */
body::after {
    content: '\266A';
    position: fixed;
    font-size: 300px;
    color: var(--musical-note-color);
    right: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-15deg);
    font-family: serif;
    pointer-events: none;
    z-index: 0;
}

::selection {
    background: var(--cyan);
    color: var(--bg);
}

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.25s var(--ease);
}
a:hover { color: var(--cyan-bright); }

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

/* --- Background Atmosphere — Dot Matrix + Triple Glow --- */
.bg-dots {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(var(--dot-color) 1px, transparent 1px);
    background-size: 32px 32px;
    z-index: 0;
    pointer-events: none;
}


.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(160px);
    opacity: 0.10;
    pointer-events: none;
    z-index: 0;
    animation: glow-drift 20s ease-in-out infinite alternate;
}

.bg-glow--1 {
    width: 700px;
    height: 700px;
    background: var(--accent);
    top: -300px;
    left: -200px;
}

.bg-glow--2 {
    width: 500px;
    height: 500px;
    background: var(--violet);
    bottom: -200px;
    right: -150px;
    opacity: 0.07;
    animation-delay: -7s;
}

.bg-glow--3 {
    width: 400px;
    height: 400px;
    background: var(--copper);
    top: 40%;
    right: -100px;
    opacity: 0.06;
    animation-delay: -14s;
}

@keyframes glow-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, -20px); }
}


.noise-overlay {
    position: fixed;
    inset: 0;
    opacity: 0.025;
    z-index: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-pad);
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

/* --- Section --- */
.section {
    position: relative;
    z-index: 1;
    padding: var(--section-pad) 0;
}

.section--dark {
    background: var(--bg-deep);
}

.section--alt {
    background: var(--bg-section);
}

.section__label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    font-style: italic;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section__label::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--cyan);
    opacity: 0.5;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.section__header {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section__header--center {
    text-align: center;
}

.section__header--center .section__subtitle {
    margin: 0 auto;
}

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

.section__header--center .section__label::before {
    display: none;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.35s var(--ease), border-bottom 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.nav--scrolled {
    background: var(--nav-scrolled-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}


.nav--hidden {
    transform: translateY(-100%);
}

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-pad);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    color: var(--text-bright);
    text-decoration: none;
    z-index: 10;
    flex-shrink: 0;
}

.nav__logo-img {
    height: 72px;
    width: auto;
    min-width: fit-content;
    border-radius: 8px;
    padding: 0;
    background: none;
    border: 2px solid rgba(201, 168, 76, 0.25);
    object-fit: contain;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Dark mode: invert nav logo */
[data-theme="dark"] .nav__logo-img {
    filter: brightness(0) invert(1);
}

.nav__logo:hover .nav__logo-img {
    border-color: rgba(201, 168, 76, 0.55);
    box-shadow: 0 0 24px rgba(201, 168, 76, 0.15);
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0.9rem;
    border-radius: var(--radius-sm);
    transition: all 0.25s var(--ease);
    text-decoration: none;
    position: relative;
}

.nav__link:hover {
    color: var(--text-bright);
    background: rgba(201, 168, 76, 0.05);
}

.nav__link--active {
    color: var(--cyan);
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 2px;
    background: var(--cyan);
    border-radius: 1px;
}

/* ── Nav Dropdown ── */
.nav__dropdown {
    position: relative;
}

.nav__link--has-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__dropdown-chevron {
    transition: transform 0.2s var(--ease);
    opacity: 0.6;
    flex-shrink: 0;
}

.nav__dropdown:hover .nav__dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav__dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--bg-card, rgba(15, 20, 35, 0.95));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius, 12px);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(4px);
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm, 8px);
    text-decoration: none;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
}

.nav__dropdown-link:hover {
    color: var(--text-bright);
    background: rgba(201, 168, 76, 0.08);
}

.nav__dropdown-link--active {
    color: var(--cyan);
}

.nav__login {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cyan);
    padding: 0.45rem 1rem;
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: var(--radius);
    margin-left: 0.5rem;
    transition: all 0.25s var(--ease);
    text-decoration: none;
}

.nav__login:hover {
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.5);
    color: var(--cyan-bright);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.08);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 10;
}

.nav__toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

/* --- Language Toggle --- */
.nav__lang {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: 0.75rem;
    padding: 2px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
}

.nav__lang-btn {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    padding: 0.3rem 0.55rem;
    border-radius: calc(var(--radius-sm) - 2px);
    text-decoration: none;
    transition: all 0.2s var(--ease);
}

.nav__lang-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav__lang-btn--active {
    color: var(--accent);
    background: var(--accent-glow);
}

/* --- Hero --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--nav-height) + 2rem) 0 4rem;
    overflow: hidden;
}

.hero__content {
    max-width: 720px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    padding: 0.4rem 0.9rem;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--text-bright);
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero__title-accent {
    background: linear-gradient(135deg, var(--accent), var(--violet), var(--copper));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shimmer 6s ease infinite;
}

@keyframes gradient-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* --- Skip Link (a11y) --- */
.skip-link {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 9999;
    transition: top 0.3s var(--ease);
}
.skip-link:focus {
    top: 1rem;
    color: var(--bg);
}

/* --- Prismatic Card Border Effect --- */
.prismatic-border {
    position: relative;
}
.prismatic-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--accent), var(--violet), var(--copper), var(--accent));
    background-size: 300% 300%;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s var(--ease);
    animation: prismatic-rotate 4s linear infinite paused;
}
.prismatic-border:hover::before {
    opacity: 1;
    animation-play-state: running;
}
@keyframes prismatic-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero__description {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 560px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero__visual {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    opacity: 0.08;
    pointer-events: none;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    text-decoration: none;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    color: var(--bg);
    box-shadow: 0 4px 20px var(--accent-glow-strong);
}

.btn--primary:hover {
    box-shadow: 0 6px 30px rgba(201, 168, 76, 0.35);
    transform: translateY(-2px);
    color: var(--bg);
}

.btn--outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn--outline:hover {
    background: rgba(201, 168, 76, 0.06);
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(201, 168, 76, 0.06);
    color: var(--cyan);
    border: 1px solid transparent;
}

.btn--ghost:hover {
    background: rgba(201, 168, 76, 0.1);
    border-color: rgba(201, 168, 76, 0.15);
}

.btn--lg {
    padding: 0.9rem 2.25rem;
    font-size: 0.95rem;
}

.btn--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.btn svg {
    width: 16px;
    height: 16px;
}

/* --- Glass Card --- */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.06);
    transform: translateY(-4px);
}

.glass-card:hover::before {
    opacity: 1;
}

/* --- Stats Bar --- */
.stats-bar {
    position: relative;
    z-index: 1;
    background: var(--bg-section);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}

.stats-bar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-pad);
}

.stats-bar__item {
    text-align: center;
    position: relative;
}

.stats-bar__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--border);
}

.stats-bar__icon {
    width: 24px;
    height: 24px;
    color: var(--cyan);
    margin: 0 auto 0.5rem;
    opacity: 0.7;
}

.stats-bar__value {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stats-bar__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

/* --- Ecosystem Map --- */
.ecosystem-map {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.ecosystem-map__tier {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.ecosystem-map__node {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, transform 0.2s;
}

.ecosystem-map__node:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.ecosystem-map__node--flagship {
    padding: 1rem 2rem;
    border-color: var(--accent);
    background: rgba(201, 168, 76, 0.06);
}

.ecosystem-map__node--ghost {
    opacity: 0.45;
    border-style: dashed;
    cursor: default;
}

.ecosystem-map__node--ghost:hover {
    transform: none;
    border-color: var(--border);
}

.ecosystem-map__node-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-bright);
}

.ecosystem-map__node-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

/* --- Coming-Soon Card --- */
.service-card--coming-soon {
    opacity: 0.5;
    pointer-events: none;
    position: relative;
}

.service-card--coming-soon::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
}

.service-card__coming-soon-badge {
    display: inline-flex;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--teal));
    transform: scaleX(0);
    transition: transform 0.35s var(--ease-out);
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.06);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card--link {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.service-card__icon {
    width: 44px;
    height: 44px;
    color: var(--cyan);
    padding: 10px;
    background: rgba(201, 168, 76, 0.06);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__icon svg {
    width: 100%;
    height: 100%;
}

.service-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-card__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cyan);
}

.service-card__tagline {
    font-size: 0.82rem;
    color: var(--text);
    line-height: 1.5;
}

.service-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.service-card__meta span {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.12);
    background: rgba(201, 168, 76, 0.05);
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.service-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan);
}

.service-card__cta svg {
    flex-shrink: 0;
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
}

.client-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 100%;
    padding: 1.75rem;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    color: inherit;
    text-decoration: none;
    transition: all 0.35s var(--ease);
}

.client-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.06);
}

.client-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.client-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
}

.client-card__external {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.12);
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.client-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.client-card__meta span,
.client-card__stats span {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.client-card__summary {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9rem;
}

.client-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.client-card__stats--stacked {
    flex-direction: column;
}

.client-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 0.75rem;
}

.client-sidebar-list__item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-subtle);
}

.client-sidebar-list__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.client-sidebar-list__item strong {
    color: var(--text-bright);
    font-size: 0.9rem;
}

.client-sidebar-list__item span {
    color: var(--text-secondary);
    font-size: 0.82rem;
}

.client-logo--link {
    display: inline-flex;
    justify-content: center;
}

/* --- Exosphere Spotlight --- */
.spotlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.spotlight__content {
    /* text side */
}

.spotlight__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cyan);
    padding: 0.3rem 0.7rem;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: 100px;
    margin-bottom: 1rem;
}

.spotlight__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.spotlight__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.spotlight__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}

.spotlight__feature {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text);
}

.spotlight__feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--cyan);
    margin-top: 2px;
}

.spotlight__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spotlight__poster {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 80px rgba(201, 168, 76, 0.06);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.spotlight__poster:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 120px rgba(201, 168, 76, 0.1);
}

.spotlight__poster img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.spotlight__poster:hover img {
    transform: scale(1.04);
    filter: brightness(1.08) contrast(1.05);
}

.spotlight__poster-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 70%, rgba(201, 168, 76, 0.15) 0%, transparent 60%),
                linear-gradient(180deg, transparent 60%, rgba(10, 15, 28, 0.7) 100%);
    pointer-events: none;
    transition: opacity 0.5s var(--ease);
}

.spotlight__poster:hover .spotlight__poster-glow {
    opacity: 0.7;
}

.spotlight__poster-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(12px);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.2);
}

/* --- Event Recap --- */
.event-recap {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}

.event-recap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--teal), var(--cyan));
}

.event-recap__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.event-recap__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.event-recap__badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    padding: 0.3rem 0.7rem;
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 100px;
}

.event-recap__date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.event-recap__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.event-recap__venue {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--cyan);
    margin-bottom: 1.25rem;
}

.event-recap__body {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.event-recap__highlights {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.event-recap__highlight {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text);
    padding: 0.6rem 0.8rem;
    background: rgba(201, 168, 76, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 168, 76, 0.04);
}

.event-recap__highlight-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--cyan);
    margin-top: 2px;
}

/* --- Client Logos --- */
.client-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 5vw, 4rem);
    flex-wrap: wrap;
}

.client-logo {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dim);
    transition: all 0.35s var(--ease);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    white-space: nowrap;
}

.client-logo:hover {
    color: var(--text);
    border-color: var(--border);
    background: rgba(201, 168, 76, 0.03);
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.25rem;
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    position: relative;
}

.testimonial-card__quote-mark {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1;
    color: var(--cyan);
    opacity: 0.2;
    margin-bottom: -0.5rem;
}

.testimonial-card__quote {
    font-size: 0.92rem;
    color: var(--text);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-card__scope {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.08);
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.testimonial-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.15), rgba(201, 168, 76, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--cyan);
    flex-shrink: 0;
}
.testimonial-card__avatar--photo {
    object-fit: cover;
    background: none;
}

.testimonial-card__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-bright);
    line-height: 1.3;
}

.testimonial-card__title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.proof-intro {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.proof-intro__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border: 1px solid rgba(201, 168, 76, 0.14);
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--cyan);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.proof-intro__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.proof-intro__body {
    color: var(--text-secondary);
    line-height: 1.75;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.case-study-list {
    display: grid;
    gap: 1.5rem;
}

.case-study-card {
    background: linear-gradient(180deg, rgba(9, 18, 33, 0.92), rgba(9, 18, 33, 0.82));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.case-study-card--full {
    gap: 1.25rem;
}

.case-study-card--link {
    transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.case-study-card--link:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.18);
    background: linear-gradient(180deg, rgba(12, 24, 43, 0.95), rgba(9, 18, 33, 0.9));
}

.case-study-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-study-card__meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(201, 168, 76, 0.06);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.case-study-card__title {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: var(--text-bright);
    letter-spacing: -0.02em;
}

.case-study-card__subtitle {
    color: var(--cyan);
    font-size: 0.92rem;
    line-height: 1.6;
}

.case-study-card__summary {
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.case-study-card__section {
    padding: 1rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.case-study-card__section h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.case-study-card__metrics {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}

.case-study-card__metrics li {
    padding: 0.8rem 0.9rem;
    border-radius: var(--radius);
    background: rgba(201, 168, 76, 0.05);
    border: 1px solid rgba(201, 168, 76, 0.08);
    color: var(--text);
    font-size: 0.82rem;
    line-height: 1.5;
}

.proof-placeholder {
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 184, 0, 0.18);
    background: rgba(255, 184, 0, 0.08);
    color: #ffd684;
    font-size: 0.78rem;
    line-height: 1.6;
}

.proof-card__actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

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

.proof-link {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.proof-link:hover {
    color: var(--cyan-bright);
}

.proof-link--inline {
    margin-top: 1rem;
}

.proof-link--muted {
    color: var(--text-muted);
}

.proof-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
    gap: 1.5rem;
    align-items: start;
}

.proof-hero__summary {
    margin-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 760px;
}

.proof-sidebar-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.proof-sidebar-card__body {
    color: var(--text-secondary);
    line-height: 1.7;
}

.proof-card__actions--stacked {
    flex-direction: column;
    align-items: stretch;
}

.proof-card__actions--stacked .btn {
    width: 100%;
    justify-content: center;
}

.case-study-card__metrics--stacked {
    grid-template-columns: 1fr;
    margin-top: 0.9rem;
}

.case-study-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.case-study-detail-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.4rem;
}

.case-study-detail-card h2 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--text-bright);
    margin-bottom: 0.85rem;
}

/* --- Certifications & Partners --- */
.certs-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    flex-wrap: wrap;
}

.cert-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem;
    background: rgba(201, 168, 76, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s var(--ease);
}

.cert-badge:hover {
    border-color: var(--border-hover);
    background: rgba(201, 168, 76, 0.06);
}

.cert-badge__icon {
    width: 24px;
    height: 24px;
    color: var(--cyan);
    flex-shrink: 0;
}

.cert-badge__text {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.02em;
}

/* --- CTA Section --- */
.cta-section {
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    position: relative;
}

.cta-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.cta-section__desc {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Engagement Model (always dark breakout) --- */
.engagement-model {
    background: #0a0f1e !important;
    position: relative;
    overflow: hidden;
}

.engagement-model::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.engagement-model__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.engagement-model__kicker {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #c9a961;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.engagement-model__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

.engagement-model__points {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.engagement-model__point {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.engagement-model__point-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(201, 168, 76, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c9a961;
}

.engagement-model__point strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.95rem;
    color: #f1f5f9;
    margin-bottom: 0.2rem;
}

.engagement-model__point p {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .engagement-model__points {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* --- Announcement Card (homepage) --- */
.announcement-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: rgba(201, 169, 97, 0.06);
    color: var(--text);
    text-decoration: none;
    max-width: fit-content;
    margin: 0 auto;
    transition: background 0.2s, border-color 0.2s;
}
.announcement-card:hover {
    background: rgba(201, 169, 97, 0.12);
}
.announcement-card__badge {
    background: var(--accent);
    color: var(--bg);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.announcement-card__text {
    font-size: 0.9rem;
    font-weight: 500;
}
.announcement-card svg {
    flex-shrink: 0;
    opacity: 0.6;
}

/* --- Pre-Footer CTA (global) --- */
.pre-footer-cta {
    text-align: center;
    padding: var(--section-pad) 0;
    position: relative;
    border-top: 1px solid var(--border);
}

.pre-footer-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06), transparent 60%);
    pointer-events: none;
}

.pre-footer-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.pre-footer-cta__title em {
    font-style: normal;
    color: var(--accent);
}

.pre-footer-cta__desc {
    font-size: 0;
    color: transparent;
    line-height: 0;
    max-width: 480px;
    margin: 0 auto 1.75rem;
}

.pre-footer-cta__desc::before {
    content: 'See cited answers, corpus health, and the distillation path in one surface before you ever book a meeting.';
    display: block;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.pre-footer-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.9rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.pre-footer-cta__eyebrow::before,
.pre-footer-cta__eyebrow::after {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.65;
}

.pre-footer-cta__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .pre-footer-cta__actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin: 0 auto;
    }

    .pre-footer-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* --- Page Hero (inner pages) --- */
.page-hero {
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-height) + 3rem) 0 3rem;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 100%);
}

.page-hero__breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.page-hero__breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.page-hero__breadcrumb a:hover {
    color: var(--cyan);
}

.page-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.page-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-secondary);
    max-width: 560px;
}

.page-hero__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.page-hero__richtext {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 60ch;
    line-height: 1.7;
}

.page-hero__richtext p { margin-bottom: 0.5rem; }

.page-hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.4rem;
}

.page-hero__actions .btn {
    min-width: 214px;
    justify-content: center;
}

.page-hero__signals {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.page-hero__signal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Hero background image modifier */
.page-hero--has-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.page-hero--has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0.88) 0%,
        rgba(10, 15, 28, 0.65) 40%,
        rgba(10, 15, 28, 0.85) 100%
    );
    z-index: 0;
}

.page-hero--has-bg > .container {
    position: relative;
    z-index: 1;
}

/* --- About Page Specific --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text p + p {
    margin-top: 1rem;
}

.about-sidebar {
    position: relative;
}

.about-sidebar__box {
    background: var(--glass-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

/* --- Team Grid --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.team-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.35s var(--ease);
}

.team-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.team-card--founder {
    border-color: rgba(201, 168, 76, 0.12);
    background: rgba(201, 168, 76, 0.03);
}

.team-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(201, 168, 76, 0.12));
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--cyan);
    border: 2px solid rgba(201, 168, 76, 0.15);
}

.team-card__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-bright);
    margin-bottom: 0.2rem;
}

.team-card__role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.team-card__meta {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.team-card__bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-card__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.team-card__stats span {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    background: rgba(201, 168, 76, 0.05);
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.team-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
}

.team-card__link,
.team-card__linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: var(--cyan);
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 100px;
    transition: all 0.25s;
}

.team-card__link {
    color: var(--text-bright);
    background: rgba(255, 255, 255, 0.04);
}

.team-card__link:hover,
.team-card__linkedin:hover {
    background: rgba(201, 168, 76, 0.08);
    border-color: rgba(201, 168, 76, 0.3);
}

.team-card__photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-card__linkedin svg {
    width: 14px;
    height: 14px;
}

.profile-hero__summary {
    max-width: 840px;
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 1rem;
}

.profile-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.profile-hero__meta span {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-secondary);
    font-size: 0.78rem;
}

.profile-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.25rem;
}

.profile-stat-box {
    min-width: 180px;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(201, 168, 76, 0.12);
    background: rgba(201, 168, 76, 0.04);
}

.profile-stat-box__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.profile-stat-box__value {
    font-family: var(--font-display);
    color: var(--text-bright);
    font-size: 1.15rem;
}

.profile-link-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

/* --- Locations --- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.location-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.location-card__icon {
    width: 36px;
    height: 36px;
    color: var(--cyan);
    flex-shrink: 0;
    padding: 8px;
    background: rgba(201, 168, 76, 0.06);
    border-radius: var(--radius-sm);
}

.location-card__name {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.25rem;
}

.location-card__address {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Service Detail (full page) --- */
.service-detail {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3rem);
    position: relative;
    overflow: hidden;
}

.service-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--cyan), var(--teal));
}

.service-detail__icon {
    width: 52px;
    height: 52px;
    color: var(--cyan);
    padding: 12px;
    background: rgba(201, 168, 76, 0.06);
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.service-detail__icon svg {
    width: 100%;
    height: 100%;
}

.service-detail__title {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.service-detail__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- EaaS Callout --- */
.eaas-callout {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.04), rgba(201, 168, 76, 0.04));
    border: 1px solid rgba(201, 168, 76, 0.12);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3.5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.eaas-callout__title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.eaas-callout__desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.eaas-callout__roles {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.eaas-callout__role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    padding: 0.3rem 0.7rem;
    background: rgba(201, 168, 76, 0.06);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 100px;
    letter-spacing: 0.03em;
}

/* --- Contact Form --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-group label .required {
    color: var(--cyan);
    margin-left: 0.15rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text);
    background: rgba(201, 168, 76, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.25s var(--ease);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
    background: rgba(201, 168, 76, 0.05);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-dim);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23506480' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
}

.form-select option {
    background: var(--bg-section);
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--cyan);
    margin-top: 2px;
    flex-shrink: 0;
}

.form-checkbox span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.form-message {
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    display: none;
}

.form-message--success {
    display: block;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.form-message--error {
    display: block;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}

/* Contact info panel */
.contact-info {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 3vw, 2rem);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.contact-info__item:last-child {
    border-bottom: none;
}

.contact-info__icon {
    width: 20px;
    height: 20px;
    color: var(--cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info__label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-info__value {
    font-size: 0.9rem;
    color: var(--text);
}

.contact-info__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.contact-info__social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: all 0.25s ease;
}

.contact-info__social-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.contact-info__social-link:hover {
    color: var(--accent);
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.06);
}

/* --- Login Page --- */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: calc(var(--nav-height) + 2rem) var(--content-pad) 2rem;
}

.login-card {
    width: 100%;
    max-width: 440px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.login-card__logo {
    width: 48px;
    height: 48px;
    color: var(--cyan);
    margin: 0 auto 1.25rem;
}

.login-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.35rem;
}

.login-card__subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.login-card__notice {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: var(--radius);
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.login-card__notice a {
    color: var(--cyan);
}

.login-card__links {
    margin-top: 1.25rem;
    text-align: center;
}

.login-card__link {
    font-size: 0.82rem;
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.2s;
}

.login-card__link:hover {
    color: var(--text-bright);
}

/* Alerts */
.alert {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.alert--error {
    background: rgba(255, 80, 80, 0.08);
    border: 1px solid rgba(255, 80, 80, 0.2);
    color: #ff6b6b;
}

.alert--success {
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--accent);
}

.alert svg {
    flex-shrink: 0;
}

/* --- Consulting Hero (image + text side-by-side) --- */
.consulting-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.consulting-hero__image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.consulting-hero--poster .consulting-hero__image {
    border-radius: 0;
    overflow: visible;
    aspect-ratio: auto;
}

.consulting-hero__image-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(12, 18, 32, 0.94), rgba(7, 10, 19, 0.98));
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.consulting-hero__image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 32%, transparent 72%, rgba(114, 230, 255, 0.08));
    pointer-events: none;
    z-index: 1;
}

.consulting-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.consulting-hero__image-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(114, 230, 255, 0.18);
    background: rgba(5, 10, 20, 0.82);
    color: #72e6ff;
    font-family: var(--font-mono);
    font-size: 0.64rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.consulting-hero__image-note {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    max-width: 26rem;
    padding: 0.85rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 10, 20, 0.82);
    color: rgba(231, 237, 245, 0.82);
    font-size: 0.84rem;
    line-height: 1.6;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.consulting-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.consulting-hero__content .section__title {
    text-align: left;
}

.consulting-hero__content .section__label {
    justify-content: flex-start;
}

.consulting-hero__content .section__label::before {
    display: none;
}

.consulting-hero__content .cms-content {
    color: var(--text);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* --- How It Works --- */
.how-it-works {
    position: relative;
    counter-reset: step-counter;
}

.how-it-works__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.how-it-works__step {
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    counter-increment: step-counter;
}

.how-it-works__connector {
    position: absolute;
    top: 3.75rem;
    right: -1rem;
    width: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.how-it-works__connector svg {
    color: var(--accent);
    opacity: 0.4;
}

.how-it-works__step:last-child .how-it-works__connector {
    display: none;
}

.how-it-works__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(201, 168, 76, 0.15);
    transition: all 0.4s var(--ease);
}

.how-it-works__step:hover .how-it-works__number {
    background: var(--accent-glow-strong);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: scale(1.1);
}

.how-it-works__number::before {
    content: counter(step-counter);
}

.how-it-works__icon {
    width: 32px;
    height: 32px;
    margin: 0 auto 0.75rem;
    color: var(--copper);
    opacity: 0.7;
}

.how-it-works__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.how-it-works__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 220px;
    margin: 0 auto;
}

/* --- ROI Calculator --- */
.roi-calc {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 960px;
    margin: 0 auto;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

.roi-calc__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.roi-calc__sliders {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roi-slider {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.roi-slider__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.roi-slider__label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
}

.roi-slider__value {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.roi-slider input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--fill, 50%), var(--surface-raised) var(--fill, 50%), var(--surface-raised) 100%);
    outline: none;
    cursor: pointer;
}

.roi-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 10px var(--accent-glow-strong);
    cursor: grab;
    transition: box-shadow 0.2s var(--ease);
}

.roi-slider input[type="range"]::-webkit-slider-thumb:hover {
    box-shadow: 0 0 20px var(--accent-glow-strong), 0 0 40px var(--accent-glow);
}

.roi-slider input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    border: 3px solid var(--bg);
    box-shadow: 0 0 10px var(--accent-glow-strong);
    cursor: grab;
}

.roi-outputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.roi-output {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.25rem;
    text-align: center;
    transition: border-color 0.3s var(--ease);
}

.roi-output:first-child {
    grid-column: span 2;
    border-color: rgba(201, 168, 76, 0.15);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.04), transparent);
}

.roi-output__label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.roi-output__value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    transition: transform 0.2s var(--ease-bounce);
}

.roi-output:first-child .roi-output__value {
    font-size: 2.25rem;
}

.roi-output__value--pulse {
    animation: roi-pulse 0.35s var(--ease-bounce);
}

@keyframes roi-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

.roi-calc__cta {
    margin-top: 2rem;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.roi-calc__cta-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* --- Footer --- */
.footer {
    position: relative;
    z-index: 1;
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 1.5rem 0 0;
}

.footer__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-pad);
    display: grid;
    grid-template-columns: 1.4fr repeat(5, 1fr);
    gap: 1.25rem;
}

.footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 0.5rem;
}

.footer__logo-img {
    height: 38px;
    width: auto;
    border-radius: 6px;
    padding: 0;
    background: none;
    border: 1px solid rgba(201, 168, 76, 0.2);
    object-fit: contain;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer__logo:hover .footer__logo-img {
    border-color: rgba(201, 168, 76, 0.45);
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.1);
}

.footer__tagline {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    max-width: 320px;
}

.footer__eyebrow {
    margin: 0.85rem 0 0.35rem;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.footer__note {
    max-width: 320px;
    margin-bottom: 0.85rem;
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(201, 168, 76, 0.22);
    background: rgba(201, 168, 76, 0.08);
    color: var(--text-bright);
    font-size: 0.78rem;
    font-weight: 600;
    transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.footer__cta:hover {
    transform: translateY(-2px);
    border-color: rgba(201, 168, 76, 0.4);
    background: rgba(201, 168, 76, 0.14);
    color: var(--text-bright);
}

.footer__certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.6rem;
}

.footer__cert {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-mono);
    font-size: 0.58rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.footer__cert svg {
    width: 12px;
    height: 12px;
}

.footer__heading {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer__links a {
    font-size: 0.74rem;
    color: var(--text-muted);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: var(--accent);
}

.footer__email {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--accent);
    margin-bottom: 0.6rem;
    word-break: break-all;
}

.footer__social {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
}

.footer__social-link {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    transition: all 0.25s;
}

.footer__social-link svg {
    width: 12px;
    height: 12px;
}

.footer__social-link:hover {
    color: var(--accent);
    border-color: rgba(201, 168, 76, 0.25);
    background: rgba(201, 168, 76, 0.05);
}

.footer__locations {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.footer__location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    color: var(--text-muted);
}

.footer__location svg {
    flex-shrink: 0;
    width: 11px;
    height: 11px;
}

.footer__proof-card {
    margin-top: 0.5rem;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 168, 76, 0.08);
    background: rgba(201, 168, 76, 0.04);
}

.footer__proof-label {
    font-family: var(--font-mono);
    font-size: 0.56rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.25rem;
}

.footer__proof-title {
    font-size: 0.72rem;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 0.3rem;
}

.footer__proof-title-link:hover .footer__proof-title {
    color: var(--accent);
}

.footer__proof-link {
    font-family: var(--font-mono);
    font-size: 0.62rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer__bottom {
    max-width: var(--max-width);
    margin: 1rem auto 0;
    padding: 0.75rem var(--content-pad);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer__bottom p {
    font-size: 0.68rem;
    color: var(--text-dim);
}

.footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: var(--text-dim);
}

.footer__legal-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.68rem;
}
.footer__legal-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}
.footer__legal-links a:hover {
    color: var(--accent);
}
.footer__legal-sep {
    color: var(--text-dim);
    opacity: 0.4;
}

.footer__partner-label {
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

.footer__partner {
    color: var(--text-muted);
}

/* Flagship Pages */
.flagship-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding: 0.35rem 0.8rem;
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 999px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.flagship-stat-box {
    padding: 2rem;
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.96), rgba(10, 22, 40, 0.82));
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.flagship-stat-box__value {
    margin-top: 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.8rem);
    line-height: 1;
    color: var(--text-bright);
    letter-spacing: -0.04em;
}

.flagship-stat-box__body {
    margin-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.flagship-card-grid,
.flagship-capability-grid,
.flagship-faqs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.flagship-card,
.flagship-capability,
.flagship-faq {
    position: relative;
    padding: 1.6rem;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.flagship-card__number {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
}

.flagship-card__title,
.flagship-capability__title,
.flagship-faq__question,
.flagship-split__title {
    margin-bottom: 0.75rem;
    color: var(--text-bright);
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.2;
}

.flagship-card__body,
.flagship-capability__body,
.flagship-faq__answer {
    color: var(--text-secondary);
    line-height: 1.75;
}

.flagship-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.flagship-list {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    list-style: none;
}

.flagship-list__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer__partner-sep {
    opacity: 0.3;
}

.directory-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.directory-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.directory-filter:hover,
.directory-filter--active {
    border-color: rgba(201, 168, 76, 0.45);
    color: var(--text-primary);
    background: rgba(201, 168, 76, 0.12);
}

.resource-card__preview {
    width: 100%;
    min-height: 168px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1rem;
}

.resource-card__preview img {
    width: 100%;
    height: 100%;
    min-height: 168px;
    object-fit: cover;
}

.resource-icon {
    width: 72px;
    height: 72px;
}

.resource-icon--pdf {
    color: #ff6b6b;
}

.resource-icon--doc,
.resource-icon--docx {
    color: #66b3ff;
}

.resource-icon--xls,
.resource-icon--xlsx {
    color: #4ade80;
}

.resource-icon--ppt,
.resource-icon--pptx {
    color: #fbbf24;
}

.resource-icon--zip {
    color: #cbd5e1;
}

.resource-icon--mp4,
.resource-icon--webm,
.resource-icon--mp3,
.resource-icon--ogg {
    color: #a78bfa;
}

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

.resource-hero__preview {
    min-height: 280px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 1.5rem;
}

.resource-hero__preview--wide {
    min-height: 340px;
}

.resource-hero__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.resource-hero__content {
    display: grid;
    gap: 1rem;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.resource-meta span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

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

.blog-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.6rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    text-decoration: none;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.blog-card__media {
    width: 100%;
    height: 190px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.blog-card__title {
    color: var(--text-bright);
    font-size: 1.35rem;
    line-height: 1.2;
}

.blog-card__excerpt {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: auto;
}

.newsletter-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
    gap: 2rem;
    padding: clamp(1.5rem, 3vw, 2.4rem);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(16px);
}

.newsletter-note {
    display: inline-flex;
    padding: 0.8rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    line-height: 1.6;
}

.newsletter-form {
    display: grid;
    gap: 1rem;
}

.newsletter-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.newsletter-form .form-group {
    display: grid;
    gap: 0.45rem;
}

.newsletter-form label {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.newsletter-feedback {
    margin-top: 0.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cms-content--narrow {
    max-width: 840px;
    margin: 0 auto;
}

/* Legal Document Styles */
.legal-doc {
    max-width: 840px;
    margin: 0 auto;
    line-height: 1.75;
}
.legal-doc h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 2.5rem 0 0.75rem;
    color: var(--heading-color);
}
.legal-doc h3 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--heading-color);
}
.legal-doc p {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}
.legal-doc ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-doc ul li {
    margin-bottom: 0.35rem;
    color: var(--text-secondary);
}
.legal-doc a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(201, 169, 97, 0.3);
    text-underline-offset: 2px;
}
.legal-doc a:hover {
    text-decoration-color: var(--accent);
}
.legal-doc code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--glass-bg);
    padding: 0.15em 0.4em;
    border-radius: 4px;
}
.legal-doc__effective {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 2rem;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
    text-align: left;
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}
.legal-table th {
    font-weight: 600;
    color: var(--heading-color);
    background: var(--glass-bg);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.legal-table td {
    color: var(--text-secondary);
}

.footer__social-page-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer__social-page-link:hover {
    color: var(--cyan);
}

.module-status-card {
    padding: clamp(1.75rem, 3vw, 2.4rem);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.module-status-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.directory-filter span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    font-size: 0.72rem;
}

.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.4rem;
}

.social-feed-grid--featured {
    margin-bottom: 0.5rem;
}

.social-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 100%;
    padding: 1.6rem;
    border-radius: 26px;
    border: 1px solid var(--stats-bar-border);
    background:
        linear-gradient(180deg, var(--card-gradient-start), var(--card-gradient-end)),
        var(--card-composite-bg);
}

.social-card--featured {
    border-color: rgba(201, 168, 76, 0.2);
    background:
        linear-gradient(180deg, rgba(201, 168, 76, 0.12), var(--card-gradient-end)),
        var(--card-composite-bg);
}

.social-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-card__platform {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.social-card__icon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    color: var(--cyan);
}

.social-card__icon svg {
    width: 100%;
    height: 100%;
}

.social-card__date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.social-card__title {
    color: var(--text-bright);
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.14;
}

.social-card__embed {
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
}

.social-card__embed iframe {
    display: block;
    width: 100%;
    border: 0;
}

.social-embed__frame--youtube {
    aspect-ratio: 16 / 9;
    min-height: 220px;
}

.social-embed__frame--linkedin {
    min-height: 420px;
}

.social-embed__frame--facebook {
    min-height: 620px;
}

.social-card__embed .twitter-tweet,
.social-card__embed .instagram-media,
.social-card__embed .bluesky-embed {
    margin: 0 !important;
    width: 100% !important;
    min-width: 0 !important;
}

.social-card__preview {
    color: var(--text-secondary);
    line-height: 1.8;
}

.social-card__preview--clamped {
    max-height: 10rem;
    overflow: hidden;
}

.social-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--cyan);
    font-weight: 600;
}

/* --- Utility --- */
.text-gradient {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* --- Cross-Site Navigation Strip --- */
.crossnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--crossnav-bg);
    border-bottom: 1px solid rgba(201, 168, 76, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.crossnav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--content-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
}

.crossnav__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.crossnav__logo img {
    height: 22px;
    width: auto;
    transition: filter 0.3s ease;
}

/* Dark mode: invert dark navy logo to white */
[data-theme="dark"] .crossnav__logo img {
    filter: brightness(0) invert(1);
}

.crossnav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.crossnav__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--crossnav-link-text);
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid var(--crossnav-link-border);
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.crossnav__link svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.crossnav__link:hover {
    color: var(--accent);
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.06);
}

.crossnav__link--active {
    background: var(--accent);
    color: var(--bg-deep);
    border-color: var(--accent);
    font-weight: 700;
}

.crossnav__link--active:hover {
    background: var(--accent-bright);
    color: var(--bg-deep);
    border-color: var(--accent-bright);
}

.crossnav__divider {
    display: none;
}

@media (max-width: 767px) {
    .crossnav__logo {
        display: none;
    }
    .crossnav__inner {
        justify-content: center;
    }
    .crossnav__link {
        font-size: 0.67rem;
        padding: 0.25rem 0.65rem;
    }
}

/* --- Jazz Noir — Floating Pill Nav & Layout Overrides --- */

body {
    background:
        radial-gradient(circle at 14% 16%, rgba(201, 168, 76, 0.06), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(0, 212, 255, 0.05), transparent 28%),
        linear-gradient(180deg, var(--body-gradient-1) 0%, var(--body-gradient-2) 34%, var(--body-gradient-3) 100%);
}

.bg-grid {
    background-image:
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: 72px 72px;
}

.nav {
    padding: 0.75rem clamp(1rem, 2vw, 1.5rem) 0;
    height: auto;
}

.nav__inner {
    max-width: calc(var(--max-width) + (var(--content-pad) * 2));
    margin: 0 auto;
    min-height: 78px;
    padding: 0.75rem 1.2rem;
    border: 1px solid var(--nav-pill-border);
    border-radius: 999px;
    background: var(--nav-pill-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.nav--scrolled {
    background: transparent;
    border-bottom: none;
    box-shadow: none;
}

.nav__logo-img {
    height: 72px;
    border-radius: 8px;
    padding: 0;
}

.nav__link,
.nav__login {
    position: relative;
    padding: 0.6rem 0.95rem;
    border-radius: 999px;
}

.nav__link:hover,
.nav__link--active {
    background: var(--nav-link-hover-bg);
}

/* Dropdown in pill nav */
.nav__link--has-dropdown {
    border-radius: 999px;
}

.nav__dropdown-menu {
    border-radius: var(--radius, 12px);
}

.nav__menu a[href="contact.php"] {
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.16), rgba(201, 168, 76, 0.08));
    border: 1px solid rgba(201, 168, 76, 0.25);
    color: var(--text-bright);
}

.page-hero {
    padding: calc(var(--nav-height) + 5rem) 0 3rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(201, 168, 76, 0.06), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent);
}

.page-hero__title {
    max-width: 14ch;
}

.page-hero__subtitle {
    max-width: 60ch;
}

.btn {
    border-radius: 999px;
}

.btn--primary {
    background: linear-gradient(135deg, #c9a84c 0%, #e6c65a 48%, #b89a42 100%);
    color: #0a0f1e;
    box-shadow: 0 10px 24px rgba(201, 168, 76, 0.18);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(201, 168, 76, 0.22);
}

.btn--outline,
.btn--ghost {
    border-color: var(--outline-btn-border);
    background: var(--outline-btn-bg);
}

.hero {
    padding: calc(var(--nav-height) + 5rem) 0 3.5rem;
    min-height: auto;
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.86fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.hero__content {
    max-width: 760px;
    padding: clamp(1.5rem, 2vw, 2rem) 0;
}

.page-home .hero__title {
    max-width: 12ch;
    font-size: clamp(2.2rem, 4.8vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero__description {
    max-width: 62ch;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hero__positioning {
    max-width: 58ch;
    margin-top: 1.1rem;
    color: var(--hero-positioning-text);
    font-size: 1.03rem;
    line-height: 1.75;
}

.hero__actions {
    margin-top: 1.6rem;
    flex-wrap: wrap;
}

.hero__trust {
    margin-top: 2rem;
    display: grid;
    gap: 0.85rem;
}

.hero__trust-label,
.hero__client-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero__trust-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.hero__trust-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.72rem 0.95rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    font-size: 0.9rem;
    white-space: nowrap;
}

.hero__client-row {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.75rem;
}

.hero__client-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero__client-list a {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}

.hero-proof {
    margin-top: 1.7rem;
    display: grid;
    gap: 1rem;
}

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

.hero-proof__credential,
.hero-proof__outcome {
    padding: 1rem 1rem 0.95rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.hero-proof__credential-label {
    display: block;
    color: var(--text-bright);
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.hero-proof__credential-meta,
.hero-proof__metric {
    display: block;
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.88rem;
}

.hero-proof__value {
    color: var(--text-bright);
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.hero-focus {
    position: relative;
    padding: 1.5rem;
    border-radius: 28px;
    border: 1px solid var(--stats-bar-border);
    background:
        linear-gradient(180deg, var(--card-gradient-start), var(--card-gradient-end)),
        var(--hero-focus-bg);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    box-shadow: 0 30px 65px rgba(0, 0, 0, 0.2);
}

.hero-focus::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.38), transparent 45%, rgba(201, 168, 76, 0.24));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.hero-focus__header {
    margin-bottom: 1.2rem;
}

.hero-focus__eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.65rem;
}

.hero-focus__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1.1;
    color: var(--text-bright);
}

.hero-focus__tabs {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-focus__tab {
    border: 0;
    cursor: pointer;
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    font: inherit;
    font-size: 0.92rem;
    transition: all var(--transition-base);
}

.hero-focus__tab:hover,
.hero-focus__tab.is-active {
    background: rgba(201, 168, 76, 0.16);
    color: var(--text-bright);
}

.hero-focus__panes {
    min-height: 270px;
}

.hero-focus__pane {
    display: none;
    gap: 0.9rem;
}

.hero-focus__pane.is-active {
    display: grid;
}

.hero-focus__kicker {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--text-muted);
}

.hero-focus__pane h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.08;
    color: var(--text-bright);
}

.hero-focus__pane p {
    color: var(--text-secondary);
    line-height: 1.75;
}

.hero-focus__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.hero-focus__meta span,
.hero-focus__footer-link {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
}

.hero-focus__link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-bright);
    font-weight: 600;
}

.hero-focus__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-signal {
    position: relative;
    z-index: 2;
    margin-top: 2.2rem;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.015);
}

.hero-signal__track {
    display: flex;
    width: max-content;
    animation: signal-scroll 28s linear infinite;
}

.hero-signal__item {
    position: relative;
    padding: 0.95rem 1.4rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero-signal__item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.5);
    transform: translateY(-50%);
}

@keyframes signal-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero__visual {
    opacity: 0.55;
    right: -8%;
    top: 12%;
}

.stats-bar {
    margin-top: -1.4rem;
    padding: 0 0 var(--section-pad);
    background: transparent;
}

.stats-bar__grid {
    background: var(--stats-bar-bg);
    border: 1px solid var(--stats-bar-border);
    border-radius: 28px;
    backdrop-filter: blur(18px);
    overflow: hidden;
}

.stats-bar__item {
    min-height: 154px;
    padding: 1.6rem 1.2rem;
}

.stats-bar__value {
    font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.section__header {
    margin-bottom: clamp(2.4rem, 4vw, 4rem);
}

.section__subtitle {
    max-width: 680px;
}

.services-grid,
.proof-grid,
.blog-grid {
    gap: 1.4rem;
}

.service-card,
.testimonial-card,
.case-study-card,
.blog-card {
    border-radius: 26px;
}

.service-card {
    padding: 1.55rem;
    background:
        linear-gradient(180deg, var(--card-gradient-start), var(--card-gradient-end)),
        var(--card-composite-bg);
}

.service-card__title {
    font-size: 1.28rem;
}

.service-card__tagline {
    color: var(--text);
}

.service-card__cta {
    margin-top: 0.8rem;
}

.spotlight,
.event-recap,
.footer__proof-card {
    border-radius: 28px;
}

.client-strip {
    gap: 0.8rem;
    flex-wrap: wrap;
}

.client-logo {
    min-width: auto;
    padding: 0.95rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.footer {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent),
        #050d16;
}

.footer__grid {
    gap: 1.25rem;
}

.resource-card__preview,
.blog-card__media,
.resource-hero__preview {
    background: rgba(255, 255, 255, 0.025);
}

/* ============================================
   HOMEPAGE REDESIGN — New Components
   ============================================ */

/* --- Particle Canvas --- */
.hero__particles {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero__circuit-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 100h60M120 100h60M100 20v60M100 120v60' stroke='%2300c8ff' stroke-width='0.5' fill='none'/%3E%3Ccircle cx='100' cy='100' r='3' fill='%2300c8ff' opacity='0.4'/%3E%3Ccircle cx='20' cy='100' r='2' fill='%2300c8ff' opacity='0.3'/%3E%3Ccircle cx='180' cy='100' r='2' fill='%2300c8ff' opacity='0.3'/%3E%3Ccircle cx='100' cy='20' r='2' fill='%2300c8ff' opacity='0.3'/%3E%3Ccircle cx='100' cy='180' r='2' fill='%2300c8ff' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* --- Glowing CTA Button --- */
.btn--glow {
    box-shadow:
        0 4px 20px rgba(201, 168, 76, 0.2),
        0 0 30px rgba(201, 168, 76, 0.15),
        0 0 60px rgba(201, 168, 76, 0.05);
    animation: glow-pulse 3s ease-in-out infinite;
}

.btn--glow:hover {
    box-shadow:
        0 4px 20px rgba(201, 168, 76, 0.3),
        0 0 40px rgba(201, 168, 76, 0.25),
        0 0 80px rgba(201, 168, 76, 0.1);
}

/* --- Compact Trust Bar --- */
.hero__trust-compact {
    margin-top: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.hero__trust-compact span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.02);
}

/* --- Scroll Indicator --- */
.hero__scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scroll-line 2s ease-in-out infinite;
}

/* --- Video Showcase --- */
.video-showcase {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

.video-showcase__frame {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-hover);
    background: var(--bg-deep);
}

.video-showcase__frame iframe,
.video-showcase__frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-showcase__glow {
    position: absolute;
    inset: -20px;
    z-index: -1;
    border-radius: var(--radius-xl);
    background: radial-gradient(ellipse, rgba(201, 168, 76, 0.06), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.video-showcase__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s var(--ease);
    z-index: 2;
}

.video-showcase__play:hover {
    background: rgba(0, 0, 0, 0.2);
}

.video-showcase__play-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.35);
    transition: all 0.3s var(--ease);
}

.video-showcase__play:hover .video-showcase__play-icon {
    transform: scale(1.08);
    box-shadow: 0 0 60px rgba(201, 168, 76, 0.5);
}

.video-showcase__play-icon svg {
    width: 28px;
    height: 28px;
    margin-left: 3px;
    fill: var(--bg);
}

.video-showcase__thumb {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-showcase__cta {
    text-align: center;
    margin-top: 2rem;
}

/* --- Bento Grid --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.bento-card--featured {
    grid-column: span 2;
    position: relative;
}

.bento-card--featured .service-card {
    background:
        linear-gradient(135deg, rgba(201, 168, 76, 0.04), rgba(201, 168, 76, 0.02)),
        linear-gradient(180deg, var(--card-gradient-start), var(--card-gradient-end)),
        var(--card-composite-bg);
    border-color: rgba(201, 168, 76, 0.12);
}

.bento-card--featured .service-card__icon {
    width: 48px;
    height: 48px;
}

.bento-card--featured .service-card__icon svg {
    width: 28px;
    height: 28px;
}

.bento-card--featured .service-card__title {
    font-size: 1.45rem;
}

.bento-card--featured::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(201, 168, 76, 0.04) 0%, transparent 70%);
    pointer-events: none;
    border-radius: var(--radius-lg);
}

/* --- Platform Hub (Three Pillars) --- */
.platform-hub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.platform-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, var(--card-gradient-start), var(--card-gradient-end)),
        var(--card-composite-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    color: var(--text);
    transition: all 0.4s var(--ease);
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.platform-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at top, rgba(201, 168, 76, 0.04), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.platform-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.08);
}

.platform-card:hover::before,
.platform-card:hover::after {
    opacity: 1;
}

.platform-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(201, 168, 76, 0.08);
    margin-bottom: 1.25rem;
    color: var(--accent);
}

.platform-card__icon svg {
    width: 22px;
    height: 22px;
}

.platform-card__label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.platform-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.platform-card__desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}

.platform-card__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.platform-card__status--active {
    color: #4ade80;
}

.platform-card__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
    animation: pulse-dot 2s ease-in-out infinite;
}

.platform-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s var(--ease);
}

.platform-card:hover .platform-card__cta {
    gap: 0.65rem;
}

@media (max-width: 1024px) {
    .platform-hub {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* --- Product Explorer --- */
.explorer {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    min-height: 460px;
}

.explorer__sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.explorer__tab {
    text-align: left;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.85rem;
}

.explorer__tab:hover {
    border-color: var(--border);
    background: rgba(201, 168, 76, 0.02);
}

.explorer__tab.is-active {
    background: rgba(201, 168, 76, 0.05);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 0 25px rgba(201, 168, 76, 0.04);
}

.explorer__tab-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(201, 168, 76, 0.06);
    margin-bottom: 0.5rem;
    color: var(--cyan);
}

.explorer__tab-icon svg {
    width: 16px;
    height: 16px;
}

.explorer__tab-label {
    display: block;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 0.2rem;
}

.explorer__tab-desc {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.explorer__content {
    position: relative;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--glass-bg);
    padding: 2rem;
    overflow: hidden;
}

.explorer__pane {
    display: none;
}

.explorer__pane.is-active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    animation: explorer-fade 0.4s var(--ease-out);
}

.explorer__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

/* Explorer Diagram - animated network visualization */
.explorer__diagram {
    position: relative;
    width: 260px;
    height: 260px;
}

.explorer__diagram-node {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cyan);
}

.explorer__diagram-node--center {
    width: 48px;
    height: 48px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, var(--cyan-dark), var(--cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--bg);
    letter-spacing: 0.05em;
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.25);
}

.explorer__diagram-node:nth-child(2) { top: 10%; left: 50%; transform: translateX(-50%); opacity: 0.6; }
.explorer__diagram-node:nth-child(3) { top: 30%; right: 8%; opacity: 0.5; }
.explorer__diagram-node:nth-child(4) { bottom: 30%; right: 8%; opacity: 0.4; }
.explorer__diagram-node:nth-child(5) { bottom: 10%; left: 50%; transform: translateX(-50%); opacity: 0.5; }
.explorer__diagram-node:nth-child(6) { bottom: 30%; left: 8%; opacity: 0.6; }
.explorer__diagram-node:nth-child(7) { top: 30%; left: 8%; opacity: 0.4; }

.explorer__diagram-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.08);
}

.explorer__diagram-ring:nth-of-type(1) {
    width: 120px; height: 120px;
    transform: translate(-50%, -50%);
}
.explorer__diagram-ring:nth-of-type(2) {
    width: 180px; height: 180px;
    transform: translate(-50%, -50%);
}
.explorer__diagram-ring:nth-of-type(3) {
    width: 240px; height: 240px;
    transform: translate(-50%, -50%);
}

.explorer__details h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
}

.explorer__details p {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

.explorer__features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.explorer__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.explorer__feature-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.explorer__feature-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: var(--cyan);
    margin-top: 2px;
}

/* --- Results Tabs (Proof Section) --- */
.results-tabs {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    padding: 0.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.results-tab {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s var(--ease);
}

.results-tab:hover {
    color: var(--text-bright);
}

.results-tab.is-active {
    background: rgba(201, 168, 76, 0.08);
    color: var(--cyan);
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.04);
}

.results-pane {
    display: none;
    animation: explorer-fade 0.35s var(--ease-out);
}

.results-pane.is-active {
    display: block;
}

/* --- Triple CTA Grid --- */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--glass-bg);
    text-decoration: none;
    color: var(--text);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.cta-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.06);
    color: var(--text);
}

.cta-card--primary {
    background:
        linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(201, 168, 76, 0.03)),
        var(--glass-bg);
    border-color: rgba(201, 168, 76, 0.15);
}

.cta-card--primary:hover {
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.1);
}

.cta-card__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(201, 168, 76, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--cyan);
}

.cta-card__icon svg {
    width: 22px;
    height: 22px;
}

.cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}

.cta-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.cta-card__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--cyan);
    transition: all 0.25s var(--ease);
    margin-top: auto;
}

.cta-card:hover .cta-card__arrow {
    background: rgba(201, 168, 76, 0.08);
    border-color: var(--border-hover);
    transform: translateX(3px);
}

.cta-card__arrow svg {
    width: 14px;
    height: 14px;
}

/* --- Enhanced Stats Bar --- */
.stats-bar--enhanced {
    position: relative;
}

.stats-bar--enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(201, 168, 76, 0.025) 0%,
        transparent 40%,
        rgba(201, 168, 76, 0.02) 100%);
    border-radius: inherit;
    pointer-events: none;
}

/* --- Event Card Glow Border --- */
.event-recap--glow {
    border: 1px solid rgba(201, 168, 76, 0.12);
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.04);
}

.event-recap--glow:hover {
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.06);
}

/* --- Signal Ticker Keyword Glow --- */
.hero-signal__item--glow {
    color: var(--cyan);
    text-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* --- CTA Section Multi --- */
.cta-section--multi {
    text-align: center;
}

.cta-section--multi .cta-section__title {
    margin-bottom: 2.5rem;
}

/* ── Wiki ── */
.wiki-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

/* Sidebar — glass panel */
.wiki-sidebar {
    position: sticky;
    top: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    overflow: hidden;
}
.wiki-sidebar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.2), transparent);
}
.wiki-sidebar__search {
    margin-bottom: 1.25rem;
    position: relative;
}
.wiki-sidebar__search input {
    width: 100%;
    padding: 0.6rem 0.85rem 0.6rem 2.25rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wiki-sidebar__search input::placeholder {
    color: var(--text-muted);
}
.wiki-sidebar__search input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}
.wiki-sidebar__search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.2s;
}
.wiki-sidebar__search input:focus ~ .wiki-sidebar__search-icon {
    color: var(--accent);
}
.wiki-sidebar__divider {
    height: 1px;
    background: linear-gradient(90deg, var(--border), transparent);
    margin: 0.75rem 0;
}
.wiki-sidebar__section {
    margin-top: 1.25rem;
}
.wiki-sidebar__title {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--copper);
    margin-bottom: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wiki-sidebar__title a {
    color: var(--copper);
    text-decoration: none;
    transition: color 0.2s;
}
.wiki-sidebar__title a:hover {
    color: var(--copper-bright);
}
.wiki-sidebar__count {
    font-size: 0.62rem;
    color: var(--text-dim);
    font-weight: 400;
    background: var(--surface);
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
}
.wiki-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.wiki-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s var(--ease);
    border: 1px solid transparent;
}
.wiki-sidebar__link:hover {
    color: var(--text-bright);
    background: var(--surface);
    border-color: var(--border);
}
.wiki-sidebar__link--active {
    color: var(--accent);
    background: var(--accent-glow);
    border-color: rgba(201, 168, 76, 0.12);
    font-weight: 600;
}

/* Wiki Grid — index listing */
.wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Wiki Card — glass treatment matching case-study-card */
.wiki-card {
    background: linear-gradient(180deg, rgba(9, 18, 33, 0.92), rgba(9, 18, 33, 0.82));
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s var(--ease);
}
.wiki-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}
.wiki-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at top, rgba(201, 168, 76, 0.04), transparent 70%);
    opacity: 0;
    transition: opacity 0.35s;
    pointer-events: none;
}
.wiki-card:hover {
    border-color: rgba(201, 168, 76, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(201, 168, 76, 0.06);
    background: linear-gradient(180deg, rgba(12, 24, 43, 0.95), rgba(9, 18, 33, 0.9));
}
.wiki-card:hover::before,
.wiki-card:hover::after {
    opacity: 1;
}
.wiki-card__image {
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    margin: -0.25rem -0.25rem 1rem -0.25rem;
    border: 1px solid var(--border);
}
.wiki-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.wiki-card:hover .wiki-card__image img {
    transform: scale(1.06);
}
.wiki-card__category {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--copper);
    background: var(--copper-glow);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    border: 1px solid rgba(212, 165, 116, 0.12);
    width: fit-content;
}
.wiki-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.wiki-card__excerpt {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.wiki-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    transition: gap 0.3s var(--ease);
}
.wiki-card:hover .wiki-card__link {
    gap: 0.65rem;
}
.wiki-card__link svg {
    transition: transform 0.3s var(--ease);
}
.wiki-card:hover .wiki-card__link svg {
    transform: translateX(3px);
}

/* Wiki Single Term View */
.wiki-main {
    min-width: 0;
}
.wiki-term__featured {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
    position: relative;
}
.wiki-term__featured::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg), transparent);
    pointer-events: none;
}
.wiki-term__featured img {
    width: 100%;
    height: auto;
    display: block;
}

/* Wiki content panel */
.wiki-content-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    position: relative;
    overflow: hidden;
}
.wiki-content-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.15), transparent);
}

/* Resources & Links — styled as cards */
.wiki-links {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}
.wiki-links__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.wiki-links__title::before {
    content: '';
    width: 3px;
    height: 1em;
    background: var(--accent);
    border-radius: 2px;
}
.wiki-links__list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.wiki-links__list li {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.wiki-links__list li:hover {
    border-color: var(--border-hover);
    background: var(--surface-raised);
}
.wiki-links__list a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}
.wiki-links__list a:hover {
    color: var(--accent-bright);
}
.wiki-links__list a svg {
    opacity: 0.5;
    transition: opacity 0.2s;
}
.wiki-links__list a:hover svg {
    opacity: 1;
}

/* Related terms — pill tags with glow */
.wiki-related {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}
.wiki-related__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.wiki-related__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border-hover);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s var(--ease);
}
.wiki-related__tag::before {
    content: '#';
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    transition: color 0.3s;
}
.wiki-related__tag:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 2px 12px var(--accent-glow);
    transform: translateY(-1px);
}
.wiki-related__tag:hover::before {
    color: var(--accent);
}

/* Search info bar */
.wiki-search-info {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wiki-search-info strong {
    color: var(--text-bright);
}
.wiki-search-info a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.2s var(--ease);
}
.wiki-search-info a:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
}

/* Wiki hero category badge (single term view) */
.wiki-hero__category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--copper);
    margin-bottom: 1rem;
}
.wiki-hero__category::before {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--copper);
    opacity: 0.5;
}

/* Wiki empty state */
.wiki-empty {
    text-align: center;
    padding: 3rem 1.5rem;
}
.wiki-empty__icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .wiki-layout {
        grid-template-columns: 1fr;
    }
    .wiki-sidebar {
        position: static;
        order: -1;
    }
    .wiki-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}
@media (max-width: 640px) {
    .wiki-grid {
        grid-template-columns: 1fr;
    }
    .nav__logo-img {
        height: 52px;
        padding: 0;
        border-radius: 8px;
    }
    .footer__logo-img {
        height: 32px;
        padding: 0;
        border-radius: 6px;
    }
}

/* ── Links ── */

/* Category Section */
.links-category-section {
    margin-bottom: 3.5rem;
}
.links-category-section:last-child {
    margin-bottom: 0;
}

/* Category Header */
.links-category-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.links-category-header__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    background: rgba(201, 168, 76, 0.07);
    border-radius: var(--radius);
    padding: 8px;
}
.links-category-header__icon svg {
    width: 100%;
    height: 100%;
}
.links-category-header__body {
    flex: 1;
    min-width: 0;
}
.links-category-header__name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-bright);
    margin: 0 0 0.25rem;
    letter-spacing: -0.01em;
}
.links-category-header__desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}
.links-category-header__count {
    flex-shrink: 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    align-self: center;
}

/* Links Grid */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

/* Link Card — glass treatment matching wiki-card */
.links-card {
    background:
        linear-gradient(180deg, rgba(9,18,33,0.92) 0%, rgba(12,22,38,0.88) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}
.links-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(112,210,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.links-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(201, 168, 76, 0.06);
}
.links-card:hover::before {
    opacity: 1;
}

/* Featured card accent glow */
.links-card--featured {
    border-color: rgba(201, 168, 76, 0.2);
}
.links-card--featured::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.04), transparent 70%);
    pointer-events: none;
}

/* Featured badge */
.links-card__badge {
    position: absolute;
    top: 0.65rem;
    right: 0.65rem;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-family: var(--font-mono, monospace);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent, #00E5A0);
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 999px;
    padding: 0.22rem 0.6rem 0.22rem 0.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    line-height: 1;
}

/* Card Image */
.links-card__image {
    width: 100%;
    border-radius: calc(var(--radius-lg) - 4px);
    overflow: hidden;
    margin-bottom: 0.75rem;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.03);
}
.links-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.links-card:hover .links-card__image img {
    transform: scale(1.04);
}

/* ── Link Detail Page ── */
.link-detail {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    align-items: flex-start;
}
.link-detail__media {
    flex: 0 0 380px;
    min-width: 0;
}
.link-detail__image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.25rem;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}
.link-detail__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.link-detail__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.link-detail__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.18);
    border-radius: 999px;
    padding: 0.28rem 0.7rem;
    white-space: nowrap;
}
.link-detail__pill strong {
    font-weight: 700;
    color: var(--text-bright);
}
.link-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}
.link-detail__tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.link-detail__tag:hover {
    color: var(--cyan);
    border-color: rgba(201, 168, 76, 0.35);
    background: rgba(201, 168, 76, 0.07);
}
.link-detail__content {
    flex: 1;
    min-width: 0;
}
.link-detail__commentary {
    margin-bottom: 2rem;
    padding: 1.4rem 1.4rem 1.4rem 1.6rem;
    border-left: 3px solid var(--cyan);
    background: rgba(201, 168, 76, 0.05);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.link-detail__commentary-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 0.6rem;
}
.link-detail__commentary .cms-content {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}
.link-detail__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    margin-top: 0.5rem;
}

@media (max-width: 820px) {
    .link-detail {
        flex-direction: column;
        gap: 2rem;
    }
    .link-detail__media {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 640px) {
    .links-grid {
        grid-template-columns: 1fr;
    }
    .links-category-header {
        flex-wrap: wrap;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   TECH RESOURCES
   ══════════════════════════════════════════════════════════════════════════ */

/* Resource type badge */
.tech-resource-badge {
    display: inline-block;
    font-family: var(--font-mono, monospace);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    padding: 0.2rem 0.45rem;
    line-height: 1;
}
.tech-resource-badge--model {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.12);
    border: 1px solid rgba(167, 139, 250, 0.25);
}
.tech-resource-badge--dataset {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.25);
}
.tech-resource-badge--guide {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
}
.tech-resource-badge--tool {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.25);
}
.tech-resource-badge--reference {
    color: var(--cyan);
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.22);
}

/* Card header row (badge + specs) */
.tech-resource-card__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}
.tech-resource-card__specs {
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

/* Detail page badges row */
.tech-resource-detail__badges {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

/* Detail page specs table */
.tech-resource-detail__specs {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg, 12px);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}
.tech-resource-detail__spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}
.tech-resource-detail__spec-row + .tech-resource-detail__spec-row {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.tech-resource-detail__spec-label {
    font-family: var(--font-mono, monospace);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.tech-resource-detail__spec-value {
    font-family: var(--font-mono, monospace);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-bright, #fff);
}

/* ============================================================
   PRODUCT DEMO STEPS
   ============================================================ */
.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.demo-step {
    display: grid;
    grid-template-columns: 3rem 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.demo-step--reverse {
    direction: rtl;
}

.demo-step--reverse > * {
    direction: ltr;
}

.demo-step__number {
    font-family: var(--font-display, 'Spectral', Georgia, serif);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent, #c9a84c);
    opacity: 0.5;
    line-height: 1;
    align-self: start;
    padding-top: 0.25rem;
}

.demo-step__screen {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-step__screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.demo-step__info {
    padding: 0.5rem 0;
}

.demo-step__info h3 {
    font-family: var(--font-display, 'Spectral', Georgia, serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-bright, #fff);
    margin-bottom: 0.75rem;
}

.demo-step__info p {
    color: var(--text-secondary, rgba(255,255,255,0.6));
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .demo-step,
    .demo-step--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .demo-step__number {
        font-size: 2.5rem;
    }
}

/* ============================================================
   INDUSTRY VERTICALS
   ============================================================ */
.industry-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.industry-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.2s, background 0.2s;
}

.industry-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    background: rgba(201, 168, 76, 0.03);
}

.industry-card--featured {
    border-color: rgba(201, 168, 76, 0.3);
    background: rgba(201, 168, 76, 0.04);
}

.industry-card--featured:hover {
    border-color: rgba(201, 168, 76, 0.5);
    background: rgba(201, 168, 76, 0.07);
}

.industry-card__label {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent, #c9a84c);
    align-self: flex-start;
}

.industry-card__icon {
    color: var(--accent, #c9a84c);
    opacity: 0.8;
}

.industry-card__title {
    font-family: var(--font-display, 'Spectral', Georgia, serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-bright, #fff);
    margin: 0;
}

.industry-card__desc {
    color: var(--text-secondary, rgba(255,255,255,0.6));
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

.industry-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.industry-card__list li {
    color: var(--text-secondary, rgba(255,255,255,0.55));
    font-size: 0.88rem;
    padding-left: 1.1rem;
    position: relative;
}

.industry-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent, #c9a84c);
    opacity: 0.6;
}

.industry-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent, #c9a84c);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.5rem;
    transition: gap 0.2s;
}

.industry-card__cta:hover {
    gap: 0.65rem;
}

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

/* ============================================
   TECH STACK GRID — Shared Pillar Page Component
   ============================================ */
.tech-stack { margin-top: 2rem; }
.tech-stack__category { margin-bottom: 1.5rem; }
.tech-stack__category:last-child { margin-bottom: 0; }
.tech-stack__category-label {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent, #c9a84c);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tech-stack__category-label::before {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--accent, #c9a84c);
}
.tech-stack__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.tech-stack__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    font-size: 0.78rem;
    color: var(--text-secondary, rgba(255,255,255,0.6));
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    transition: border-color 0.2s, color 0.2s;
}
.tech-stack__item:hover {
    border-color: rgba(201, 168, 76, 0.3);
    color: var(--text-bright, #fff);
}
.tech-stack__item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.tech-stack__item--accent {
    border-color: rgba(201, 168, 76, 0.25);
    color: var(--accent, #c9a84c);
}
.tech-stack__item--copper {
    border-color: rgba(0, 212, 255, 0.2);
    color: var(--copper, #00d4ff);
}
.tech-stack__item--green {
    border-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}
[data-theme="light"] .tech-stack__item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(120, 100, 60, 0.12);
}
[data-theme="light"] .tech-stack__item:hover {
    border-color: var(--accent);
}

/* ── Pillar Page Hero with Background Image ── */
.pillar-hero {
    position: relative;
    padding: 7rem 0 4.5rem;
    overflow: hidden;
}
.pillar-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.pillar-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pillar-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 15, 28, 0.88) 0%,
        rgba(10, 15, 28, 0.72) 40%,
        rgba(10, 15, 28, 0.92) 100%
    );
}
[data-theme="light"] .pillar-hero__bg::after {
    background: linear-gradient(
        180deg,
        rgba(250, 248, 243, 0.92) 0%,
        rgba(250, 248, 243, 0.78) 40%,
        rgba(250, 248, 243, 0.95) 100%
    );
}
.pillar-hero .container {
    position: relative;
    z-index: 1;
}
.pillar-hero__eyebrow {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.8rem;
    color: var(--accent, #c9a84c);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.pillar-hero__title {
    font-family: var(--font-display, Spectral, serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-bright, #fff);
    margin: 0 0 1.25rem;
    line-height: 1.15;
    max-width: 750px;
}
.pillar-hero__title em {
    font-style: normal;
    color: var(--accent, #c9a84c);
}
.pillar-hero__subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary, rgba(255,255,255,0.65));
    max-width: 660px;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.pillar-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.pillar-hero__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.pillar-hero__signal {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted, rgba(255,255,255,0.4));
    padding: 0.3rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}
.pillar-hero__signal svg {
    width: 10px;
    height: 10px;
    color: var(--accent, #c9a84c);
}

/* ── Consulting Map Section (numbered cards) ── */
.consulting-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.consulting-map__card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.consulting-map__card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.06);
}
.consulting-map__number {
    font-family: var(--font-display, Spectral, serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent, #c9a84c);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 0.75rem;
}
.consulting-map__title {
    font-family: var(--font-display, Spectral, serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright, #fff);
    margin-bottom: 0.5rem;
}
.consulting-map__desc {
    color: var(--text-secondary, rgba(255,255,255,0.6));
    font-size: 0.9rem;
    line-height: 1.65;
}
.consulting-map__tag {
    display: inline-block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.65rem;
    color: var(--copper, #00d4ff);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.15);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Tier Cards (compact pricing overview) ── */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.tier-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.tier-card:hover { border-color: rgba(201, 168, 76, 0.3); transform: translateY(-2px); }
.tier-card--featured { border-color: rgba(201, 168, 76, 0.3); background: rgba(201, 168, 76, 0.04); }
.tier-card__name {
    font-family: var(--font-display, Spectral, serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-bright, #fff);
    margin-bottom: 0.25rem;
}
.tier-card__price {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent, #c9a84c);
    margin-bottom: 0.5rem;
}
.tier-card__price span { font-size: 0.8rem; font-weight: 400; color: var(--text-muted); }
.tier-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary, rgba(255,255,255,0.6));
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.tier-card__cta {
    display: inline-block;
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent, #c9a84c);
    text-decoration: none;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
}
.tier-card__cta:hover { background: rgba(201, 168, 76, 0.1); }

@media (max-width: 768px) {
    .consulting-map { grid-template-columns: 1fr; }
    .tier-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .tier-grid { grid-template-columns: 1fr; }
}

/* ============================================
   DAYLIGHT SESSION — Light Theme
   Warm Ivory + Brass Gold | Jazz in afternoon light
   ============================================ */
[data-theme="light"] {
    /* Backgrounds — Warm Ivory Foundation */
    --bg: #faf8f4;
    --bg-deep: #f4f1eb;
    --bg-section: #f0ece5;
    --bg-section-alt: #eae5dd;
    --bg-card: rgba(255, 255, 255, 0.82);
    --bg-card-solid: #ffffff;
    --bg-card-hover: #f8f5ef;
    --surface: #f4f1eb;
    --surface-raised: #ffffff;

    /* Borders — Warm gold-tinted */
    --border: rgba(160, 130, 60, 0.12);
    --border-subtle: rgba(120, 100, 60, 0.08);
    --border-hover: rgba(160, 130, 60, 0.30);
    --border-active: rgba(160, 130, 60, 0.55);

    /* Text — Deep warm tones */
    --text: #2a2118;
    --text-bright: #1a150f;
    --text-secondary: #6b5d4f;
    --text-muted: #8e8072;
    --text-dim: #a89a8c;

    /* Accent — Brass Gold (deepened for light-bg contrast) */
    --accent: #b08c2e;
    --accent-bright: #c9a84c;
    --accent-dark: #8a6d1c;
    --accent-glow: rgba(176, 140, 46, 0.10);
    --accent-glow-strong: rgba(176, 140, 46, 0.18);

    /* Cyan — Darkened for legibility on ivory */
    --copper: #0090b8;
    --copper-bright: #00b8dd;
    --copper-glow: rgba(0, 144, 184, 0.10);

    /* Violet — Deepened */
    --violet: #5b3dc7;
    --violet-glow: rgba(91, 61, 199, 0.08);

    /* Legacy aliases */
    --cyan: var(--accent);
    --cyan-bright: var(--accent-bright);
    --cyan-dark: var(--accent-dark);
    --cyan-glow: var(--accent-glow);
    --cyan-glow-strong: var(--accent-glow-strong);
    --teal: var(--accent-dark);
    --teal-glow: var(--accent-glow);

    /* Functional — Darker for contrast */
    --success: #16a34a;
    --error: #dc2626;
    --warning: #d97706;

    /* Glass — Frosted Parchment */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-strong: rgba(255, 255, 255, 0.92);
    --glass-border: rgba(160, 130, 60, 0.10);

    /* Structural overrides */
    --dot-color: rgba(120, 100, 60, 0.04);
    --sheet-music-color: rgba(176, 140, 46, 0.05);
    --musical-note-color: rgba(176, 140, 46, 0.035);
    --crossnav-bg: rgba(244, 241, 235, 0.96);
    --crossnav-text: rgba(42, 33, 24, 0.50);
    --crossnav-link-text: rgba(42, 33, 24, 0.60);
    --crossnav-link-border: rgba(120, 100, 60, 0.12);
    --nav-scrolled-bg: rgba(255, 255, 255, 0.92);
    --nav-pill-bg: rgba(255, 255, 255, 0.92);
    --nav-pill-border: rgba(120, 100, 60, 0.15);
    --nav-link-hover-bg: rgba(176, 140, 46, 0.06);
    --mobile-menu-bg: rgba(250, 248, 244, 0.97);
    --card-composite-bg: rgba(255, 255, 255, 0.80);
    --card-gradient-start: rgba(176, 140, 46, 0.03);
    --card-gradient-end: rgba(176, 140, 46, 0.01);
    --stats-bar-bg: rgba(244, 241, 235, 0.70);
    --stats-bar-border: rgba(120, 100, 60, 0.10);
    --hero-positioning-text: rgba(26, 21, 15, 0.80);
    --hero-focus-bg: rgba(255, 255, 255, 0.84);
    --body-gradient-1: #f4f1eb;
    --body-gradient-2: #faf8f4;
    --body-gradient-3: #f0ece5;
    --outline-btn-border: rgba(120, 100, 60, 0.15);
    --outline-btn-bg: rgba(120, 100, 60, 0.03);
    --grid-line-color: rgba(176, 140, 46, 0.04);
}

/* --- Daylight Session: Component Overrides --- */

/* Body radial gradients — warm gold/copper tints */
[data-theme="light"] body {
    background:
        radial-gradient(circle at 14% 16%, rgba(176, 140, 46, 0.05), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(0, 144, 184, 0.04), transparent 28%),
        linear-gradient(180deg, var(--body-gradient-1) 0%, var(--body-gradient-2) 34%, var(--body-gradient-3) 100%);
}

/* Selection */
[data-theme="light"] ::selection {
    background: var(--accent);
    color: #ffffff;
}

/* Atmospheric — subdued on light */
[data-theme="light"] .bg-glow { opacity: 0.04; }
[data-theme="light"] .bg-glow--2 { opacity: 0.03; }
[data-theme="light"] .bg-glow--3 { opacity: 0.025; }
[data-theme="light"] .noise-overlay { opacity: 0.012; }

/* Nav pill shadow — warm on light */
[data-theme="light"] .nav__inner {
    box-shadow: 0 18px 40px rgba(120, 100, 60, 0.08);
}

[data-theme="light"] .nav--scrolled {
    box-shadow: 0 4px 30px rgba(120, 100, 60, 0.08);
}

/* Crossnav active link — keep white text on gold bg */
[data-theme="light"] .crossnav__link--active,
[data-theme="light"] .crossnav__link--active:hover {
    color: #ffffff;
}

[data-theme="light"] .crossnav__link:hover {
    color: var(--accent);
    border-color: rgba(176, 140, 46, 0.3);
    background: rgba(176, 140, 46, 0.06);
}

[data-theme="light"] .crossnav {
    border-bottom-color: rgba(160, 130, 60, 0.12);
}

/* Primary button — white text on gold */
[data-theme="light"] .btn--primary {
    background: linear-gradient(135deg, #b08c2e 0%, #c9a84c 48%, #9a7a20 100%);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(176, 140, 46, 0.18);
}

[data-theme="light"] .btn--primary:hover {
    box-shadow: 0 16px 32px rgba(176, 140, 46, 0.25);
    color: #ffffff;
}

/* Contact button in nav */
[data-theme="light"] .nav__menu a[href="contact.php"] {
    background: linear-gradient(135deg, rgba(176, 140, 46, 0.12), rgba(176, 140, 46, 0.06));
    border: 1px solid rgba(176, 140, 46, 0.25);
}

/* Nav links — explicit dark text for readability in light mode */
[data-theme="light"] .nav__link {
    color: #2a2118;
}

[data-theme="light"] .nav__link:hover {
    color: #1a150f;
    background: rgba(176, 140, 46, 0.08);
}

[data-theme="light"] .nav__link--active {
    color: var(--accent);
}

[data-theme="light"] .nav__dropdown-link {
    color: #2a2118;
}

/* Nav dropdown — light theme */
[data-theme="light"] .nav__dropdown-menu {
    background: rgba(255, 255, 255, 0.97);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .nav__dropdown-link:hover {
    background: rgba(176, 140, 46, 0.08);
}

/* Skip link */
[data-theme="light"] .skip-link:focus {
    color: #ffffff;
}

/* Page hero gradients */
[data-theme="light"] .page-hero {
    background:
        radial-gradient(circle at 12% 18%, rgba(176, 140, 46, 0.05), transparent 24%),
        linear-gradient(180deg, rgba(120, 100, 60, 0.02), transparent);
}

[data-theme="light"] .page-hero--has-bg::before {
    background: linear-gradient(
        180deg,
        rgba(250, 248, 243, 0.9) 0%,
        rgba(250, 248, 243, 0.7) 40%,
        rgba(250, 248, 243, 0.88) 100%
    );
}

[data-theme="light"] .page-hero__eyebrow {
    color: var(--accent-dark, #8a7530);
}

/* Hero focus card shadow */
[data-theme="light"] .hero-focus {
    box-shadow: 0 30px 65px rgba(120, 100, 60, 0.10);
}

/* Cards — warm shadow on hover */
[data-theme="light"] .service-card:hover,
[data-theme="light"] .platform-card:hover,
[data-theme="light"] .social-card:hover,
[data-theme="light"] .case-study-card:hover,
[data-theme="light"] .blog-card:hover,
[data-theme="light"] .testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(120, 100, 60, 0.10);
}

/* Glass card */
[data-theme="light"] .glass-card {
    box-shadow: 0 4px 20px rgba(120, 100, 60, 0.06);
}

[data-theme="light"] .glass-card:hover {
    box-shadow: 0 12px 40px rgba(120, 100, 60, 0.10);
}

/* Stats bar */
[data-theme="light"] .stats-bar__grid {
    box-shadow: 0 8px 30px rgba(120, 100, 60, 0.06);
}

/* Form inputs */
[data-theme="light"] .form-input,
[data-theme="light"] .form-select,
[data-theme="light"] .form-textarea {
    background: rgba(255, 255, 255, 0.80);
    border-color: rgba(120, 100, 60, 0.15);
    color: var(--text);
}

[data-theme="light"] .form-input:focus,
[data-theme="light"] .form-select:focus,
[data-theme="light"] .form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(176, 140, 46, 0.10);
    background: #ffffff;
}

[data-theme="light"] .form-input::placeholder,
[data-theme="light"] .form-textarea::placeholder {
    color: var(--text-dim);
}

/* Alerts */
[data-theme="light"] .alert--error {
    background: rgba(220, 38, 38, 0.06);
    border-color: rgba(220, 38, 38, 0.15);
    color: #b91c1c;
}

[data-theme="light"] .alert--success {
    background: rgba(176, 140, 46, 0.06);
    border-color: rgba(176, 140, 46, 0.15);
}

/* Login card */
[data-theme="light"] .login-card {
    background: rgba(255, 255, 255, 0.90);
    border-color: rgba(120, 100, 60, 0.12);
    box-shadow: 0 20px 60px rgba(120, 100, 60, 0.08);
}

/* Footer */
[data-theme="light"] .footer {
    background: var(--bg-section);
    border-top: 1px solid var(--border);
}

/* Scroll progress bar */
[data-theme="light"] .scroll-progress {
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-bright));
}

/* Bento featured glow */
[data-theme="light"] .bento-card--featured::after {
    background: radial-gradient(circle at top right, rgba(176, 140, 46, 0.04) 0%, transparent 70%);
}

/* Hero-focus gradient border */
[data-theme="light"] .hero-focus::before {
    background: linear-gradient(135deg, rgba(176, 140, 46, 0.30), transparent 45%, rgba(176, 140, 46, 0.18));
}

/* --- Theme Toggle Button --- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all 0.25s var(--ease);
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--border-hover);
    background: var(--accent-glow);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s var(--ease);
}

.theme-toggle:hover svg {
    transform: rotate(15deg);
}

@media (max-width: 767px) {
    .theme-toggle {
        margin-left: 0;
        margin-top: 0.75rem;
        align-self: flex-start;
    }
}

/* --- Smooth Theme Transition --- */
html.theme-transition,
html.theme-transition *,
html.theme-transition *::before,
html.theme-transition *::after {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* --- Chat Coming Soon Button --- */
.chat-coming-soon {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
}

.chat-coming-soon__btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.chat-coming-soon__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(201, 168, 76, 0.25);
}

.chat-coming-soon__tooltip {
    position: absolute;
    bottom: calc(100% + 0.75rem);
    right: 0;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
}

.chat-coming-soon.is-open .chat-coming-soon__tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    display: none;
}

.cookie-banner__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-banner__content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.cookie-banner__content a {
    color: var(--accent);
    text-decoration: underline;
}

.btn--sm {
    padding: 0.45rem 1.25rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* --- Form Consent Checkbox --- */
.form-group--checkbox label {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.form-group--checkbox input[type="checkbox"] {
    margin-top: 0.2rem;
    flex-shrink: 0;
    accent-color: var(--accent);
}

.form-group--checkbox a {
    color: var(--accent);
    text-decoration: underline;
}
