/* 
 * Novart.io — Premium Design System & Central Style Ledger
 * Phase 5 Isolation Scaffold — Strict Static CSS Specifications
 * Obsidian-Navy Identity (#02050D & #0B0F19)
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500;600&family=Fira+Code:wght@400;500&display=swap');

:root {
    --bg-obsidian: #03050a;
    --bg-navy: #090d16;
    --bg-navy-elevated: #101524;
    --card-border: rgba(255, 255, 255, 0.035);
    --card-border-hover: rgba(255, 255, 255, 0.08);
    --cyan-primary: #00d2ff;
    --blue-primary: #0066ff;
    --text-white: #ffffff;
    --text-zinc: #a1a1aa;
    --text-dim: #6b7280;
    --text-muted: #4b5563;
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Fira Code', monospace;
    
    /* Typography Overrides for Premium Aesthetic */
    --font-weight-light: 200;
    --font-weight-regular: 300;
    --font-weight-medium: 400;
    --font-weight-semibold: 500;
    --letter-spacing-tight: -0.03em;
    --letter-spacing-tighter: -0.04em;
    --letter-spacing-wide: 0.12em;
    --letter-spacing-widest: 0.22em;
}

/* Global Reset & Core Canvas */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-obsidian);
    color: var(--text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Highlight */
::selection {
    background: rgba(0, 210, 255, 0.15);
    color: var(--text-white);
}

/* Structure Containers & Grid Specifications */
.max-width-limit {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

/* SCREEN 1: Hero Master Dashboard Layout */
.hero-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%);
}

.pixel-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.005) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.005) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* Translucent floating Command Capsule Navigation Bar */
.navbar-container {
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(9, 13, 22, 0.4);
    backdrop-filter: blur(24px);
    border-radius: 16px;
    padding: 0.8rem 1.5rem;
    margin-top: 1.25rem;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.02);
}

/* Interactive Background Canvas */
.hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
}

.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3.5rem 0 4.5rem 0; /* Tightened visual breathing room */
    margin-top: auto;
    margin-bottom: auto;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-split-grid {
        padding: 2rem 0 2.5rem 0;
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-split-grid {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.hero-left-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-right-col {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Studio Copywriting Typo Scale */
.hero-studio-title {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: var(--font-weight-light);
    line-height: 1.15; /* More elegant breathing height */
    letter-spacing: var(--letter-spacing-tighter);
    margin-bottom: 2rem;
    color: var(--text-white);
}

.hero-studio-sub {
    font-size: 1.1rem;
    color: var(--text-zinc);
    line-height: 1.75; /* Premium paragraph hierarchy */
    max-width: 34rem;
    font-weight: var(--font-weight-regular);
    margin-bottom: 0.5rem;
}

.status-badge {
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #e4e4e7 !important;
    font-size: 0.68rem !important;
    font-family: var(--font-mono);
    letter-spacing: 0.12em !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    position: relative;
    cursor: help;
}

.status-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--cyan-primary);
    display: inline-block;
    box-shadow: 0 0 6px var(--cyan-primary);
}

.status-badge-info {
    opacity: 0.6;
    font-size: 0.7rem;
    margin-left: 2px;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 4px var(--cyan-primary);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 10px var(--cyan-primary);
        opacity: 0.95;
    }
}

.animate-pulse-glow {
    animation: pulse-glow 2.5s infinite ease-in-out;
}

/* Premium Software Studio Showcase Panel (Selected Systems 2x2 Quadrant Grid) */
.studio-stack-panel {
    background-color: #0b0f19; /* Dark pastel base */
    background-image: 
        radial-gradient(circle at 18% 28%, rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px),
        radial-gradient(circle at 82% 32%, rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px),
        radial-gradient(circle at 45% 72%, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        radial-gradient(circle at 72% 82%, rgba(255, 255, 255, 0.05) 1.2px, transparent 1.2px),
        radial-gradient(circle at 90% 60%, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 25% 65%, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(135deg, rgba(14, 24, 46, 0.75) 0%, rgba(8, 12, 24, 0.82) 100%); /* Enriched soft misty navy & dark pastel gradient backdrop */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 560px; /* Perfectly sized for a balanced, spacious desktop grid */
    box-shadow: 
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 0 40px rgba(0, 210, 255, 0.02),
        0 0 60px rgba(168, 85, 247, 0.02); /* Soft ambient color glow */
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.studio-stack-panel:hover {
    border-color: rgba(0, 210, 255, 0.15);
    box-shadow: 
        0 35px 70px -10px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 50px rgba(0, 210, 255, 0.035),
        0 0 80px rgba(168, 85, 247, 0.035);
}

/* Glowing background color spots of misty navy, muted teal, and soft violet */
.studio-stack-panel::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, rgba(0, 210, 255, 0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.studio-stack-panel::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.07) 0%, rgba(168, 85, 247, 0.02) 50%, transparent 100%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.studio-stack-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
    padding-bottom: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.studio-stack-header-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-zinc);
    text-transform: uppercase;
    opacity: 0.8;
}

.studio-stack-status {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 600;
    color: var(--cyan-primary);
    background: rgba(0, 210, 255, 0.04);
    border: 1px solid rgba(0, 210, 255, 0.12);
    border-radius: 4px;
    padding: 2px 7px;
    letter-spacing: 0.08em;
    gap: 4px;
}

.studio-stack-status-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--cyan-primary);
    display: inline-block;
    box-shadow: 0 0 6px var(--cyan-primary);
}

/* Selected Systems 2x2 Grid Layout */
.studio-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    position: relative;
    z-index: 1;
}

.studio-showcase-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    min-height: 120px;
    position: relative;
    z-index: 1;
}

/* Internal quadrants alignment with no outer margin/padding waste */
.studio-showcase-item:nth-child(1) {
    border-right: 1px solid rgba(255, 255, 255, 0.035);
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
    padding-right: 1.75rem;
    padding-bottom: 1.75rem;
}

.studio-showcase-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.035);
    padding-left: 1.75rem;
    padding-bottom: 1.75rem;
}

.studio-showcase-item:nth-child(3) {
    border-right: 1px solid rgba(255, 255, 255, 0.035);
    padding-right: 1.75rem;
    padding-top: 1.75rem;
}

.studio-showcase-item:nth-child(4) {
    padding-left: 1.75rem;
    padding-top: 1.75rem;
}

/* Showcase title styling */
.studio-showcase-title {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text-white);
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
    transform: translateX(0);
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}

/* Showcase descriptor styling */
.studio-showcase-desc {
    font-size: 0.72rem;
    font-family: var(--font-mono);
    color: #e4e4e7; /* Brighter premium zinc-200, highly readable at a glance */
    opacity: 0.95; /* Calibrated contrast balance, slightly increased from 0.88 for enhanced legibility */
    line-height: 1.45;
    transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 2;
}

/* Background interactive radial color swell on item hover */
.studio-showcase-item::after {
    content: '';
    position: absolute;
    inset: -0.25rem;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 50%, rgba(20, 184, 166, 0.05) 0%, rgba(139, 92, 246, 0.02) 60%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

/* Micro-interactions on hover */
.studio-showcase-item:hover::after {
    opacity: 1;
}

.studio-showcase-item:hover .studio-showcase-title {
    color: var(--cyan-primary);
    transform: translateX(4px);
}

.studio-showcase-item:hover .studio-showcase-desc {
    color: var(--text-white);
    opacity: 0.95;
}

/* Mobile responsive stacked panel */
@media (max-width: 639px) {
    .studio-stack-panel {
        padding: 1.75rem;
    }
    .studio-showcase-grid {
        grid-template-columns: 1fr;
    }
    .studio-showcase-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.035) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-top: 1.4rem !important; /* Slightly tighter vertical padding so it's not taller than necessary */
        padding-bottom: 1.4rem !important;
        min-height: auto;
    }
    .studio-showcase-item:first-child {
        padding-top: 0.25rem !important;
    }
    .studio-showcase-item:last-child {
        border-bottom: none !important;
        padding-bottom: 0.25rem !important;
    }
    .studio-showcase-title {
        font-size: 1.1rem;
    }
    .studio-showcase-desc {
        font-size: 0.72rem;
        opacity: 0.97; /* Perfected contrast balance for outdoor mobile legibility, increased from 0.92 */
    }
}

.brand-text {
  display: flex;
  align-items: center;
  min-width: 210px;
  overflow: visible;
}

.navbar-logo {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}

.accent-text-gradient {
    background: linear-gradient(to right, var(--cyan-primary), var(--blue-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: var(--font-weight-medium);
}

.hero-main-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: var(--font-weight-light);
    line-height: 1.1;
    letter-spacing: var(--letter-spacing-tighter);
    margin-bottom: 2rem;
}

.cta-button-cyan {
    background: var(--text-white);
    color: var(--bg-obsidian);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.cta-button-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.12);
    background: var(--cyan-primary);
}

.cta-button-outline {
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-zinc);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-block;
    margin-left: 1rem;
}

.cta-button-outline:hover {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.01);
}

/* SCREEN 2: Paradigm Comparative Grid Layout */
.section-wrapper {
    padding: 4.5rem 2rem; /* Tightened visual rhythm between sections */
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    position: relative;
}

@media (max-width: 768px) {
    .section-wrapper {
        padding: 2.5rem 1.25rem;
    }
}

.section-tagline {
    font-size: 0.65rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    letter-spacing: var(--letter-spacing-widest);
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    display: block;
}

.section-headline {
    font-size: 2.2rem;
    font-weight: var(--font-weight-light);
    line-height: 1.3;
    letter-spacing: var(--letter-spacing-tight);
    margin-bottom: 2.25rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

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

.matrix-card-static {
    background: rgba(255, 255, 255, 0.005);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2.5rem;
    opacity: 0.35;
    transition: opacity 0.4s ease;
}

.matrix-card-static:hover {
    opacity: 0.5;
}

.matrix-card-custom {
    background: var(--bg-navy);
    border: 1px solid var(--card-border-hover);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 210, 255, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.matrix-card-custom:hover {
    transform: translateY(-4px);
    border-color: var(--cyan-primary);
    box-shadow: 0 15px 50px rgba(0, 210, 255, 0.08);
}

.static-block-visual {
    height: 180px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.custom-block-visual {
    height: 180px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.cyan-neon-core {
    width: 60px;
    height: 6px;
    background: var(--cyan-primary);
    border-radius: 99px;
    box-shadow: 0 0 20px var(--cyan-primary);
}

/* SCREEN 3: Bento Grid Layout */
.bento-saas-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

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

.bento-card-wrapper {
    background: var(--bg-navy);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card-wrapper:hover {
    border-color: var(--card-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.prism-metrics-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-top: 2rem;
}

.prism-metric-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.02);
    padding: 0.75rem 0.5rem;
    border-radius: 10px;
    text-align: center;
}

.prism-metric-number {
    font-size: 1.25rem;
    font-weight: var(--font-weight-light);
    display: block;
}

.prism-metric-tag {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
    margin-top: 0.25rem;
    display: block;
}

/* Static Monospace Compiler Interface */
.static-terminal-window {
    background: #03060C;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1.25rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #a3b3cc;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.8);
    margin-top: 1.5rem;
}

.static-terminal-header {
    border-bottom: 1px solid rgba(255,255,255,0.03);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
    color: #4a5c78;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.terminal-indicator-dots {
    display: inline-flex;
    gap: 4px;
    margin-right: 0.5rem;
}

.terminal-indicator-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.terminal-indicator-dots span:first-child {
    background: var(--cyan-primary);
}

.static-terminal-line {
    margin-bottom: 0.25rem;
    line-height: 1.5;
}

/* SCREEN 4: Consumer Retail Grid Layout */
.retail-matrix-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .retail-matrix-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.retail-card-dark,
.retail-card-light,
.retail-card-luxury,
.retail-card-gold {
    height: auto;
    min-height: 270px;
    padding: 1.75rem !important;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.retail-card-dark {
    background: var(--bg-navy);
    border: 1px solid rgba(255, 255, 255, 0.035);
}

.retail-card-dark:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.retail-card-light {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-white);
}

.retail-card-light:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.retail-card-luxury {
    background: #04060b;
    border: 1px solid rgba(255, 255, 255, 0.025);
}

.retail-card-luxury:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.06);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.retail-card-luxury::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.spec-details-strip {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    padding: 0.5rem;
    margin-top: 1rem;
    font-size: 0.65rem;
    color: #636d7a;
    font-family: var(--font-mono);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

/* Strategic Form Panel */
.strategic-audit-form {
    border-radius: 20px;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
}

.form-input-scaffold {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    width: 100%;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-input-scaffold:focus {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.03);
}

/* Layout helpers for pure markup rendering */
.w-full { width: 100%; }
.max-w-4xl { max-width: 56rem; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.mb-8 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.gap-2 { gap: 0.5rem; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.uppercase { text-transform: uppercase; }
.tracking-widest { letter-spacing: var(--letter-spacing-widest); }
.rounded-2xl { border-radius: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.mt-8 { margin-top: 2rem; }
.mr-auto { margin-right: auto; }
.ml-auto { margin-left: auto; }

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-obsidian);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 210, 255, 0.15);
}

/* Custom Pixel Cursor Trail Follower */
.custom-cursor {
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-follower {
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255, 255, 255, 0.04); /* Extremely subtle and transparent */
    background: transparent;
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s, background-color 0.2s;
}

@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }
}

/* Toast Success Notification Box */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--bg-navy);
    border: 1px solid #10b981;
    color: var(--text-white);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10000;
}

.toast-notification.active {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    background: #10b981;
    color: var(--bg-obsidian);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Glassmorphic Project Modal Overlay */
.project-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 5, 13, 0.75);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 11000;
    transition: opacity 0.4s ease;
}

.project-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.project-modal-content {
    background: rgba(11, 15, 25, 0.85);
    border: 1px solid var(--card-border-hover);
    border-radius: 24px;
    width: 90%;
    max-width: 32rem;
    padding: 3rem;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 210, 255, 0.05);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal-overlay.active .project-modal-content {
    transform: translateY(0) scale(1);
}

.project-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-zinc);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.project-modal-close:hover {
    color: var(--cyan-primary);
}

.project-modal-header {
    margin-bottom: 2rem;
}

.project-modal-category {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    color: var(--cyan-primary);
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.project-modal-title {
    font-size: 1.75rem;
    font-weight: var(--font-weight-light);
    letter-spacing: var(--letter-spacing-tight);
}

.project-modal-body {
    margin-bottom: 2.5rem;
}

.project-modal-description {
    font-size: 0.875rem;
    color: var(--text-zinc);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem 0;
}

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

.spec-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dim);
}

.spec-val {
    font-size: 0.875rem;
    font-weight: var(--font-weight-medium);
    color: var(--text-white);
}

.project-modal-progress-container {
    margin-top: 1.5rem;
}

.project-modal-progress-track {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 99px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.project-modal-progress-bar {
    background: linear-gradient(to right, var(--cyan-primary), var(--blue-primary));
    height: 100%;
    border-radius: 99px;
    width: 0%;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 10px var(--cyan-primary);
}

/* Color Theme Transition Support */
html, body, button, input, div, a, span {
    transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* ==========================================
 * AI PIPELINE MATRIX & COMPILER VISUALIZER STYLES
 * ========================================== */
.pipeline-matrix-mini {
    display: flex;
    gap: 0.4rem;
    align-items: center;
}

.pipeline-pill {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    font-weight: 700;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    cursor: help;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.pipeline-pill:hover {
    transform: translateY(-1px) scale(1.05);
}

/* Active Dark Card States */
.pipeline-pill.active-ag {
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: #00D2FF;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.1);
}
.pipeline-pill.active-cx {
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.35);
    color: #3385ff;
    box-shadow: 0 0 8px rgba(0, 102, 255, 0.1);
}
.pipeline-pill.active-cc {
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.35);
    color: #c084fc;
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.1);
}

.pipeline-pill.active-ag:hover {
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    border-color: rgba(0, 210, 255, 0.8);
}
.pipeline-pill.active-cx:hover {
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
    border-color: rgba(0, 102, 255, 0.8);
}
.pipeline-pill.active-cc:hover {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    border-color: rgba(168, 85, 247, 0.8);
}

/* Active Light Card States */
.pipeline-pill.active-ag-light {
    background: rgba(0, 102, 255, 0.05);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: #0066FF;
}
.pipeline-pill.active-cx-light {
    background: rgba(0, 163, 255, 0.05);
    border: 1px solid rgba(0, 163, 255, 0.2);
    color: #0088cc;
}
.pipeline-pill.active-cc-light {
    background: rgba(124, 58, 237, 0.05);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #6d28d9;
}

.pipeline-pill.active-ag-light:hover {
    background: rgba(0, 102, 255, 0.1);
    border-color: rgba(0, 102, 255, 0.4);
}
.pipeline-pill.active-cx-light:hover {
    background: rgba(0, 163, 255, 0.1);
    border-color: rgba(0, 163, 255, 0.4);
}
.pipeline-pill.active-cc-light:hover {
    background: rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.4);
}

/* Modal Pipeline Flow Diagram */
.modal-pipeline-flow-container {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1.5rem 0;
    margin-top: 1.5rem;
}

.modal-pipeline-nodes {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
}

.modal-pipeline-node {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem 0.75rem;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.modal-pipeline-node:hover {
    background: rgba(255, 255, 255, 0.01);
    border-color: rgba(255, 255, 255, 0.08);
}

/* Highlight Active Node Borders and Shadows */
.modal-pipeline-node.active#modal-node-ag {
    border-color: var(--cyan-primary);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.06), inset 0 1px 0 rgba(0, 210, 255, 0.1);
}
.modal-pipeline-node.active#modal-node-cx {
    border-color: var(--blue-primary);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.06), inset 0 1px 0 rgba(0, 102, 255, 0.1);
}
.modal-pipeline-node.active#modal-node-cc {
    border-color: #a855f7;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.06), inset 0 1px 0 rgba(168, 85, 247, 0.1);
}

/* Circular Node Icon Layer */
.node-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
}

.icon-ag {
    background: rgba(0, 210, 255, 0.1);
    border: 1px solid rgba(0, 210, 255, 0.2);
    color: #00D2FF;
}
.icon-cx {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: #0066FF;
}
.icon-cc {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.modal-pipeline-node.active#modal-node-ag .node-icon {
    background: var(--cyan-primary);
    color: var(--bg-obsidian);
    box-shadow: 0 0 15px var(--cyan-primary);
}
.modal-pipeline-node.active#modal-node-cx .node-icon {
    background: var(--blue-primary);
    color: #ffffff;
    box-shadow: 0 0 15px var(--blue-primary);
}
.modal-pipeline-node.active#modal-node-cc .node-icon {
    background: #a855f7;
    color: #ffffff;
    box-shadow: 0 0 15px #a855f7;
}

/* Node Titles & Sub Specs */
.node-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.node-spec {
    font-size: 0.55rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    line-height: 1.3;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.modal-pipeline-node.active .node-spec {
    color: var(--text-zinc);
}

/* Modal Pipeline Connectors */
.modal-pipeline-connector {
    flex: 0.15;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    margin-top: -1.75rem; /* align line center height with icons */
}

.connector-line-glow {
    position: absolute;
    inset: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--cyan-primary), var(--blue-primary));
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-pipeline-connector.active {
    background: rgba(255, 255, 255, 0.1);
}

.modal-pipeline-connector.active .connector-line-glow {
    opacity: 0.7;
    box-shadow: 0 0 8px var(--cyan-primary);
    animation: line-sweep 1.5s infinite linear;
    background-size: 200% 100%;
}

@keyframes line-sweep {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

@media (max-width: 640px) {
    .modal-pipeline-nodes {
        flex-direction: column;
        gap: 1.5rem;
    }
    .modal-pipeline-connector {
        display: none;
    }
    .modal-pipeline-node {
        width: 100%;
    }
}

/* Gold Luxury Theme for Attics.pk */
.retail-card-gold {
    background: linear-gradient(135deg, rgba(9, 13, 22, 0.95) 0%, rgba(20, 16, 11, 0.45) 100%);
    border: 1px solid rgba(245, 158, 11, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 768px) {
    .retail-card-gold {
        grid-column: span 2;
    }
}

.retail-card-gold:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.2);
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.05);
}

.text-amber-400 {
    color: #fbbf24;
}

.text-amber-500 {
    color: #f59e0b;
}

/* Active Gold Card States */
.pipeline-pill.active-ag-gold {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.08);
}
.pipeline-pill.active-cx-gold {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.08);
}
.pipeline-pill.active-cc-gold {
    background: rgba(245, 158, 11, 0.06);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.08);
}

.pipeline-pill.active-ag-gold:hover,
.pipeline-pill.active-cx-gold:hover,
.pipeline-pill.active-cc-gold:hover {
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
    border-color: rgba(245, 158, 11, 0.7);
}

/* ==========================================
   DYNAMICS: WHAT NOVART.IO BUILDS (CAPABILITIES)
   ========================================== */
.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.capability-card {
    background: rgba(11, 15, 25, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.01);
}

.capability-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 210, 255, 0.2);
    background: rgba(11, 15, 25, 0.75);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.capability-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-zinc);
    margin-bottom: 1.25rem;
    letter-spacing: var(--letter-spacing-wide);
    display: inline-block;
}

.capability-title {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.capability-desc {
    font-size: 0.85rem;
    color: var(--text-zinc);
    line-height: 1.5;
    font-weight: 300;
}

/* ==========================================
   DYNAMICS: RESEARCH-LED BUILD METHODOLOGY
   ========================================== */
.methodology-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .methodology-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .methodology-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.methodology-card {
    background: rgba(11, 15, 25, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}
.methodology-card:hover {
    border-color: rgba(0, 210, 255, 0.15);
    background: rgba(11, 15, 25, 0.7);
    transform: translateY(-2px);
}
.methodology-step-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cyan-primary);
    font-weight: bold;
    border: 1px solid rgba(0, 210, 255, 0.2);
    background: rgba(0, 210, 255, 0.04);
    padding: 0.15rem 0.45rem;
    border-radius: 99px;
    display: inline-block;
    margin-bottom: 1rem;
}
.methodology-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}
.methodology-card-desc {
    font-size: 0.8rem;
    color: var(--text-zinc);
    line-height: 1.45;
    font-weight: 300;
}

/* ==========================================
   DYNAMICS: CAREFUL BUILD PROCESS TIMELINE
   ========================================== */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(1.5rem + 15px);
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 1;
}

.process-step {
    display: flex;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.step-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-obsidian);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.process-step:hover .step-badge {
    border-color: rgba(255, 255, 255, 0.4);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: bold;
    color: var(--text-zinc);
}

.step-content {
    background: rgba(11, 15, 25, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    flex-grow: 1;
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    background: rgba(11, 15, 25, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-zinc);
    line-height: 1.55;
    font-weight: 300;
}

@media (max-width: 640px) {
    .process-timeline {
        padding-left: 0;
    }
    .process-timeline::before {
        display: none;
    }
    .process-step {
        flex-direction: column;
        gap: 0.75rem;
    }
    .step-badge {
        width: 28px;
        height: 28px;
    }
    .step-content {
        padding: 1.25rem 1.5rem;
    }
}

/* Premium Editorial Project Tags */
.project-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 500;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s ease;
}

/* Dark, Luxury, and Gold Card Tag Colors */
.project-tag.tag-accent {
    background: rgba(0, 210, 255, 0.04);
    border: 1px solid rgba(0, 210, 255, 0.12);
    color: var(--cyan-primary);
}

.project-tag.tag-accent-gold {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

.project-tag.tag-zinc {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-zinc);
}

/* Light Card Tag Colors */
.project-tag.tag-accent-light {
    background: rgba(0, 102, 255, 0.04);
    border: 1px solid rgba(0, 102, 255, 0.12);
    color: var(--blue-primary);
}

.project-tag.tag-zinc-light {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: #4b5563;
}

/* SCREEN 3.2: Ready-to-Ship Systems Grid */
.ready-systems-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .ready-systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.ready-card {
    background: var(--bg-navy);
    border: 1px solid rgba(255, 255, 255, 0.035);
    padding: 1.75rem !important;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.ready-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.ready-status-tag {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: 600;
    border-radius: 4px;
    padding: 2px 6px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ready-status-tag.status-green {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.ready-status-tag.status-blue {
    color: #3385ff;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.2);
}
.ready-status-tag.status-amber {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.highlights-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 500;
    color: var(--text-zinc);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem 1rem;
}
.highlights-list li {
    font-size: 0.75rem;
    color: var(--text-zinc);
    position: relative;
    padding-left: 0.75rem;
}
.highlights-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--cyan-primary);
    font-weight: bold;
}

/* Decoupled Section Background Rules */
#studio-labs {
    background: rgba(11, 15, 25, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}
#capabilities-section {
    background: rgba(2, 5, 13, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}
#methodology-section {
    background: rgba(11, 15, 25, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}
#process-section {
    background: rgba(2, 5, 13, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

/* Strategy Audit Monospace Labels */
.form-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-zinc);
    margin-bottom: 0.5rem;
}

/* Responsive Mobile padding refinement overrides */
@media (max-width: 640px) {
    .retail-card-dark,
    .retail-card-light,
    .retail-card-luxury,
    .retail-card-gold,
    .ready-card,
    .lab-card {
        padding: 1.25rem !important;
        min-height: 240px;
    }
    .capability-card,
    .methodology-card {
        padding: 1.25rem !important;
    }
    .highlights-list {
        grid-template-columns: 1fr;
    }
}

.modal-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.modal-highlights-list li {
    font-size: 0.85rem;
    color: var(--text-zinc);
    position: relative;
    padding-left: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.modal-highlights-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--cyan-primary);
    font-weight: bold;
}

/* ==========================================
 * UTILITY STYLES (VANILLA COMPLEMENTS)
 * ========================================== */
.flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-col { flex-direction: column !important; }
.gap-4 { gap: 1rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-5 { margin-bottom: 1.25rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mt-6 { margin-top: 1.5rem !important; }
.pt-6 { padding-top: 1.5rem !important; }
.space-y-6 > * + * { margin-top: 1.5rem !important; }

/* ==========================================
 * VIEWPORT BREAKPOINTS & MOBILE RESPONSIVENESS
 * ========================================== */
@media (max-width: 640px) {
    .studio-stack-panel {
        padding: 1.25rem !important;
    }
    .matrix-card-static,
    .matrix-card-custom {
        padding: 1.5rem !important;
    }
    .static-block-visual,
    .custom-block-visual {
        height: 130px !important;
    }
    .project-modal-content {
        padding: 1.5rem !important;
        border-radius: 20px;
        width: 92% !important;
    }
    .strategic-audit-form {
        padding: 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        flex-direction: column !important;
        gap: 0.5rem !important;
        padding: 0.65rem 1rem !important;
        text-align: center;
    }
    .navbar-container .text-xs {
        font-size: 0.58rem !important;
        letter-spacing: 0.15em !important;
        margin-top: 0.2rem;
    }
    .hero-left-col .flex {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.75rem !important;
    }
    .cta-button-cyan, .cta-button-outline {
        width: 100% !important;
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .hero-studio-title {
        font-size: 2.2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.5rem !important;
    }
    .hero-studio-sub {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}

/* ==========================================
 * STRATEGIC SESSION FORM LAYOUT (CLEAN SCALABLE SCRIPTS)
 * ========================================== */
#form-columns-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    width: 100%;
    align-items: center;
}
@media (min-width: 1024px) {
    #form-columns-split {
        grid-template-columns: 1fr 1fr;
        gap: 3.5rem;
    }
}

/* ==========================================
 * FOOTER RESPONSIVE DYNAMICS
 * ========================================== */
.footer-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2.5rem;
}
.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: var(--text-zinc);
    text-decoration: none;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    transition: color 0.2s ease;
}
.footer-links a:hover {
    color: var(--cyan-primary);
}

@media (max-width: 768px) {
    .footer-main-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.85rem;
    }
}

/* ==========================================
 * ADDITIONAL RESPONSIVE MOBILE PASS (360PX, 390PX, 430PX)
 * ========================================== */
@media (max-width: 480px) {
    .hero-wrapper {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .project-modal-specs {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 1.25rem 0 !important;
    }
    .section-headline {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1.5rem !important;
    }
    .hero-main-title {
        font-size: 2rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.5rem !important;
    }
}

@media (max-width: 768px) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }
}

/* ==========================================
 * BESPOKE INTERACTIVE TOOLTIP STYLING
 * ========================================== */
/* ==========================================
 * BESPOKE INTERACTIVE TOOLTIP STYLING
 * ========================================== */
.status-badge {
    position: relative;
}
.bespoke-tooltip {
    visibility: hidden;
    width: 260px;
    background-color: var(--bg-navy-elevated);
    border: 1px solid rgba(0, 210, 255, 0.25);
    color: var(--text-zinc);
    text-align: left;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    position: absolute;
    z-index: 1000;
    top: 135%;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    line-height: 1.4;
    font-weight: 300;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    pointer-events: none;
}
.bespoke-tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    top: auto;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--bg-navy-elevated) transparent;
}
.status-badge:hover .bespoke-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(4px);
}
.bespoke-mobile-card {
    display: none;
}
.bespoke-mobile-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.65rem;
    font-family: var(--font-mono);
}
.bespoke-mobile-card-text {
    color: var(--text-zinc);
    font-size: 0.8rem;
    line-height: 1.5;
    font-weight: 300;
}
@media (max-width: 768px) {
    .bespoke-tooltip {
        display: none !important;
    }
    .bespoke-mobile-card {
        display: block !important;
        background: rgba(9, 13, 22, 0.45);
        border: 1px solid rgba(0, 210, 255, 0.12);
        border-radius: 12px;
        padding: 1rem;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
        max-width: 100%;
        text-align: left;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.01);
    }
}

/* ==========================================
 * BESPOKE EXPLANATION & SYSTEM PIPELINE STYLES
 * ========================================== */
.bespoke-explanation-card {
    position: relative;
    background: rgba(9, 13, 22, 0.5);
    border: 1px solid rgba(0, 210, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.02);
    transition: border-color 0.3s ease;
}

.bespoke-explanation-card:hover {
    border-color: rgba(0, 210, 255, 0.25);
}

.bespoke-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.bespoke-card-content {
    position: relative;
    z-index: 2;
}

.bespoke-explanation-text {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-white);
    font-weight: 300;
}

/* System Pipeline styles */
.pipeline-flow-container {
    background: rgba(9, 13, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 2.5rem;
    overflow: hidden;
    position: relative;
}

.pipeline-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.pipeline-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.pipeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(3, 5, 10, 0.8);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--cyan-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1rem;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
    transition: all 0.3s ease;
}

.pipeline-step:hover .pipeline-dot {
    background: var(--cyan-primary);
    color: var(--bg-obsidian);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.pipeline-step-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-zinc);
    letter-spacing: -0.01em;
}

.pipeline-connector {
    color: rgba(0, 210, 255, 0.25);
    font-size: 1.2rem;
    user-select: none;
    padding: 0 1rem;
}

/* Desktop Hide for Bespoke Explanation Card Section */
@media (min-width: 769px) {
    #bespoke-explanation-section {
        display: none !important;
    }
}

.footnote-labs-ledger {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    color: var(--text-zinc);
    align-items: center;
}

.footnote-labs-label {
    font-size: 10px;
    color: var(--text-dim);
    font-weight: 600;
    font-family: var(--font-mono);
}

.hover-text-cyan {
    transition: all 0.3s ease;
}
.hover-text-cyan:hover {
    color: var(--cyan-primary) !important;
    text-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

/* Spacing and spills fixes for mobile viewports (360px, 390px, 430px) */
@media (max-width: 768px) {
    .bespoke-explanation-card {
        padding: 1.5rem 1.25rem !important;
        border-radius: 16px !important;
    }
    
    .bespoke-explanation-text {
        font-size: 0.95rem !important;
        line-height: 1.55 !important;
    }

    .hero-bespoke-microcopy {
        display: none !important;
    }
    
    .pipeline-flow-container {
        padding: 1.5rem 1.25rem;
    }
    
    .pipeline-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pipeline-step {
        flex-direction: row;
        gap: 1rem;
        text-align: left;
        width: 100%;
        align-items: center;
    }
    
    .pipeline-dot {
        margin-bottom: 0;
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        flex-shrink: 0;
    }
    
    .pipeline-step-title {
        font-size: 0.9rem;
    }
    
    .pipeline-connector {
        display: inline-block !important;
        transform: rotate(90deg) !important;
        padding: 0.25rem 0 !important;
        font-size: 1rem !important;
        line-height: 1 !important;
        margin-left: 0px !important;
        align-self: flex-start !important;
        width: 32px !important;
        text-align: center !important;
    }
    
    /* Global mobile cleanups */
    .capabilities-grid, .methodology-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .capability-card, .methodology-card {
        padding: 1.5rem 1.25rem !important;
        border-radius: 16px !important;
    }
    
    .retail-matrix-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    .retail-card-dark,
    .retail-card-light,
    .retail-card-luxury,
    .retail-card-gold,
    .ready-card,
    .lab-card {
        padding: 1.5rem 1.25rem !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    /* Fix horizontal scrolls and word clipping */
    body, html {
        overflow-x: hidden !important;
    }
    
    .max-width-limit {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
    
    .hero-split-grid {
        padding: 1rem 0 !important;
    }
    
    .hero-studio-title {
        font-size: 2.1rem !important;
        line-height: 1.2 !important;
    }
    
    .hero-studio-sub {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
    
    .navbar-container {
        margin-top: 0.5rem !important;
        padding: 0.6rem 1rem !important;
    }
    
    .studio-stack-panel {
        padding: 1.25rem !important;
        max-width: 100% !important;
    }
    
    #form-columns-split {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .strategic-audit-form {
        padding: 1.25rem !important;
    }
    
    /* Ensure no text overlays or vertical scroll blocks */
    .section-wrapper {
        padding: 2.5rem 0.75rem !important;
    }

    .mb-16 {
        margin-bottom: 2rem !important;
    }

    .mb-12 {
        margin-bottom: 1.5rem !important;
    }

    .status-badge {
        letter-spacing: 0.08em !important;
        font-size: 0.62rem !important;
        padding: 0.25rem 0.65rem !important;
    }
}

/* Extreme mobile micro-adjustments for 360px, 390px, and 430px viewports */
@media (max-width: 430px) {
    .navbar-container {
        flex-direction: column !important;
        gap: 0.35rem !important;
        padding: 0.5rem 0.75rem !important;
    }
    
    .brand-text {
        min-width: 160px;
        overflow: visible;
    }
    
    .navbar-logo {
        width: 145px !important;
        height: auto !important;
    }
    
    .hero-studio-title {
        font-size: 1.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-studio-sub {
        font-size: 0.88rem !important;
        line-height: 1.55 !important;
    }
    
    .section-headline {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.25rem !important;
    }
    
    .hero-main-title {
        font-size: 1.75rem !important;
        line-height: 1.25 !important;
        margin-bottom: 1.25rem !important;
    }
    
    .cta-button-cyan, .cta-button-outline {
        padding: 0.85rem 1.5rem !important;
        font-size: 0.68rem !important;
    }
    
    .status-badge {
        padding: 0.2rem 0.55rem !important;
        font-size: 0.6rem !important;
    }
}

/* ==========================================
 * SYSTEM PIPELINE INTERACTIVE STYLES
 * ========================================== */
.pipeline-step {
    cursor: pointer;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pipeline-step * {
    pointer-events: none;
}

.pipeline-step.active .pipeline-dot {
    background: var(--cyan-primary);
    color: var(--bg-obsidian);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.pipeline-step.active .pipeline-step-title {
    color: var(--text-white);
    font-weight: 500;
}

.pipeline-desc-panel {
    margin-top: 2rem;
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid rgba(0, 210, 255, 0.15);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.01);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

.pipeline-desc-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.pipeline-desc-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pipeline-desc-step-num {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cyan-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.15s ease;
}

.pipeline-desc-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-white);
    transition: opacity 0.15s ease;
}

.pipeline-desc-text {
    font-size: 0.9rem;
    color: var(--text-zinc);
    line-height: 1.6;
    font-weight: 300;
    transition: opacity 0.15s ease;
}

/* Fading states for text swapping */
.pipeline-desc-step-num.fading,
.pipeline-desc-title.fading,
.pipeline-desc-text.fading {
    opacity: 0;
}

@media (max-width: 768px) {
    .pipeline-desc-panel {
        margin-top: 1.5rem;
        padding: 1.25rem 1.5rem;
    }
    
    .pipeline-desc-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

/* ==========================================
 * BRAND ORIGIN SIGNATURE CARD STYLES
 * ========================================== */
.brand-origin-card {
    background-color: #0b0f19;
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(135deg, rgba(14, 24, 46, 0.70) 0%, rgba(8, 12, 24, 0.78) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        0 0 30px rgba(0, 210, 255, 0.01),
        0 0 50px rgba(139, 92, 246, 0.01);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
    width: 100%;
}

.brand-origin-card:hover {
    border-color: rgba(0, 210, 255, 0.10);
    box-shadow: 
        0 25px 60px -8px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 40px rgba(0, 210, 255, 0.02),
        0 0 70px rgba(139, 92, 246, 0.02);
}

/* Subtle teal/violet corner blooms */
.brand-card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.brand-card-glow::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, transparent 70%);
    filter: blur(30px);
}

.brand-card-glow::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
    filter: blur(30px);
}

.brand-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-card-tag {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--cyan-primary);
    background: rgba(0, 210, 255, 0.03);
    border: 1px solid rgba(0, 210, 255, 0.08);
    border-radius: 4px;
    padding: 3px 10px;
    text-transform: uppercase;
    margin-bottom: 2.25rem;
    display: inline-block;
}

/* Desktop Horizontal Structure */
.brand-story-grid {
    display: grid;
    grid-template-columns: 1.1fr auto 1.1fr auto 1.4fr;
    align-items: center;
    width: 100%;
    gap: 1.75rem;
    margin-bottom: 2.25rem;
}

.brand-story-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
}

.brand-story-node.highlight {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.01);
}

.brand-node-title {
    font-size: 1.6rem;
    font-weight: var(--font-weight-light);
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.brand-node-title.brand-text-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-light);
    letter-spacing: var(--letter-spacing-tight);
}

.brand-node-label {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: 400;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.brand-node-text {
    font-size: 0.82rem;
    color: var(--text-zinc);
    line-height: 1.55;
    font-weight: 300;
    max-width: 18rem;
}

/* Elegant Thin Dividers */
.brand-story-divider {
    width: 1px;
    height: 70px;
    background: rgba(255, 255, 255, 0.04);
}

.brand-card-footer {
    font-size: 0.75rem;
    font-family: var(--font-sans);
    color: var(--text-dim);
    font-weight: var(--font-weight-light);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 1.25rem;
    width: 100%;
    letter-spacing: 0.02em;
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .brand-story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .brand-story-divider {
        width: 60px;
        height: 1px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.04);
    }
    
    .brand-origin-card {
        padding: 1.75rem;
    }
    
    .brand-story-node.highlight {
        padding: 1.25rem 1rem;
    }
    
    .brand-node-title {
        font-size: 1.4rem;
    }
    
    .brand-node-title.brand-text-title {
        font-size: 1.3rem;
    }
}

/* Premium desaturated email links */
.premium-email-link {
    color: #5ab3e6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease, text-decoration-color 0.3s ease;
}

.premium-email-link:hover {
    color: #83c6f2;
    text-shadow: 0 0 10px rgba(90, 179, 230, 0.4);
    text-decoration: underline;
    text-decoration-color: rgba(131, 198, 242, 0.4);
    text-underline-offset: 4px;
}

/* ==========================================
 * SURGICAL PREVIEW POPOVER & PREMIUM LINK
 * ========================================== */
.project-modal-link-container {
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    text-align: left;
}

.premium-preview-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--cyan-primary);
    text-decoration: none;
    font-size: 0.72rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: rgba(0, 210, 255, 0.03);
    border: 1px solid rgba(0, 210, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.premium-preview-link:hover {
    background: rgba(0, 210, 255, 0.08);
    border-color: rgba(0, 210, 255, 0.25);
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.05);
}

.preview-link-icon {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.premium-preview-link:hover .preview-link-icon {
    transform: translate(2px, -2px);
}

/* Glassmorphic Hover Popover */
.preview-hover-popover {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 0;
    width: 250px;
    background: rgba(16, 22, 36, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 210, 255, 0.02);
    opacity: 0;
    transform: translateY(6px) scale(0.97);
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 12000;
}

.popover-glow {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: radial-gradient(circle at 10% 10%, rgba(0, 210, 255, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.popover-content {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.popover-favicon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 2px;
}

.popover-text-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.popover-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 0.15rem;
}

.popover-tagline {
    font-size: 0.7rem;
    color: var(--text-zinc);
    line-height: 1.35;
    margin-bottom: 0.3rem;
}

.popover-url {
    font-size: 0.62rem;
    font-family: var(--font-mono);
    color: rgba(0, 210, 255, 0.6);
}

.popover-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.popover-chip {
    font-size: 0.55rem;
    font-family: var(--font-mono);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-zinc);
    padding: 1px 5px;
    border-radius: 4px;
}

/* Desktop Hover support strictly triggered via CSS */
@media (hover: hover) {
    .project-modal-link-container:hover .preview-hover-popover {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Ledger-specific popover placement */
.ledger-popover {
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(6px) scale(0.97);
    width: 260px;
    line-height: normal;
    text-transform: none;
    letter-spacing: normal;
    font-weight: normal;
    cursor: default;
}

@media (hover: hover) {
    #ledger-scannest-item:hover .ledger-popover {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}





