/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (WARM EDITORIAL / APPLIED SYSTEMS)
   ========================================================================== */
:root {
    /* Color Palette */
    --bg-paper: #FAF9F5;          /* Warm off-white paper background */
    --bg-panel: #F3F1EB;          /* Slightly darker warm tone for sections/grids */
    --bg-card: #FFFFFF;           /* Pure white for card surfaces */
    --text-primary: #1F1F1D;       /* Rich charcoal text */
    --text-secondary: #575651;     /* Muted slate/grey for secondary body and details */
    
    /* Accents (Restrained & Purposeful) */
    --brand-forest: #0E1F1B;       /* Deep Forest Ink */
    --brand-teal: #0F766E;         /* Deep Teal-Green */
    --brand-teal-light: #1A9089;   /* Vibrant Mid Teal */
    --brand-gold: #C5A059;         /* Warm Gold / Selective Clarity */
    
    --accent-gold: #C5A059;       /* Selective gold for badges & milestones */
    --accent-lime: #4D7C0F;       /* Olive-lime for live/working status */
    --accent-teal: #0F766E;       /* Deep teal for links, primary interactions, structure */
    --accent-teal-bright: #1A9089; /* Vibrant mid teal */
    --accent-red: #A31D1D;        /* Crimson red strictly for Creative Practice sub-brand */
    
    /* Borders & Lines */
    --border-light: #E5E2D9;      /* Soft border color for subtle grids */
    --border-dark: #C2BEB4;       /* Stronger border color for hover states */
    
    /* Dark Theme Palette (Applied Systems) */
    --bg-dark: #0E1F1B;
    --bg-dark-panel: #142823;
    --bg-dark-card: #18302A;
    --text-dark-primary: #FAF9F5;
    --text-dark-secondary: #A3B8B0;
    --border-dark-theme: rgba(255, 255, 255, 0.1);
    
    /* Typography Families */
    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: 'Newsreader', Georgia, Cambria, "Times New Roman", serif;
    --font-mono: 'IBM Plex Mono', SFMono-Regular, Consolas, monospace;
    
    /* Global Layout Dimensions */
    --container-max: 1200px;
    --prose-max: 720px;
    --gutter-desktop: 2rem;
    --gutter-tablet: 1.5rem;
    --gutter-mobile: 1.25rem;
    
    /* Global Section Spacing */
    --section-padding-y: clamp(4.5rem, 7vw, 6.5rem);
    --section-padding-y-compact: clamp(3rem, 5vw, 4.25rem);
    
    /* Component Standards */
    --radius-card: 6px;
    --radius-btn: 4px;
    --radius-input: 4px;
    
    /* Layout & Transitions */
    --transition-smooth: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    --focus-outline: 2px solid var(--accent-teal);
    --nav-height: 72px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-paper);
    scroll-padding-top: calc(var(--nav-height) + 24px);
    overflow-x: hidden;
    width: 100%;
}

section[id] {
    scroll-margin-top: calc(var(--nav-height) + 24px);
}

body {
    background-color: var(--bg-paper);
    background-image: 
        radial-gradient(rgba(31, 31, 29, 0.015) 1px, transparent 0),
        radial-gradient(rgba(31, 31, 29, 0.01) 1px, transparent 0);
    background-size: 12px 12px;
    background-position: 0 0, 6px 6px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 1rem;            /* Standard 16px base size */
    line-height: 1.65;          /* Standard 1.65 base line-height */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--gutter-desktop);
    padding-right: var(--gutter-desktop);
    width: 100%;
}

@media (max-width: 900px) {
    .container {
        padding-left: var(--gutter-tablet);
        padding-right: var(--gutter-tablet);
    }
}

@media (max-width: 600px) {
    .container {
        padding-left: var(--gutter-mobile);
        padding-right: var(--gutter-mobile);
    }
}

.prose-container,
.reading-width {
    max-width: var(--prose-max);
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: var(--section-padding-y) 0;
}

section.compact {
    padding: var(--section-padding-y-compact) 0;
}

/* ==========================================================================
   GLOBAL RESPONSIVE TYPOGRAPHY SCALE
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 400;
}

h1 {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 6vw, 6.5rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

h2, .section-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.25;
}

h4 {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
}

p {
    font-family: var(--font-sans);
    font-size: 1rem; /* 16px */
    line-height: 1.65;
    color: var(--text-secondary);
    letter-spacing: normal;
}

.body-large {
    font-family: var(--font-sans);
    font-size: 1.125rem; /* 18px */
    line-height: 1.65;
}

.body-small, small {
    font-family: var(--font-sans);
    font-size: 0.875rem; /* 14px */
    line-height: 1.55;
}

/* Technical Labels, Eyebrows & Details */
.eyebrow, .section-eyebrow, .technical-label {
    font-family: var(--font-mono);
    font-size: 0.75rem; /* Minimum 12px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-teal);
    display: inline-block;
    margin-bottom: 0.75rem;
}

a {
    color: var(--accent-teal);
    text-decoration: none;
    transition: color 0.18s ease;
}

a:hover {
    color: var(--brand-forest);
}

/* Red-Thread and Line details */
.red-thread-line {
    height: 1px;
    background: linear-gradient(to right, var(--accent-red), transparent);
    margin: 3rem 0;
    border: none;
}

.cartographic-line {
    border: none;
    border-top: 1px dashed var(--border-dark);
    margin: 2.5rem 0;
}

/* ==========================================================================
   GLOBAL 3-TIER BUTTON & CTA SYSTEM
   ========================================================================== */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin-top: 1.75rem;
}

/* Base button properties across all variants */
.btn,
.btn-primary,
.btn-secondary,
.btn-magnetic,
.btn-primary-teal,
.btn-secondary-cream,
.btn-ladder-cta,
.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 44px;
    padding: 0.75rem 1.6rem;
    font-family: var(--font-sans);
    font-size: 0.875rem; /* 14px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: var(--radius-btn);
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1;
}

/* 1. Primary Filled Button (Global Conversion Action: "Start a Project") */
.btn-primary,
.nav-cta,
.btn-primary-teal,
.btn-magnetic {
    background: var(--brand-forest, #0E1F1B);
    color: #FAF9F5 !important;
    border: 1.5px solid var(--brand-forest, #0E1F1B);
    box-shadow: 0 2px 8px rgba(14, 31, 27, 0.12);
}

.btn-primary:hover,
.nav-cta:hover,
.btn-primary-teal:hover,
.btn-magnetic:hover {
    background: var(--accent-teal, #0F766E);
    border-color: var(--accent-teal, #0F766E);
    color: #FAF9F5 !important;
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
    transform: translateY(-1px);
}

/* 2. Secondary Outlined Button */
.btn-secondary,
.btn-secondary-cream {
    background: transparent;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--border-dark, #C2BEB4);
}

.btn-secondary:hover,
.btn-secondary-cream:hover {
    background: rgba(15, 118, 110, 0.04);
    border-color: var(--accent-teal, #0F766E);
    color: var(--accent-teal, #0F766E) !important;
    transform: translateY(-1px);
}

/* 3. Text-Link CTA */
.btn-text,
.btn-pathway-secondary {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-teal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
    padding: 0.25rem 0;
}

.btn-text:hover,
.btn-pathway-secondary:hover {
    color: var(--brand-forest, #0E1F1B);
    text-decoration: underline;
}

/* 4. WhatsApp Secondary / Direct CTA */
.btn-whatsapp-subtle,
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem; /* 13px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.65rem 1.15rem;
    border-radius: var(--radius-btn, 4px);
    border: 1px solid var(--border-light, rgba(16, 33, 29, 0.15));
    background: #FFFFFF;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    line-height: 1;
}

.btn-whatsapp-subtle:hover,
.btn-whatsapp:hover {
    border-color: #25D366;
    background: rgba(37, 211, 102, 0.06);
    color: #0E1F1B !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.12);
}

.btn-whatsapp-subtle svg,
.btn-whatsapp svg {
    color: #25D366;
    flex-shrink: 0;
}

/* ── Mobile Sticky WhatsApp Quick Action Pill ── */
.whatsapp-mobile-pill {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: rgba(250, 249, 245, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(16, 33, 29, 0.15);
    border-radius: 999px;
    padding: 0.55rem 1rem 0.55rem 0.8rem;
    color: #0E1F1B;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(16, 33, 29, 0.12), 0 2px 6px rgba(0,0,0,0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.whatsapp-mobile-pill:hover,
.whatsapp-mobile-pill:focus-visible {
    transform: translateY(-2px);
    border-color: #25D366;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.2);
    color: #0E1F1B;
}

.whatsapp-pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.25);
    animation: pulse-green 2.5s infinite;
}

.whatsapp-icon-svg {
    color: #25D366;
    display: block;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-mobile-pill {
        display: inline-flex;
    }
}

/* ==========================================================================
   GLOBAL CARD SYSTEM
   ========================================================================== */
.card,
.hp-pillar-card,
.offer-box,
.ladder-card,
.system-card,
.ql-offer-card,
.proof-card,
.hp-dual-panel {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-card);
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--bg-card, #FFFFFF);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    box-sizing: border-box;
}

.card:hover,
.hp-pillar-card:hover,
.offer-box:hover,
.ladder-card:hover,
.system-card:hover,
.proof-card:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 118, 110, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   GLOBAL FORM STANDARDS
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    min-height: 44px;
    padding: 0.75rem 0.95rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-input);
    font-family: var(--font-sans);
    font-size: 0.875rem; /* 14px */
    background: #FFFFFF;
    color: var(--text-primary);
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
    min-height: 110px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-teal);
    border-color: var(--accent-teal);
    background: #FFFFFF;
}

label {
    font-family: var(--font-mono);
    font-size: 0.75rem; /* 12px min */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
    margin-bottom: 0.35rem;
}

.form-success-box {
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid var(--accent-teal);
    padding: 1.25rem;
    border-radius: var(--radius-input);
    color: var(--accent-teal);
    font-weight: 600;
    text-align: center;
    font-size: 0.875rem;
}

/* ==========================================================================
   GLOBAL NAVBAR & ACCESSIBLE TOGGLE
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height, 68px);
    background: rgba(250, 249, 245, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.18s ease;
}

.nav-link:hover {
    color: var(--accent-teal);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    z-index: 1010;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--accent-teal);
}

.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

/* Accessible Toggle Animations */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height, 68px);
        left: 0;
        right: 0;
        bottom: 0;
        height: calc(100vh - var(--nav-height, 68px));
        background: var(--bg-paper, #FAF9F5);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem var(--gutter-mobile, 1.25rem);
        gap: 1.25rem;
        overflow-y: auto;
        border-top: 1px solid var(--border-light);
        z-index: 1000;
        box-sizing: border-box;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-links .nav-link {
        font-size: 1.15rem;
        width: 100%;
        padding: 0.35rem 0;
    }

    .nav-links .nav-cta {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
        padding: 0.85rem 1.5rem;
        box-sizing: border-box;
    }
}

/* ── Dropdown Navigation Menu Styles ── */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown summary {
    list-style: none;
    outline: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    user-select: none;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    text-transform: none;
}

.nav-dropdown summary::-webkit-details-marker {
    display: none;
}

.nav-dropdown summary:hover,
.nav-dropdown[open] summary {
    color: var(--accent-teal);
}

.nav-dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    display: inline-block;
    color: var(--text-primary);
    opacity: 0.75;
}

.nav-dropdown[open] .nav-dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    box-shadow: 0 12px 36px rgba(16, 33, 29, 0.08);
    min-width: 260px;
    padding: 0.75rem 0;
    z-index: 1010;
}

.nav-dropdown-content::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: var(--border-light);
}

.nav-dropdown-content::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #FFFFFF;
}

.nav-dropdown[open] .nav-dropdown-content {
    display: block;
    animation: navDropdownFadeIn 0.16s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes navDropdownFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -4px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.nav-dropdown-link {
    display: block;
    padding: 0.6rem 1.5rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 450;
    letter-spacing: 0.005em;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
    text-align: left;
}

.nav-dropdown-link:hover {
    background: var(--bg-panel);
    color: var(--accent-teal);
}

/* Mobile responsive accordion for dropdowns */
@media (max-width: 900px) {
    .nav-dropdown {
        display: block;
        width: 100%;
    }
    
    .nav-dropdown summary {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-family: var(--font-sans);
        font-size: 1.15rem !important;
        font-weight: 500;
        color: var(--text-primary);
        padding: 0.35rem 0;
    }

    .nav-dropdown-arrow {
        font-size: 0.85rem;
    }

    .nav-dropdown-content {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        padding: 0.5rem 0 0 1rem !important;
        min-width: 0 !important;
        width: 100% !important;
        display: none;
    }

    .nav-dropdown-content::before,
    .nav-dropdown-content::after {
        display: none !important;
    }

    .nav-dropdown[open] .nav-dropdown-content {
        display: flex !important;
        flex-direction: column;
        gap: 0.75rem;
    }

    .nav-dropdown-link {
        font-family: var(--font-sans);
        font-size: 1rem !important;
        padding: 0.4rem 0 !important;
        border-bottom: none !important;
        color: var(--text-primary) !important;
    }
    
    .nav-dropdown-link:hover {
        color: var(--accent-teal) !important;
        background: transparent !important;
    }
}

/* Secondary Navigation Bar (For Jayme Portfolio and internal views) */
.sub-navbar {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
    position: sticky;
    top: 68px;
    z-index: 999;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.sub-navbar::-webkit-scrollbar { display: none; }

.sub-nav-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    justify-content: flex-start;
    white-space: nowrap;
}

.sub-nav-link {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.sub-nav-link:hover,
.sub-nav-link.active {
    color: var(--accent-teal);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 14px;             /* Standardized button text */
    font-weight: 600;
    text-decoration: none;
    border-radius: 3px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-forest, #0E1F1B);
    color: #FAF9F5;
    border: 1.5px solid var(--brand-forest, #0E1F1B);
}

.btn-primary:hover {
    background: #1F1F1D;
    border-color: var(--brand-gold, #C5A059);
    color: var(--brand-gold, #C5A059);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(14, 31, 27, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-dark);
}

.btn-secondary:hover {
    border-color: var(--brand-forest, #0E1F1B);
    background: rgba(14, 31, 27, 0.04);
    transform: translateY(-1px);
}

.btn-outline {
    font-family: var(--font-sans);
    font-size: 14px;             /* Standardized button text */
    font-weight: 600;
    color: var(--brand-forest, #0E1F1B);
    background: transparent;
    border: 1.5px solid var(--brand-forest, #0E1F1B);
    padding: 0.5rem 1.25rem;
    text-decoration: none;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: var(--brand-forest, #0E1F1B);
    color: #FAF9F5;
    border-color: var(--brand-gold, #C5A059);
}

/* ==========================================================================
   HERO SECTIONS
   ========================================================================== */
.hero-premium {
    min-height: 76vh; /* Denser hero height */
    padding-top: 110px; /* Top padding */
    padding-bottom: 70px; /* Bottom padding */
    background-color: #F7F4ED !important;
    border-bottom: 1px solid #DDD8CE !important;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero-premium .eyebrow {
    font-family: var(--font-mono);
    font-size: 13.5px;
    font-weight: 600;
    color: #0F766E; /* Muted teal */
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Sturdier Newsreader styling */
.hero-premium .hero-headline,
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.9rem, 5.4vw, 5.8rem) !important;
    line-height: 0.95 !important;
    letter-spacing: -0.045em !important;
    color: #0E1F1B;
    margin: 1rem 0 1.5rem 0;
    font-weight: 500;
    max-width: 640px;
}

.hero-premium .hero-subhead {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 2.25rem;
    max-width: 580px;
}

.hero-premium .btn-primary {
    background: #0E1F1B !important;
    border-color: #0E1F1B !important;
    color: #F7F4ED !important;
}

.hero-premium .btn-primary:hover {
    background: #0F766E !important;
    border-color: #0F766E !important;
}

.hero-premium .btn-secondary {
    border-color: #0E1F1B !important;
    color: #0E1F1B !important;
    background: transparent !important;
}

.hero-premium .btn-secondary:hover {
    background: rgba(16, 33, 29, 0.05) !important;
    border-color: #0E1F1B !important;
}

.hero-prism-container {
    width: 100%;
    max-width: 680px; /* Constrain visual size */
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.35); /* Muted gold structural rule */
    border-radius: 4px;
    background: #FAF9F6;
    padding: 10px;
    box-shadow: 0 12px 36px rgba(16, 33, 29, 0.06); /* Low-opacity shadowing */
    overflow: hidden;
}

.hero-prism-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

@media(min-width: 950px) {
    .hero-premium .hero-container-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(560px, 1.1fr) !important; /* Left 43-46% / Right 54-57% */
        gap: 64px !important;
    }
}

.hero {
    min-height: 82vh;
    padding-top: calc(var(--nav-height) + 3rem);
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: 5%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.04) 0%, rgba(197, 160, 89, 0.02) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-container-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

@media(min-width: 950px) {
    .hero-container-grid, .hero-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
        gap: clamp(3rem, 7vw, 7rem);
        align-items: center;
    }
}

.hero-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(3.4rem, 5.4vw, 5.25rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    max-width: 680px;
    margin: 1.5rem 0 2rem 0;
}

.hero-subhead {
    font-size: 1.35rem;           /* Confident large size */
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-credential-line {
    font-family: var(--font-mono);
    font-size: 14px;             /* Enlarge selective smaller text by 2px */
    color: var(--text-secondary);
    margin-top: 1.5rem;
    display: block;
}

/* Abstract Clarity Visualization (SVG/layered CSS) */
/* Abstract Clarity Visualization (SVG-based) */
.clarity-visualization {
    position: relative;
    width: 100%;
    height: 360px;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.03);
}

@media(min-width: 950px) {
    .clarity-visualization {
        width: 520px;
        height: 380px;
    }
}

.hero-vis-svg {
    width: 100%;
    height: 100%;
}

/* Subtle float animations */
@keyframes float-particle {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(6deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.vis-dot, .vis-char, .vis-line-fragment {
    animation: float-particle 6s ease-in-out infinite;
}

.vis-char {
    animation-delay: 2s;
}

.vis-line-fragment {
    animation-delay: 4s;
}

@media (prefers-reduced-motion: reduce) {
    .vis-dot, .vis-char, .vis-line-fragment {
        animation: none !important;
    }
}

/* ==========================================================================
   ROOT HOMEPAGE / SYSTEM CARDS
   ========================================================================== */
.systems-section-dark {
    background: 
        radial-gradient(circle at 80% 10%, rgba(13, 148, 136, 0.09), transparent 34%),
        #121210;
    color: #f3f0e8;
    padding: 140px 0;
    border-bottom: 1px solid rgba(243, 240, 232, 0.08);
}

.systems-section-dark .section-title {
    color: #FAF9F5;
}

.systems-section-dark .eyebrow {
    color: #C5A059; /* Lighter teal for contrast */
}

.systems-header {
    max-width: 800px;
    margin-bottom: 5rem;
}

.systems-grid-dark {
    display: flex;
    flex-direction: column;
    gap: 5rem;                   /* Spacing between showcase blocks */
}

.project-showcase, .flagship-project {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(243, 240, 232, 0.13);
    padding-block: clamp(3.5rem, 5.5vw, 5.5rem);
}

.project-showcase:last-child, .flagship-project:last-child {
    border-bottom: none;
}

@media(min-width: 950px) {
    .project-showcase.split-layout {
        grid-template-columns: 1fr 1.65fr; /* 38% copy, 62% visual */
        gap: 6rem;
    }
    .project-showcase.full-width-layout {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-num {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    line-height: 1;
}

.project-category {
    font-family: var(--font-mono);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #C5A059;
}

.project-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 2.8vw, 3rem);
    color: #FAF9F5;
    line-height: 1.05;
}

.project-copy {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(243, 240, 232, 0.8);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.project-tag-dark {
    font-family: var(--font-mono);
    font-size: 13px;
    color: #FAF9F5;
    background: rgba(243, 240, 232, 0.08);
    border: 1px solid rgba(243, 240, 232, 0.16);
    padding: 0.3rem 0.65rem;
    border-radius: 3px;
}

.project-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.system-card-meta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.system-category {
    font-family: var(--font-mono);
    font-size: 12px;             /* Standardized eyebrow */
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
    display: block;
}

.system-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
}

.system-description {
    font-size: 16px;             /* Enlarge selective smaller text by 1px */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.system-disclosure {
    font-size: 15px;             /* Enlarge selective smaller text by 1px */
    font-style: italic;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    background: var(--bg-panel);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 4px 4px 0;
    margin-top: 1.5rem;
    line-height: 1.5;
}

.system-card-details {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media(min-width: 950px) {
    .system-card-details {
        border-top: none;
        border-left: 1px solid var(--border-light);
        padding-top: 0;
        padding-left: 2.5rem;
    }
}

.capabilities-title {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.capabilities-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.capabilities-list li {
    font-size: 15px;             /* Standardized text */
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.capabilities-list li::before {
    content: "→";
    color: var(--accent-teal);
    font-weight: bold;
}

.beyond-images-box {
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px dashed var(--border-dark);
    border-radius: 4px;
    background: rgba(197, 160, 89, 0.02);
}

.beyond-images-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.beyond-images-text {
    font-size: 14px;
    line-height: 1.4;
    color: var(--text-secondary);
}

/* ==========================================================================
   CSS MOCKUP DRAWINGS
   ========================================================================== */
/* ==========================================================================
   CSS MOCKUP DRAWINGS (Light, Editorial, Product-Focused)
   ========================================================================== */
/* ==========================================================================
   PREMIUM SYSTEM SHOWCASE VISUALS
   ========================================================================== */
.visual-panel {
    width: 100%;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.visual-type-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(243, 240, 232, 0.45);
    margin-bottom: 1rem;
}

/* 1. Signal Visual (Browser Interface) */
.browser-frame {
    background: #FFFFFF;
    border: 1px solid rgba(243, 240, 232, 0.15);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.22);
}

.browser-header {
    background: #FAF9F5;
    border-bottom: 1px solid var(--border-light);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-dark);
}

.browser-url {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: 1.5rem;
}

.browser-content {
    padding: 2.5rem;
    color: var(--text-primary);
    background: #FFFFFF;
}

.matrix-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.matrix-card {
    background: var(--bg-paper);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1.75rem;
    position: relative;
}

.matrix-card.high-alert {
    border-left: 6px solid var(--accent-red);
    background: #FFF;
    box-shadow: 0 6px 20px rgba(163, 29, 29, 0.06);
}

.matrix-card h4 {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin: 0.25rem 0;
}

.matrix-card .badge {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: bold;
    color: var(--text-secondary);
}

.matrix-card .badge.red-badge {
    color: var(--accent-red);
}

.matrix-recommendation {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Callout annotations */
.annotations-box {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.annotation-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.annotation-number {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: bold;
    color: var(--bg-paper);
    background: var(--accent-gold);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.annotation-item p {
    font-size: 13px;
    color: rgba(243, 240, 232, 0.72);
    line-height: 1.4;
}

/* Signal Product Interface Dashboard */
.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr;
    background: #FFFFFF;
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 480px;
}

@media(min-width: 768px) {
    .dashboard-layout {
        grid-template-columns: 160px 1fr;
    }
}

.dashboard-sidebar {
    background: #FAF9F5;
    border-right: 1px solid var(--border-light);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-brand {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-item {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem 0;
    font-family: var(--font-mono);
}

.nav-item.active {
    color: var(--accent-teal);
    font-weight: 700;
}

.dashboard-main {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #FFFFFF;
}

.dashboard-header {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.run-status {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

.run-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 0.25rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media(min-width: 600px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.metric-box {
    background: #FAF9F5;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.metric-val {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-val.text-red {
    color: var(--accent-red);
}

.action-card {
    background: #FFF;
    border: 1.5px solid var(--border-dark);
    border-left: 5px solid var(--accent-teal);
    border-radius: 4px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.action-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-teal);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.action-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}

/* GenSort Workspace Screenshot Sizing & Grid */
.workspace-layout {
    background: #FFFFFF;
    border: 1px solid rgba(243, 240, 232, 0.15);
    border-radius: 6px;
    display: grid;
    grid-template-columns: 1fr;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    color: var(--text-primary);
    overflow: hidden;
    min-height: 420px;
}

@media(min-width: 768px) {
    .workspace-layout {
        grid-template-columns: 200px 1fr;
    }
}

.workspace-sidebar {
    background: #FAF9F5;
    border-right: 1px solid var(--border-light);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
}

.sidebar-folder-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-header {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.sidebar-item {
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-sans);
}

.sidebar-item.active-folder {
    font-weight: 700;
    color: var(--accent-teal);
}

.status-box {
    background: #FFF;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 2rem;
}

.status-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.status-value {
    font-size: 14px;
    font-weight: 700;
}

.status-value.text-teal {
    color: var(--accent-teal);
}

.workspace-main {
    background: #FFFFFF;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.workspace-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.85rem;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

.contact-sheet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
}

.grid-card {
    background: var(--bg-paper);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.grid-card-img {
    height: 160px;
    background: #FFF;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
}

.grid-card-name {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.grid-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
}

.tag-keep {
    background: rgba(15, 118, 110, 0.08);
    color: var(--accent-teal);
}

.tag-duplicate {
    background: rgba(163, 29, 29, 0.08);
    color: var(--accent-red);
}

.grid-card.card-compare {
    background: #FFF;
    border: 1px dashed var(--accent-gold);
    justify-content: center;
    padding: 1.5rem;
}

.compare-details h5 {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.compare-details p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* 3. Message Analysis Visual (Editorial Split Panel) */
.editorial-panel.light-editorial-bg {
    background: #FAF9F5;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 3rem 1.5rem;
    color: #1F1F1D;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

@media(min-width: 768px) {
    .editorial-panel.light-editorial-bg {
        padding: 4rem 3rem;
    }
}

.quote-box-light {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 2.25rem 2rem;
    font-family: var(--font-serif);
    font-size: 1.85rem;
    line-height: 1.45;
    color: #1F1F1D;
    font-style: italic;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.hl-teal-light {
    color: #0D9488;
    font-style: normal;
    background: rgba(13, 148, 136, 0.08);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-weight: 700;
}

.hl-red-light {
    color: #DC2626;
    font-style: normal;
    background: rgba(220, 38, 38, 0.08);
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-weight: 700;
}

.connector-line-dark {
    width: 2px;
    height: 40px;
    background: rgba(0, 0, 0, 0.15);
}

.connector-mismatch-badge-editorial {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #DC2626;
    border: 1.5px solid #DC2626;
    background: #FFFFFF;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.08);
}

/* Timeline component below quotes */
.timeline-row {
    margin-top: 3.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: space-between;
}

@media(min-width: 768px) {
    .timeline-row {
        flex-direction: row;
        gap: 2rem;
    }
}

.timeline-point {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    padding-left: 1.25rem;
}

.timeline-point::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
}

.timeline-point.point-highlight-red::before {
    background: #DC2626;
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.4);
}

.timeline-point.point-highlight-teal::before {
    background: #0D9488;
    box-shadow: 0 0 8px rgba(13, 148, 136, 0.4);
}

.time-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #1F1F1D;
}

.point-desc {
    font-size: 13px;
    color: rgba(31, 31, 29, 0.7);
}

/* 4. Record Integrity (4 illustrated stages) */
.provenance-flow-container-large {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: rgba(243, 240, 232, 0.02);
    border: 1px dashed rgba(243, 240, 232, 0.15);
    border-radius: 6px;
    padding: 4rem 2rem;
}

@media(min-width: 850px) {
    .provenance-flow-container-large {
        flex-direction: row;
        gap: 1.5rem;
        padding: 5rem 3.5rem;
    }
}

.large-flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 200px;
}

.file-icon-large {
    font-size: 5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

.modified-file .delta-mark {
    position: absolute;
    bottom: -5px;
    right: -10px;
    background: var(--accent-gold);
    color: #121210;
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #121210;
}

.fingerprint-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--accent-gold);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(197, 160, 89, 0.05);
    color: var(--accent-gold);
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.15));
}

.fingerprint-icon {
    font-size: 2.25rem;
}

.fingerprint-code {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.verification-box-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2.5px solid var(--accent-teal);
    background: rgba(45, 212, 191, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
    filter: drop-shadow(0 0 15px rgba(45, 212, 191, 0.15));
}

.verified-icon-large {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
}

.verified-text-large {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

.stage-name {
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(243, 240, 232, 0.75);
    text-align: center;
}

.large-flow-arrow {
    font-size: 2.5rem;
    color: rgba(243, 240, 232, 0.25);
    font-family: var(--font-sans);
}

@media(max-width: 849px) {
    .large-flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

/* ==========================================================================
   SELECTED PROOF ROW [NEW]
   ========================================================================== */
.proof-section {
    padding: 3rem 0;
    border-top: 1px dashed var(--border-dark);
    border-bottom: 1px dashed var(--border-dark);
    background: var(--bg-paper);
}

.proof-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.proof-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media(min-width: 768px) {
    .proof-row {
        grid-template-columns: repeat(5, 1fr);
    }
}

.proof-item {
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    border-left: 3.5px solid var(--border-light);
    border-radius: 4px;
    padding: 2.25rem 1.75rem;
    background: var(--bg-panel);
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
}

.proof-item:hover {
    border-color: var(--border-dark);
    border-left-color: var(--accent-teal);
    background: var(--bg-card);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.proof-metric {
    font-family: var(--font-mono);
    font-size: 32px;              /* Enlarge metrics */
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 0.35rem;
    line-height: 1;
}

.proof-item h4 {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    transition: var(--transition-smooth);
}

.proof-item:hover h4 {
    color: var(--accent-teal);
}

.proof-item p {
    font-size: 15px;
    line-height: 1.45;
    color: var(--text-secondary);
}

/* ==========================================================================
   SHARED METHOD SECTION
   ========================================================================== */
.method-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-light);
}

.method-header {
    max-width: 800px;
    margin-bottom: 4rem;
}

.process-flow-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
    margin-top: 4rem;
}

@media(min-width: 900px) {
    .process-flow-container {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.5rem;
    }
    .process-flow-container::before {
        content: "";
        position: absolute;
        top: 24px;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--border-dark);
        z-index: 1;
    }
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-teal);
    background: var(--bg-paper);
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--border-dark);
    border-radius: 3px;
    margin-bottom: 1.25rem;
    font-weight: 600;
    transition: var(--transition-smooth);
    z-index: 3;
}

.process-step:hover .step-num {
    border-color: var(--accent-teal);
    background: var(--accent-teal);
    color: var(--bg-paper);
    box-shadow: 0 0 12px rgba(15, 118, 110, 0.3);
}

.step-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-desc {
    font-family: var(--font-sans);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ==========================================================================
   JAYME PORTFOLIO / SPECIFICS
   ========================================================================== */

/* Hero Collage Container */
.hero-collage {
    position: relative;
    width: 100%;
    height: 380px;
    margin: 2rem auto 0;
    max-width: 480px;
    transform: scale(0.85);
    transform-origin: center center;
}

@media(min-width: 480px) {
    .hero-collage {
        height: 440px;
        transform: scale(1);
    }
}

@media(min-width: 950px) {
    .hero-collage {
        margin: 0;
        height: 520px;
        transform: scale(1);
        width: 100%;
    }
}

/* Individual Collage Card / Item */
.collage-item {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: var(--font-sans);
}

.collage-item:hover {
    transform: translateY(-5px) scale(1.03) rotate(0deg) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.02);
    z-index: 10 !important;
}

/* Specific Positions, Rotations & Z-indices */
.signal-panel-fragment {
    top: 5%;
    left: 2%;
    width: 78%;
    transform: rotate(-1.5deg);
    z-index: 3;
}

.gensort-grid-fragment {
    top: 35%;
    right: 2%;
    width: 75%;
    transform: rotate(2deg);
    z-index: 4;
}

.message-analysis-fragment {
    bottom: 5%;
    left: 8%;
    width: 76%;
    transform: rotate(-1deg);
    z-index: 5;
}

/* Label overlay for each collage card */
.collage-label {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-light);
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 8.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* High-Fidelity Mockup Windows for Project Previews */
.mockup-window {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mockup-header {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-light);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    position: relative;
}

.mockup-dots {
    display: flex;
    gap: 5px;
    position: absolute;
    left: 12px;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background-color: #ff5f56; }
.dot-yellow { background-color: #ffbd2e; }
.dot-green { background-color: #27c93f; }

.mockup-title {
    font-family: var(--font-mono);
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin: 0 auto;
}

.mockup-body {
    padding: 1rem;
    background: var(--bg-card);
}

.mockup-sidebar-layout {
    display: grid;
    grid-template-columns: 80px 1fr;
    padding: 0;
    min-height: 180px;
}

.mockup-sidebar {
    background: var(--bg-panel);
    border-right: 1px solid var(--border-light);
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-item {
    font-size: 8.5px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 4px 6px;
    border-radius: 3px;
    cursor: default;
    white-space: nowrap;
}

.sidebar-item.active {
    background: var(--border-light);
    color: var(--text-primary);
}

.mockup-content {
    padding: 12px;
    flex-grow: 1;
    overflow-x: auto;
}

/* Mockup Table */
.mockup-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10.5px;
    color: var(--text-secondary);
}

.mockup-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 8px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-dark);
    padding: 4px;
    text-align: left;
}

.mockup-table td {
    padding: 6px 4px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.mockup-table td strong {
    color: var(--text-primary);
    display: block;
    font-size: 10px;
}

/* Badges inside Mockups */
.badge {
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: bold;
    padding: 1px 4px;
    border-radius: 2px;
    display: inline-block;
}

.badge-crit {
    background: rgba(163, 29, 29, 0.1);
    color: var(--accent-red);
}

.badge-high {
    background: rgba(197, 160, 89, 0.1);
    color: var(--accent-gold);
}

.badge-keep {
    background: rgba(77, 124, 15, 0.1);
    color: var(--accent-lime);
}

.badge-dupe {
    background: rgba(163, 29, 29, 0.1);
    color: var(--accent-red);
}

.badge-new {
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent-teal);
}

.intro-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media(min-width: 800px) {
    .intro-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.intro-lead {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--text-primary);
    border-left: 4px solid var(--accent-teal);
    padding-left: 1.5rem;
}

.intro-meta {
    background: var(--bg-panel);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.intro-meta h3 {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.intro-meta-list {
    list-style: none;
}

.intro-meta-list li {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
}

.intro-meta-list li strong {
    color: var(--text-primary);
}

/* Selected Work / Portfolio Case Studies */
.portfolio-work-section {
    padding: 6rem 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.case-study-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.case-study-card:hover {
    border-color: var(--border-dark);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.case-study-header {
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    background: var(--bg-panel);
}

.case-study-title-wrapper {
    display: flex;
    flex-direction: column;
}

.case-study-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-top: 0.25rem;
}

/* Status Labels & Badges */
.status-badge {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: bold;
    padding: 0.35rem 0.75rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    display: inline-block;
}

.status-badge.working-prototype {
    background: rgba(77, 124, 15, 0.1);
    color: var(--accent-lime);
}

.status-badge.working-prototype::before {
    background: var(--accent-lime);
}

.status-badge.functional-demonstration {
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent-teal);
}

.status-badge.functional-demonstration::before {
    background: var(--accent-teal);
}

.status-badge.concept-architecture {
    background: rgba(197, 160, 89, 0.1);
    color: #b08639;
}

.status-badge.concept-architecture::before {
    background: var(--accent-gold);
}

.status-badge.case-study {
    background: rgba(87, 86, 81, 0.1);
    color: var(--text-secondary);
}

.status-badge.case-study::before {
    background: var(--text-secondary);
}

.status-badge.production-client-work {
    background: rgba(31, 31, 29, 0.08);
    color: var(--text-primary);
}

.status-badge.production-client-work::before {
    background: var(--text-primary);
}

/* Case Study Content Grid */
.case-study-body {
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media(min-width: 900px) {
    .case-study-body {
        grid-template-columns: 1.2fr 1fr;
    }
}

.case-study-narrative {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-study-section h4 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.case-study-section p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.case-study-technical {
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media(min-width: 900px) {
    .case-study-technical {
        border-top: none;
        border-left: 1px solid var(--border-light);
        padding-top: 0;
        padding-left: 2.5rem;
    }
}

.relevant-to-line {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
    padding: 1rem;
    background: var(--bg-panel);
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.relevant-to-line strong {
    color: var(--text-primary);
}

.case-study-footer {
    padding: 1.5rem 2.5rem;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

/* Capabilities (What I Contribute) */
.contribute-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-light);
}

.contribute-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.contribute-card {
    padding: 2rem;
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.contribute-card:hover {
    border-color: var(--border-dark);
    background: var(--bg-card);
}

.contribute-card h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contribute-card h3::before {
    content: "■";
    font-size: 0.75rem;
    color: var(--accent-teal);
}

.contribute-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Operating Background */
.operating-section {
    padding: 6rem 0;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-light);
}

.operating-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media(min-width: 800px) {
    .operating-grid {
        grid-template-columns: 1fr 1.5fr;
    }
}

.operating-lead {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.operating-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.operating-block {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border-light);
}

.operating-block h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.operating-block p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   PROSE / EDITORIAL STYLING (FOR CREATIVE & PROSE PAGES)
   ========================================================================== */
.prose {
    max-width: 720px;
    margin: 0 auto;
}

.prose p {
    font-size: 1.12rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.pull-quote {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-primary);
    border-left: 2px solid var(--accent-red);
    padding-left: 1.5rem;
    margin: 2.5rem 0 2.5rem -1rem;
    line-height: 1.5;
}

.chapter-number {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-red);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

/* ==========================================================================
   RESOURCE GUIDE / SEARCH DASHBOARD
   ========================================================================== */
.dashboard-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.01);
}

.search-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 2rem;
}

@media(min-width: 800px) {
    .search-controls {
        grid-template-columns: 1.5fr 1fr;
    }
}

.search-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-input-field {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    width: 100%;
    background: var(--bg-paper);
}

.filter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    font-weight: bold;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn:hover {
    border-color: var(--border-dark);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-teal);
    color: var(--bg-paper);
    border-color: var(--accent-teal);
}

/* Directory Table & Responsive Grids */
.results-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.results-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

.clear-filters-btn {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-red);
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.directory-table-wrapper {
    overflow-x: auto;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    background: var(--bg-card);
}

.directory-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.directory-table th {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 1rem;
    background: var(--bg-panel);
    border-bottom: 2px solid var(--border-light);
}

.directory-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
    vertical-align: top;
}

.directory-table tr:last-child td {
    border-bottom: none;
}

.directory-table tr:hover {
    background: rgba(243, 241, 235, 0.3);
}

.table-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    background: var(--bg-panel);
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-block;
}

.table-source-lbl {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-panel);
    border: 1px dashed var(--border-dark);
    border-radius: 4px;
    color: var(--text-secondary);
}

.empty-state h3 {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

/* Mobile responsive card presentation of resources */
.mobile-cards-wrapper {
    display: none;
}

@media(max-width: 768px) {
    .directory-table-wrapper {
        display: none;
    }
    .mobile-cards-wrapper {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    .resource-mobile-card {
        background: var(--bg-card);
        border: 1px solid var(--border-light);
        border-radius: 4px;
        padding: 1.5rem;
    }
    .mobile-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: 0.75rem;
        margin-bottom: 0.75rem;
    }
    .mobile-card-title {
        font-family: var(--font-serif);
        font-size: 1.25rem;
        font-weight: 600;
    }
    .mobile-card-row {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    .mobile-card-row strong {
        font-family: var(--font-mono);
        font-size: 11px;
        text-transform: uppercase;
        color: var(--text-secondary);
        display: block;
    }
}

/* ==========================================================================
   AUDIT FORM / CONTACT
   ========================================================================== */
.audit-section {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-light);
}

.audit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

@media(min-width: 900px) {
    .audit-grid {
        grid-template-columns: 1.25fr 1fr; /* Left-side intro is larger, form is narrower */
    }
}

.audit-info h2 {
    margin-bottom: 1.5rem;
}

.audit-info p {
    font-size: 1.15rem;          /* Make left-side text slightly larger */
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.audit-form-container {
    background: var(--bg-panel);
    padding: 2rem;               /* Reduced form visual weight */
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.audit-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-mono);
    font-size: 13px;             /* Increased label size */
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    font-weight: bold;
}

.form-input, .form-textarea {
    font-family: var(--font-sans);
    font-size: 15px;             /* Enlarge small input text */
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light); /* Lighter border for reduced visual weight */
    background: var(--bg-card);
    color: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition-smooth);
    width: 100%;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}

.form-submit {
    font-family: var(--font-sans);
    font-size: 14px;             /* Standardized button text */
    font-weight: 600;
    color: var(--bg-paper);
    background: var(--accent-teal);
    border: 1px solid var(--accent-teal);
    padding: 0.9rem;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
}

.form-submit:hover {
    background: #0d635c;
    border-color: #0d635c;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    background: var(--bg-paper);
    border-top: 1px solid var(--border-light);
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media(min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-logo-area {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer .logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

footer .logo span {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

footer .brand-mark {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    display: inline-block;
}

.footer-logo-area p {
    font-family: var(--font-sans);
    font-size: 0.875rem; /* 14px */
    color: var(--text-secondary);
}

.footer-copy {
    font-family: var(--font-sans);
    font-size: 0.875rem; /* 14px */
    color: var(--text-secondary);
}

.footer-copy a {
    font-family: var(--font-mono);
    font-size: 0.75rem; /* 12px min */
    text-decoration: none;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: var(--transition-smooth);
}

.footer-copy a:hover {
    color: var(--accent-teal);
}

/* ==========================================================================
   ACCESSIBILITY & KEYBOARD NAVIGATION
   ========================================================================== */
a:focus-visible, 
button:focus-visible, 
input:focus-visible, 
textarea:focus-visible {
    outline: var(--focus-outline);
    outline-offset: 3px;
}

/* Skip to main content link for screenreaders */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent-teal);
    color: white;
    padding: 8px;
    z-index: 1001;
    transition: top 0.2s;
    font-family: var(--font-sans);
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
}

/* Reduced Motion Override */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-delay: 0s !important;
        animation-duration: 0s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0s !important;
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   PROOF OF WORK PAGE SPECIFICS
   ========================================================================== */
.pow-section-intro {
    max-width: 800px;
    margin-bottom: 3rem;
}

.pow-grid-featured {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.pow-grid-compact, .pow-grid-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* POW Cards */
.pow-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.pow-card:hover {
    border-color: var(--border-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.pow-card__body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.pow-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 1rem;
}

.pow-card__meta {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

.pow-card__niche {
    color: var(--accent-teal);
    font-weight: bold;
}

.pow-card__status {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}

.pow-card__status.live {
    background: rgba(77, 124, 15, 0.1);
    color: var(--accent-lime);
}

.pow-card__status.concept {
    background: rgba(197, 160, 89, 0.1);
    color: #b08639;
}

.pow-card__status.prototype {
    background: rgba(15, 118, 110, 0.1);
    color: var(--accent-teal);
}

.pow-card__title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-primary);
}

.pow-card__section h4 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pow-card__section p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pow-card__tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pow-card__tags li {
    font-family: var(--font-mono);
    font-size: 12px;
    background: var(--bg-panel);
    color: var(--text-secondary);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.pow-card__media {
    position: relative;
    background: var(--bg-panel);
    border-top: 1px solid var(--border-light);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pow-card__mockup-fallback {
    width: 85%;
    height: 80%;
    background: #1C1C1A;
    border-radius: 6px 6px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

.pow-card__mockup-browser {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pow-card__mockup-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.pow-card__mockup-address {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 0.5rem;
}

.pow-card__mockup-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
}

.pow-card__mockup-icon {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.pow-card__mockup-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
}

.pow-card__mockup-tagline {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.1rem;
}

.pow-card__footer {
    padding: 1.25rem 2rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
}

.pow-card__cta {
    font-family: var(--font-sans);
    font-size: 14px;             /* Standardized button text */
    font-weight: 600;
    color: var(--accent-teal);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.pow-card__cta:hover {
    color: #0d635c;
    text-decoration: underline;
}

.pow-jump-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.pow-jump-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    transition: var(--transition-smooth);
    background: var(--bg-panel);
}

.pow-jump-link:hover {
    color: var(--text-primary);
    border-color: var(--border-dark);
    background: var(--bg-card);
}

/* ==========================================================================
   EDITORIAL CREATIVE PRACTICE
   ========================================================================== */
.creative-practice-editorial {
    margin-top: 4rem;
    position: relative;
}

.red-thread-gesture {
    height: 1.5px;
    background: linear-gradient(to right, var(--accent-red), transparent);
    width: 100%;
    margin-bottom: 3.5rem;
}

.wolves-editorial-block {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border-light);
}

.manuscript-status {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.creative-title, .wolves-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.05;
    margin-bottom: 2rem;
}

.wolves-quote {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-style: italic;
    color: var(--text-primary);
    border-left: 2.5px solid var(--accent-red);
    padding-left: 1.5rem;
    margin: 2.5rem 0;
    line-height: 1.5;
}

.wolves-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.btn-wolves {
    background: var(--accent-red);
    border-color: var(--accent-red);
}
.btn-wolves:hover {
    background: #8b1818;
    border-color: #8b1818;
}

.wolves-visual-side {
    display: none;
}

.cartographic-illustration {
    width: 100%;
    max-width: 320px;
    opacity: 0.85;
}

.map-svg {
    width: 100%;
    height: auto;
}

/* Related Works below Wolves */
.related-works-section {
    padding-top: 5rem;
}

.related-works-title {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.related-works-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media(min-width: 768px) {
    .related-works-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.related-work-card {
    text-decoration: none;
    color: var(--text-primary);
    background: var(--bg-panel);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 2.25rem;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.related-work-card:hover {
    border-color: var(--border-dark);
    background: var(--bg-card);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.related-category {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-teal);
}

.related-work-card h5 {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
}

.related-work-card p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Toggle input and label default hidden */
.nav-toggle,
.nav-toggle-label {
    display: none;
}

/* Mobile Responsive Global Navbar & Page Override */
@media(max-width: 900px) {
    /* 1. Global mobile container & grid corrections */
    .container,
    .wide-container,
    .project-container {
        width: min(100% - 40px, 680px) !important;
        max-width: none !important;
        margin-inline: auto !important;
    }

    .hero-grid,
    .project-grid,
    .project-row,
    .contact-grid,
    .creative-grid,
    .section-intro-grid,
    .hero-container-grid,
    .systems-grid-dark,
    .audit-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }

    section {
        padding-block: 64px !important;
    }

    /* 2. Mobile navigation menu with hamburger toggle */
    .navbar {
        height: 64px !important;
        padding: 0 1.25rem !important;
        position: fixed !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .nav-toggle-label {
        display: flex !important;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label::before,
    .nav-toggle-label::after {
        content: "";
        height: 2px;
        width: 100%;
        background-color: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .nav-toggle-label::before { transform-origin: top left; }
    .nav-toggle-label::after { transform-origin: bottom left; }

    .navbar .nav-links {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        width: 100% !important;
        height: calc(100vh - 64px) !important;
        background: #F7F4ED !important; /* Warm paper color */
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 3rem 2.5rem !important;
        gap: 2rem !important;
        transform: translateY(-100%) !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        z-index: 999 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
        border-bottom: 1px solid var(--border-light) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        display: flex !important;
        max-width: none !important;
    }
    
    #nav-toggle:checked ~ .nav-links {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    #nav-toggle:checked ~ .nav-toggle-label span {
        opacity: 0;
    }
    #nav-toggle:checked ~ .nav-toggle-label::before {
        transform: translateY(8px) rotate(45deg);
        background-color: var(--accent-red);
    }
    #nav-toggle:checked ~ .nav-toggle-label::after {
        transform: translateY(-8px) rotate(-45deg);
        background-color: var(--accent-red);
    }
    
    .navbar .nav-links a {
        font-family: var(--font-serif);
        font-size: 1.25rem !important;
        width: 100%;
        color: var(--text-primary);
    }
    .navbar .nav-links a.nav-cta {
        font-family: var(--font-mono) !important;
        font-size: 12px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        color: #FAF9F5 !important;
    }
    .navbar .nav-btn {
        width: 100% !important;
        text-align: center !important;
        font-size: 1.1rem !important;
        padding: 0.8rem !important;
    }
    
    /* Sub-navbar scrollable */
    .sub-navbar {
        top: 64px !important;
        position: sticky !important;
    }
    
    /* 3. Mobile Hero layout */
    .hero, .hero-premium {
        min-height: auto !important;
        padding-top: 96px !important;
        padding-bottom: 64px !important;
    }
    
    .hero-premium .hero-headline,
    .hero-title {
        font-size: clamp(2.75rem, 13vw, 4rem) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.04em !important;
        max-width: none !important;
    }
    
    .hero-premium .hero-text-column {
        max-width: 100% !important;
    }
    
    .hero-visual-column,
    .hero-visual {
        width: 100% !important;
        min-height: 260px !important;
        margin-top: 40px !important;
    }
    
    /* 4. Flagship Systems mobile stacking */
    .flagship-project {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding-block: 48px !important;
    }
    
    .project-visual,
    .project-screenshot,
    .project-diagram,
    .visual-panel {
        width: 100% !important;
        max-width: none !important;
        min-height: 260px !important;
        margin: 0 !important;
    }
    
    /* 5. Signal Mobile Crop */
    .dashboard-sidebar {
        display: none !important;
    }
    
    .dashboard-layout {
        grid-template-columns: 1fr !important;
    }
    
    .findings-list .finding-item:not(.active-finding) {
        display: none !important;
    }
    
    /* 6. GenSort Mobile Crop */
    .workspace-sidebar {
        display: none !important;
    }
    
    .workspace-layout {
        grid-template-columns: 1fr !important;
    }
    
    .workspace-main {
        padding: 1.25rem !important;
    }
    
    .contact-sheet-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)) !important;
    }
    
    /* 7. Message Analysis Mobile */
    .message-analysis-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* 8. Record Integrity Mobile (Vertical Flow) */
    .provenance-flow-container-large {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.25rem !important;
    }
    
    .provenance-arrow {
        text-align: center !important;
        transform: rotate(90deg) !important;
        margin-block: 0.5rem !important;
        font-size: 1.75rem !important;
    }
    
    .large-flow-node {
        width: 100% !important;
        flex: none !important;
    }
    
    /* 9. Vertical timeline for approach process steps */
    .process-flow-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding-left: 1.5rem !important;
        border-left: 2px solid var(--border-dark) !important;
        margin-left: 0.5rem !important;
    }
    
    /* 10. Typography overrides */
    body, body.page-professional p {
        font-size: 16px !important;
    }
    
    .project-copy, .step-desc, .build-desc {
        font-size: 16px !important;
    }
    
    .btn {
        font-size: 14px !important;
    }
    
    .eyebrow, .technical-label {
        font-size: 11px !important;
    }
    
    .project-title, .build-title {
        font-size: clamp(30px, 6vw, 38px) !important;
    }
    
    .section-title {
        font-size: clamp(38px, 8vw, 48px) !important;
    }
}

/* ==========================================================================
   SELECTED BUILDS SECTION (LIGHT EDITORIAL)
   ========================================================================== */
.builds-section {
    background-color: var(--bg-paper);
    padding: 120px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.builds-header {
    max-width: 720px;
    margin-bottom: 5rem;
}

.builds-list {
    display: flex;
    flex-direction: column;
}

.build-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 8rem;
}

.build-row:last-child {
    margin-bottom: 0;
}

@media(min-width: 950px) {
    .build-row {
        grid-template-columns: 1.1fr 0.9fr;
        gap: clamp(3rem, 7vw, 7rem);
    }
    
    .build-row.row-reverse {
        grid-template-columns: 0.9fr 1.1fr;
    }
    
    .build-row.row-reverse .build-meta-col {
        order: 2;
    }
    .build-row.row-reverse .build-visual-col {
        order: 1;
    }
}

.build-meta-col {
    display: flex;
    flex-direction: column;
}

.build-num {
    font-family: var(--font-mono);
    font-size: 15px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.build-category {
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.build-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.build-desc {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.build-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-left: 0;
    list-style: none;
}

.build-detail-item {
    position: relative;
    padding-left: 1.75rem;
}

.build-detail-item::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: bold;
}

.build-detail-item h4 {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.build-detail-item p {
    font-family: var(--font-sans);
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.build-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

/* Build Visuals */
.build-visual-col {
    position: relative;
}

.build-browser-frame {
    background: #FFFFFF;
    border: 1px solid var(--border-dark);
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.build-browser-header {
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-light);
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-dark);
}

.browser-url-bar {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 9.5px;
    color: var(--text-secondary);
    padding: 2px 1.5rem;
    text-align: center;
    width: 60%;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 1. INNcontrol visual details */
.inncoils-diagram {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
}

@media(min-width: 480px) {
    .inncoils-diagram {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

/* 2. D2 Auto Detail visual details */
.d2-container {
    position: relative;
    height: 380px;
    width: 100%;
}

.d2-main-site {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 70%;
    height: 280px;
    z-index: 10;
}

.d2-dashboard-panel {
    position: absolute;
    border: 1px solid var(--border-dark);
    background: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    z-index: 5;
    padding: 10px;
    font-family: var(--font-sans);
    font-size: 10px;
}

.d2-dash-1 {
    top: 50px;
    right: 20px;
    width: 45%;
    height: 140px;
    background: #FFFFFF;
}

.d2-dash-2 {
    bottom: 20px;
    right: 35px;
    width: 45%;
    height: 140px;
    background: #FFFFFF;
    z-index: 6;
}

/* 3. EDR Party Rentals visual details */
.edr-inventory-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 1.25rem;
}

@media(min-width: 480px) {
    .edr-inventory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   CONCEPT LAB SECTION (WARM & SEPARATE)
   ========================================================================== */
.concept-lab-section {
    background-color: var(--bg-panel);
    padding: 110px 0;
    border-top: 1px solid var(--border-light);
}

.concept-lab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media(min-width: 768px) {
    .concept-lab-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(min-width: 1050px) {
    .concept-lab-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.concept-card {
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: var(--transition-smooth);
}

.concept-card:hover {
    border-color: var(--border-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.concept-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.concept-card-category {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-red);
    text-transform: uppercase;
    font-weight: 600;
}

.concept-card-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-primary);
    line-height: 1.25;
}

.concept-card-desc {
    font-family: var(--font-sans);
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

/* ==========================================================================
   PROFESSIONAL PORTFOLIO TYPOGRAPHY SYSTEM
   Scoped to body.page-professional — /jayme/ and /jayme/product-experience/ only.
   Newsreader remains the global default for /creative/ and the Wolves page.
   ========================================================================== */

body.page-professional {
    --font-pro: 'Manrope', 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Headings: all use Manrope ─────────────────────────────────────── */
body.page-professional h1,
body.page-professional h2,
body.page-professional h3,
body.page-professional h4 {
    font-family: var(--font-pro);
}

/* ── Hero h1 ───────────────────────────────────────────────────────── */
body.page-professional .hero-headline,
body.page-professional .hero-premium .hero-headline {
    font-family: var(--font-pro);
    font-size: clamp(2.6rem, 4.8vw, 4.75rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.045em;
    color: #0E1F1B;
    margin: 0.9rem 0 1.2rem 0;
    max-width: 820px;
}

/* ── Widen hero text column so headline reads in ~3 natural lines ─── */
body.page-professional .hero-text-column {
    max-width: 52%;
}

@media(max-width: 950px) {
    body.page-professional .hero-text-column {
        max-width: 100%;
    }
}

/* ── Section headings (h2 / .section-title) ────────────────────────── */
body.page-professional h2,
body.page-professional .section-title,
body.page-professional .portfolio-section-title {
    font-family: var(--font-pro);
    font-size: clamp(1.8rem, 2.8vw, 3.1rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

/* ── Project / case study headings (h3) ────────────────────────────── */
body.page-professional h3,
body.page-professional .project-title {
    font-family: var(--font-pro);
    font-size: clamp(1.4rem, 2vw, 2.25rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

/* ── Sub-section headings (h4) ─────────────────────────────────────── */
body.page-professional h4 {
    font-family: var(--font-pro);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* ── Individual project label/title inside a portfolio card ────────── */
body.page-professional .project-card-title,
body.page-professional .mockup-window .project-name {
    font-family: var(--font-pro);
    font-size: clamp(1.4rem, 2vw, 2.1rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* ── Reduce margin above and below large headings ~20% ─────────────── */
body.page-professional h1 { margin-top: 0.8rem; margin-bottom: 0.8rem; }
body.page-professional h2 { margin-top: 0.64rem; margin-bottom: 0.64rem; }
body.page-professional h3 { margin-top: 0.4rem; margin-bottom: 0.4rem; }

/* ── Body copy: 16–18px (unchanged) ───────────────────────────────── */
body.page-professional p {
    font-size: 16px;
    line-height: 1.65;
}

/* ── Labels, tags, status indicators: IBM Plex Mono ───────────────── */
body.page-professional .eyebrow,
body.page-professional .tag,
body.page-professional .status-tag,
body.page-professional .mockup-label,
body.page-professional .collage-label,
body.page-professional .portfolio-tag {
    font-family: var(--font-mono);
}

/* ── Buttons ───────────────────────────────────────────────────────── */
body.page-professional .btn {
    font-family: var(--font-pro);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   HOMEPAGE VISUALS OVERHAUL CUSTOM STYLES
   ========================================================================== */

/* ── Hero Collage ────────────────────────────────────────────────────────── */
.hero-systems-collage {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 440px;
    background: #FAF9F6;
    border: 1px solid rgba(197, 160, 89, 0.3); /* Muted gold rule */
    border-radius: 6px;
    box-shadow: 0 16px 40px rgba(16, 33, 29, 0.05);
    overflow: hidden;
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 118, 110, 0.1) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    z-index: 1;
}

.hero-floating-card {
    position: absolute;
    background: #090a0f;
    border: 1px solid rgba(243, 240, 232, 0.1);
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    z-index: 3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    color: #f3f0e8;
}

.hero-floating-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
    border-color: rgba(243, 240, 232, 0.2);
}

.hero-floating-card .card-header {
    background: #0f111a;
    border-bottom: 1px solid rgba(243, 240, 232, 0.08);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-floating-card .card-header .dot {
    width: 6px;
    height: 6px;
    background: rgba(243, 240, 232, 0.25);
    border-radius: 50%;
}

.hero-floating-card .card-header .url {
    font-family: var(--font-mono);
    font-size: 8px;
    color: #8e94a5;
    margin-left: auto;
}

/* Specific Card Layouts */
.hero-floating-card.card-signal {
    width: 200px;
    top: 40px;
    left: 40px;
}

.hero-floating-card.card-signal .card-content {
    padding: 12px;
}

.hero-floating-card.card-signal .metric {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: #ff5e5e;
}

.hero-floating-card.card-signal .desc {
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.hero-floating-card.card-gensort {
    width: 220px;
    top: 180px;
    left: 280px;
}

.hero-floating-card.card-gensort .card-content-img {
    padding: 8px;
}

.hero-floating-card.card-gensort .badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(52, 211, 153, 0.9);
    color: #000;
    font-family: var(--font-mono);
    font-size: 8px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
}

.hero-floating-card.card-integrity {
    width: 240px;
    top: 280px;
    left: 30px;
}

.hero-floating-card.card-integrity .card-content {
    padding: 12px;
}

.hero-floating-card.card-integrity .hash {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #ffc252;
}

.hero-floating-card.card-integrity .status-stamp {
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: bold;
    color: #34d399;
    margin-top: 4px;
}

.hero-svg-connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* ── Record Integrity Stack ─────────────────────────────────────────────── */
.provenance-stack {
    position: relative;
    width: 100%;
    height: 380px;
    background: rgba(243, 240, 232, 0.02);
    border: 1px solid rgba(243, 240, 232, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.provenance-grid-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(243, 240, 232, 0.05) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    z-index: 1;
}

.prov-card {
    position: absolute;
    background: #141620;
    border: 1px solid rgba(243, 240, 232, 0.08);
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 3;
    color: #f3f0e8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.prov-card .card-header {
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(243, 240, 232, 0.05);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.prov-card .card-icon {
    font-size: 12px;
}

.prov-card .card-title {
    font-family: var(--font-mono);
    font-size: 9px;
    font-weight: bold;
    color: #8e94a5;
    letter-spacing: 0.05em;
}

.prov-card .card-body {
    padding: 12px;
    flex: 1;
}

.prov-card .card-footer {
    background: rgba(0,0,0,0.1);
    border-top: 1px solid rgba(243, 240, 232, 0.04);
    padding: 6px 12px;
    font-family: var(--font-mono);
    font-size: 9px;
    color: #8e94a5;
}

/* Card Specific Positions */
.prov-card.card-source {
    width: 170px;
    top: 30px;
    left: 30px;
}

.prov-card.card-source .bar-long {
    height: 4px;
    width: 80%;
    background: rgba(243, 240, 232, 0.15);
    margin-bottom: 4px;
}
.prov-card.card-source .bar-medium {
    height: 4px;
    width: 60%;
    background: rgba(243, 240, 232, 0.15);
    margin-bottom: 4px;
}
.prov-card.card-source .bar-short {
    height: 4px;
    width: 40%;
    background: rgba(243, 240, 232, 0.15);
}

.prov-card.card-delta {
    width: 210px;
    top: 110px;
    left: 170px;
    background: #191427;
    border-color: rgba(167, 139, 250, 0.15);
}

.prov-card.card-delta .delta-diff {
    font-family: var(--font-mono);
    font-size: 9px;
    margin-bottom: 3px;
}
.prov-card.card-delta .delta-diff.text-red { color: #f87171; }
.prov-card.card-delta .delta-diff.text-teal { color: #34d399; }

.prov-card.card-status {
    width: 240px;
    top: 230px;
    left: 310px;
    border-color: rgba(52, 211, 153, 0.2);
}

.prov-card.card-status .integrity-badge {
    background: rgba(52, 211, 153, 0.08);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
    font-size: 10px;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 4px;
    text-align: center;
    letter-spacing: 0.02em;
}

/* ── Architecture Steps ─────────────────────────────────────────────────── */
.architecture-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-teal);
    margin-top: 1rem;
    font-weight: 600;
}

.architecture-steps .step-node {
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    color: #F7F4ED;
}

.project-disclaimer {
    font-size: 11.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    border-top: 1px solid rgba(243, 240, 232, 0.1);
    padding-top: 1rem;
    margin-top: 1.25rem;
}

/* Reverse Split Layout Support */
@media(min-width: 950px) {
    .project-showcase.split-layout-reverse {
        grid-template-columns: 1.65fr 1fr;
        gap: 6rem;
    }
}

/* Mobile Overrides to prevent layout overflow under 500px */
@media(max-width: 500px) {
    .hero-systems-collage {
        height: 350px !important;
    }
    .hero-floating-card.card-signal {
        width: 140px !important;
        top: 20px !important;
        left: 15px !important;
    }
    .hero-floating-card.card-signal .card-content {
        padding: 8px !important;
    }
    .hero-floating-card.card-signal .desc {
        font-size: 10px !important;
    }
    .hero-floating-card.card-gensort {
        width: 150px !important;
        top: 105px !important;
        left: 175px !important;
    }
    .hero-floating-card.card-gensort .card-content-img {
        height: 70px !important;
    }
    .hero-floating-card.card-integrity {
        width: 170px !important;
        top: 220px !important;
        left: 20px !important;
    }
    .hero-floating-card.card-integrity .card-content {
        padding: 8px !important;
    }
    .hero-svg-connectors {
        display: none !important;
    }

    .provenance-stack {
        height: 350px !important;
    }
    .prov-card.card-source {
        width: 130px !important;
        top: 20px !important;
        left: 15px !important;
    }
    .prov-card.card-source .card-body {
        padding: 8px !important;
    }
    .prov-card.card-delta {
        width: 160px !important;
        top: 100px !important;
        left: 160px !important;
    }
    .prov-card.card-delta .card-body {
        padding: 8px !important;
    }
    .prov-card.card-status {
        width: 180px !important;
        top: 215px !important;
        left: 15px !important;
    }
    .prov-card.card-status .card-body {
        padding: 8px !important;
    }
    .prov-connectors {
        display: none !important;
    }
}
