/* INTI NAN DESIGN SYSTEM
   Three Worlds: Kay (Gold), Hanan (Crimson), Ukhu (Teal)
   Fonts: Cinzel (display), Cormorant Garamond (body), Quattrocento (UI)
   Fonts are loaded via <link> in the document head. Do not @import them here.
   Migrated out of Customizer Additional CSS: July 2026
*/

/* === 2. ROOT VARIABLES === */
:root {
    /* Kay Pacha - Puma - Enneagram - Gold */
    --kay-color: #D9A441;
    --kay-color-light: #E8C36A;
    --kay-color-bright: #F5D99A;
    --kay-color-dark: #B8892E;
    --kay-color-90: #faf5e6;
    --kay-color-15: rgba(217, 164, 65, 0.15);
    --kay-color-30: rgba(217, 164, 65, 0.30);
    --kay-color-50: rgba(217, 164, 65, 0.50);
    
    /* Hanan Pacha - Condor - Soul Type - Crimson */
    --hanan-color: #9B2335;
    --hanan-color-light: #B84356;
    --hanan-color-bright: #E8939D;
    --hanan-color-dark: #7A1C2A;
    --hanan-color-90: #f7eced;
    --hanan-color-15: rgba(155, 35, 53, 0.15);
    --hanan-color-30: rgba(155, 35, 53, 0.30);
    --hanan-color-50: rgba(155, 35, 53, 0.50);
    
    /* Ukhu Pacha - Serpent - Healing - Teal */
    --ukhu-color: #3A9DAB;
    --ukhu-color-light: #5BB5C2;
    --ukhu-color-bright: #8DD8E3;
    --ukhu-color-dark: #2E7D88;
    --ukhu-color-90: #edf5f6;
    --ukhu-color-15: rgba(58, 157, 171, 0.15);
    --ukhu-color-30: rgba(58, 157, 171, 0.30);
    --ukhu-color-50: rgba(58, 157, 171, 0.50);
    
    /* Neutrals */
    --deep-cosmos: #0a0a12;
    --dark-surface: #12121a;
    --dark-elevated: #1a1a24;
    --dark-hover: #22222e;
    --star-white: #f0f0f5;
    --muted-white: #C2C2C4;
    --subtle-white: #9A9690;
    --faint-white: #9A9690;
    --ghost-white: rgba(255, 255, 255, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    --border-medium: rgba(255, 255, 255, 0.25);
    
    /* Light theme */
    --light-bg: #FAF8F5;
    --light-surface: #FFFFFF;
    --light-text: #2a2a2a;
    --light-muted: #666666;
    --light-border: rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-display: 'Cinzel', serif;
    --font-body: 'Cormorant Garamond', Georgia, serif;
    --font-text: 'Quattrocento', Georgia, serif;
    
    /* Font sizes */
    --text-xs: clamp(0.75rem, 1.5vw, 0.85rem);
    --text-sm: clamp(0.85rem, 1.8vw, 0.95rem);
    --text-base: clamp(1rem, 2vw, 1.1rem);
    --text-lg: clamp(1.1rem, 2.2vw, 1.25rem);
    --text-xl: clamp(1.25rem, 2.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 3vw, 2rem);
    --text-3xl: clamp(1.8rem, 4vw, 2.5rem);
    --text-4xl: clamp(2.2rem, 5vw, 3.2rem);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Layout */
    --max-width-narrow: 600px;
    --max-width-content: 800px;
    --max-width-wide: 1100px;
    --max-width-full: 1400px;
    
    /* Effects */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 4px 20px var(--world-color-30);
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Default world color (Kay) */
    --world-color: var(--kay-color);
    --world-color-light: var(--kay-color-light);
    --world-color-bright: var(--kay-color-bright);
    --world-color-dark: var(--kay-color-dark);
    --world-color-90: var(--kay-color-90);
    --world-color-15: var(--kay-color-15);
    --world-color-30: var(--kay-color-30);
    --world-color-50: var(--kay-color-50);
}

/* === 3. WORLD COLOR CLASSES === */
.world-kay {
    --world-color: var(--kay-color);
    --world-color-light: var(--kay-color-light);
    --world-color-bright: var(--kay-color-bright);
    --world-color-dark: var(--kay-color-dark);
    --world-color-90: var(--kay-color-90);
    --world-color-15: var(--kay-color-15);
    --world-color-30: var(--kay-color-30);
    --world-color-50: var(--kay-color-50);
}

.world-hanan {
    --world-color: var(--hanan-color);
    --world-color-light: var(--hanan-color-light);
    --world-color-bright: var(--hanan-color-bright);
    --world-color-dark: var(--hanan-color-dark);
    --world-color-90: var(--hanan-color-90);
    --world-color-15: var(--hanan-color-15);
    --world-color-30: var(--hanan-color-30);
    --world-color-50: var(--hanan-color-50);
}

.world-ukhu {
    --world-color: var(--ukhu-color);
    --world-color-light: var(--ukhu-color-light);
    --world-color-bright: var(--ukhu-color-bright);
    --world-color-dark: var(--ukhu-color-dark);
    --world-color-90: var(--ukhu-color-90);
    --world-color-15: var(--ukhu-color-15);
    --world-color-30: var(--ukhu-color-30);
    --world-color-50: var(--ukhu-color-50);
}

/* === 4. WORDPRESS OVERRIDES === */
.full-bleed .site-content,
.full-bleed .entry-content,
.full-bleed #primary,
.full-bleed .site,
.full-bleed .wp-block-group,
.full-bleed .wp-block-html,
.full-bleed .wp-site-blocks,
.full-bleed .kb-row-layout-wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.full-bleed {
    margin: 0 !important;
    padding: 0 !important;
}

.home .site-content,
.home .entry-content,
.home #primary,
.front-page .site-content,
.front-page .entry-content,
.front-page #primary {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.inti-custom-footer-active .site-footer {
    display: none !important;
}

.inti-page .entry-content {
    padding: 0 !important;
}

.alignfull {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}

/* === 5. BASE TYPOGRAPHY === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--star-white);
    background: var(--deep-cosmos);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.light-theme {
    color: var(--light-text);
    background: var(--light-bg);
}

h1, h2, h3, .inti-h1, .inti-h2, .inti-h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: 1.3;
    color: var(--star-white);
}

h1, .inti-h1 { font-size: var(--text-4xl); }
h2, .inti-h2 { font-size: var(--text-3xl); }
h3, .inti-h3 { font-size: var(--text-2xl); }
h4, .inti-h4 { font-size: var(--text-xl); font-family: var(--font-display); }
h5, .inti-h5 { font-size: var(--text-lg); font-family: var(--font-display); }
h6, .inti-h6 { font-size: var(--text-base); font-family: var(--font-display); }

p, .inti-body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}

p:last-child {
    margin-bottom: 0;
}

label, input, button, select, .inti-text {
    font-family: var(--font-text);
}

a {
    color: var(--world-color-bright);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--world-color-light);
}

.inti-label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--world-color-bright);
}

.inti-accent {
    font-family: var(--font-body);
    font-style: italic;
    color: var(--muted-white);
}

/* === 6. LAYOUT COMPONENTS === */
.inti-section {
    padding: var(--space-2xl) var(--space-lg);
    max-width: var(--max-width-wide);
    margin: 0 auto;
}

.inti-section-narrow { max-width: var(--max-width-narrow); }
.inti-section-content { max-width: var(--max-width-content); }
.inti-section-full {
    max-width: 100%;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

.inti-section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.inti-section-label {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--world-color-bright);
    margin-bottom: var(--space-xs);
    display: block;
}

.inti-section-title {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--star-white);
    margin: 0;
}

.inti-section-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--muted-white);
    margin-top: var(--space-xs);
}

/* Hero */
.inti-hero {
    padding: var(--space-3xl) var(--space-lg) var(--space-2xl);
    text-align: center;
    background: linear-gradient(180deg, var(--deep-cosmos) 0%, var(--dark-surface) 100%);
}

.inti-hero-content {
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.inti-hero-guardian {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 20px var(--world-color-30));
}

.inti-hero-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--star-white);
    margin-bottom: var(--space-xs);
}

.inti-hero-subtitle {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--world-color-bright);
    margin-bottom: var(--space-sm);
}

.inti-hero-tagline {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--muted-white);
    margin-bottom: var(--space-md);
}

.inti-hero-description {
    font-family: var(--font-text);
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--muted-white);
    max-width: 600px;
    margin: 0 auto;
}

/* Grids */
.inti-grid { display: grid; gap: var(--space-md); }
.inti-grid-2 { grid-template-columns: repeat(2, 1fr); }
.inti-grid-3 { grid-template-columns: repeat(3, 1fr); }
.inti-grid-4 { grid-template-columns: repeat(4, 1fr); }
.inti-grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

.inti-flex { display: flex; gap: var(--space-md); }
.inti-flex-center { justify-content: center; align-items: center; }
.inti-flex-between { justify-content: space-between; align-items: center; }
.inti-flex-wrap { flex-wrap: wrap; }

/* === 7. UI COMPONENTS === */

/* Buttons */
.inti-btn {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 400;
    letter-spacing: 0.1em;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    line-height: 1;
}

.inti-btn-primary {
    background: var(--world-color);
    color: var(--deep-cosmos);
}

.inti-btn-primary:hover {
    background: var(--world-color-light);
    color: var(--deep-cosmos);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.inti-btn-secondary {
    background: transparent;
    color: var(--world-color-bright);
    border: 1px solid var(--world-color);
}

.inti-btn-secondary:hover {
    background: var(--world-color);
    color: var(--deep-cosmos);
}

.inti-btn-ghost {
    background: transparent;
    color: var(--muted-white);
    border: 1px solid var(--border-light);
}

.inti-btn-ghost:hover {
    border-color: var(--world-color);
    color: var(--world-color-bright);
}

.inti-btn-text {
    background: transparent;
    color: var(--world-color-bright);
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.inti-btn-text:hover {
    border-bottom-color: var(--world-color-bright);
}

.inti-btn-sm { padding: 0.6rem 1.2rem; font-size: var(--text-xs); }
.inti-btn-lg { padding: 1.25rem 2.5rem; font-size: var(--text-base); }

.inti-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Cards */
.inti-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.inti-card:hover {
    background: var(--world-color-15);
    border-color: var(--world-color);
    transform: translateY(-4px);
}

.inti-card-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    display: block;
}

.inti-card-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    letter-spacing: 0.03em;
    color: var(--star-white);
    margin-bottom: var(--space-xs);
}

.inti-card-description {
    font-family: var(--font-text);
    font-size: var(--text-sm);
    color: var(--muted-white);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.inti-card-link {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-style: italic;
    color: var(--world-color-bright);
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--world-color);
    border-radius: var(--radius-sm);
    display: inline-block;
    transition: all var(--transition-base);
}

.inti-card-link:hover {
    background: var(--world-color);
    color: var(--deep-cosmos);
}

.inti-card-static:hover { transform: none; }

.inti-card-light {
    background: var(--light-surface);
    border-color: var(--light-border);
}

.inti-card-light:hover {
    background: var(--world-color-90);
}

/* Form Inputs */
.inti-input {
    font-family: var(--font-text);
    font-size: var(--text-base);
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--star-white);
    width: 100%;
    transition: all var(--transition-base);
}

.inti-input::placeholder { color: var(--subtle-white); }

.inti-input:focus {
    outline: none;
    border-color: var(--world-color);
    background: rgba(255, 255, 255, 0.08);
}

.inti-input-light {
    background: var(--light-surface);
    border-color: var(--light-border);
    color: var(--light-text);
}

.inti-input-light:focus { border-color: var(--world-color); }

.inti-input-group { position: relative; }

.inti-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--subtle-white);
}

.inti-input-group .inti-input { padding-left: 3rem; }

/* Progress Bar */
.inti-progress {
    height: 4px;
    background: var(--border-subtle);
    border-radius: 2px;
    overflow: hidden;
}

.inti-progress-fill {
    height: 100%;
    background: var(--world-color);
    transition: width var(--transition-base);
}

.inti-progress-text {
    font-family: var(--font-text);
    font-size: var(--text-xs);
    color: var(--subtle-white);
    text-align: center;
    margin-top: var(--space-xs);
}

/* === 8. TEST COMPONENTS === */
.inti-screen {
    display: none;
    min-height: 100vh;
    animation: intiFadeIn 0.4s ease;
}

.inti-screen.active {
    display: flex;
    flex-direction: column;
}

@keyframes intiFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.inti-question-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: var(--max-width-content);
    margin: 0 auto;
    width: 100%;
    padding: var(--space-lg);
}

.inti-question-num {
    font-family: var(--font-display);
    font-size: var(--text-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--world-color-bright);
    text-align: center;
    margin-bottom: var(--space-sm);
}

.inti-question-text {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--star-white);
    text-align: center;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.inti-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.inti-option {
    font-family: var(--font-text);
    font-size: var(--text-sm);
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--muted-white);
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: left;
    line-height: 1.45;
}

.inti-option:hover {
    background: var(--world-color-15);
    border-color: var(--world-color);
}

.inti-option.selected {
    background: var(--world-color-30);
    border-color: var(--world-color);
    color: var(--star-white);
}

.inti-nav-btns {
    display: flex;
    justify-content: space-between;
    max-width: var(--max-width-content);
    margin: var(--space-lg) auto 0;
    width: 100%;
    padding: 0 var(--space-lg);
    gap: var(--space-sm);
}

/* Processing */
.inti-processing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: var(--space-lg);
    text-align: center;
}

.inti-spinner {
    width: 70px;
    height: 70px;
    border: 3px solid var(--border-subtle);
    border-top-color: var(--world-color);
    border-radius: var(--radius-full);
    animation: intiSpin 1s linear infinite;
    margin-bottom: var(--space-lg);
}

@keyframes intiSpin {
    to { transform: rotate(360deg); }
}

.inti-processing-text {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--muted-white);
}

.inti-processing-sub {
    font-family: var(--font-text);
    font-size: var(--text-sm);
    color: var(--subtle-white);
    margin-top: var(--space-xs);
}

/* Results */
.inti-result-header {
    text-align: center;
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-lg);
}

.inti-result-symbol {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.inti-result-type {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    color: var(--star-white);
    margin-bottom: var(--space-xs);
}

.inti-result-name {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    font-style: italic;
    color: var(--world-color-bright);
    margin-bottom: var(--space-md);
}

.inti-result-motivation {
    font-family: var(--font-text);
    font-size: var(--text-base);
    color: var(--muted-white);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

.inti-traits-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

.inti-traits-title {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    letter-spacing: 0.1em;
    color: var(--world-color-bright);
    text-align: center;
    margin-bottom: var(--space-sm);
}

.inti-traits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.inti-trait {
    font-family: var(--font-text);
    font-size: var(--text-sm);
    color: var(--muted-white);
    padding-left: 1.5rem;
    position: relative;
}

.inti-trait::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--world-color);
}

.inti-top3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.inti-top3-item {
    text-align: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.inti-top3-item.primary {
    background: var(--world-color-15);
    border-color: var(--world-color);
}

.inti-top3-rank {
    font-family: var(--font-text);
    font-size: var(--text-xs);
    color: var(--subtle-white);
}

.inti-top3-type {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--star-white);
}

.inti-top3-name {
    font-family: var(--font-text);
    font-size: var(--text-xs);
    color: var(--subtle-white);
}

/* Tri-dimensional */
.inti-tri-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.inti-tri-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
    flex-wrap: wrap;
}

.inti-tri-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-family: var(--font-text);
    font-size: var(--text-sm);
}

.inti-tri-item.complete {
    background: var(--world-color-30);
    color: var(--world-color-bright);
}

.inti-tri-item.pending {
    background: rgba(255, 255, 255, 0.05);
    color: var(--subtle-white);
}

.inti-tri-item.pending.kay { border: 1px dashed var(--kay-color); }
.inti-tri-item.pending.hanan { border: 1px dashed var(--hanan-color); }
.inti-tri-item.pending.ukhu { border: 1px dashed var(--ukhu-color); }

/* === 9. GUIDE COMPONENTS === */
.inti-guide-section {
    padding: var(--space-2xl) var(--space-lg);
    max-width: var(--max-width-content);
    margin: 0 auto;
}

.inti-guide-toc {
    background: var(--world-color-15);
    border-left: 4px solid var(--world-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-md);
    margin-bottom: var(--space-xl);
}

.inti-guide-toc-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--star-white);
    margin-bottom: var(--space-sm);
}

.inti-guide-toc-list {
    list-style: none;
}

.inti-guide-toc-list li {
    padding: var(--space-xs) 0;
    padding-left: var(--space-sm);
    position: relative;
}

.inti-guide-toc-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--world-color);
}

.inti-guide-toc-list a {
    color: var(--muted-white);
    text-decoration: none;
}

.inti-guide-toc-list a:hover {
    color: var(--world-color-bright);
}

.inti-guide-content h2 {
    font-size: var(--text-2xl);
    color: var(--world-color-bright);
    margin: var(--space-xl) 0 var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid var(--world-color-30);
}

.inti-guide-content h3 {
    font-size: var(--text-xl);
    color: var(--star-white);
    margin: var(--space-lg) 0 var(--space-sm);
}

.inti-guide-content p {
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.inti-guide-content ul,
.inti-guide-content ol {
    margin: var(--space-md) 0;
    padding-left: var(--space-lg);
}

.inti-guide-content li {
    margin-bottom: var(--space-xs);
    line-height: 1.7;
}

/* Guide card secondary sub-link (Enneagram cluster restructure)
   Used on: /enneagram/ hub (Kay Pacha guide grid),
            /how-it-works/ (hiw-guide-card variant)
   Added: 2026-08-24 */
.guide-card-secondary {
    display: block;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--kay-color-30);
    font-size: var(--text-sm);
    color: var(--subtle-white);
    text-decoration: none;
    transition: color var(--transition-fast);
    line-height: 1.4;
}

.guide-card-secondary::before {
    content: "+ ";
    color: var(--kay-color);
    font-weight: 600;
}

.guide-card-secondary:hover {
    color: var(--kay-color);
}

.guide-card-secondary:focus {
    outline: 2px solid var(--kay-color);
    outline-offset: 2px;
}

.hiw-guide-card .guide-card-secondary {
    color: var(--muted-white);
}

.hiw-guide-card .guide-card-secondary:hover {
    color: var(--kay-color);
}

/* === 11. NAVIGATION === */
.inti-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.inti-nav-link {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    letter-spacing: 0.05em;
    color: var(--star-white);
    text-decoration: none;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.inti-nav-link:hover {
    color: var(--world-color-bright);
}

.inti-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--world-color);
    transition: width var(--transition-base);
}

.inti-nav-link:hover::after {
    width: 100%;
}


/* === 13. ANIMATIONS === */
.inti-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.inti-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.inti-grid .inti-reveal:nth-child(1) { transition-delay: 0s; }
.inti-grid .inti-reveal:nth-child(2) { transition-delay: 0.1s; }
.inti-grid .inti-reveal:nth-child(3) { transition-delay: 0.2s; }
.inti-grid .inti-reveal:nth-child(4) { transition-delay: 0.3s; }
.inti-grid .inti-reveal:nth-child(5) { transition-delay: 0.4s; }
.inti-grid .inti-reveal:nth-child(6) { transition-delay: 0.5s; }

@keyframes intiPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--world-color-50); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

.inti-pulse:focus {
    animation: intiPulse 1.5s infinite;
}

@keyframes intiFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.inti-animate-up {
    animation: intiFadeInUp 0.6s ease forwards;
}

@keyframes intiShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.inti-shimmer {
    background: linear-gradient(90deg, var(--border-subtle) 25%, var(--border-light) 50%, var(--border-subtle) 75%);
    background-size: 200% 100%;
    animation: intiShimmer 1.5s infinite;
}

/* === 14. UTILITIES === */

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--star-white); }
.text-muted { color: var(--muted-white); }
.text-subtle { color: var(--subtle-white); }
.text-faint { color: var(--faint-white); }
.text-world { color: var(--world-color-bright); }
.text-kay { color: var(--kay-color-bright); }
.text-hanan { color: var(--hanan-color-bright); }
.text-ukhu { color: var(--ukhu-color-bright); }

/* Margins */
.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--space-xs); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Padding */
.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.py-sm { padding-top: var(--space-sm); padding-bottom: var(--space-sm); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-2xl { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Flexbox */
.flex-center { justify-content: center; align-items: center; }
.flex-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* Width */
.w-full { width: 100%; }
.max-w-narrow { max-width: var(--max-width-narrow); }
.max-w-content { max-width: var(--max-width-content); }
.max-w-wide { max-width: var(--max-width-wide); }

/* Borders */
.border-subtle { border: 1px solid var(--border-subtle); }
.border-light { border: 1px solid var(--border-light); }
.border-world { border: 1px solid var(--world-color); }
.border-top { border-top: 1px solid var(--border-subtle); }
.border-bottom { border-bottom: 1px solid var(--border-subtle); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

/* Backgrounds */
.bg-cosmos { background: var(--deep-cosmos); }
.bg-surface { background: var(--dark-surface); }
.bg-elevated { background: var(--dark-elevated); }
.bg-world-15 { background: var(--world-color-15); }
.bg-world-30 { background: var(--world-color-30); }
.bg-light { background: var(--light-bg); }

/* Visibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   INTI NAN Platform Legal Blocks
   [inti_disclaimer] and [inti_attribution] shortcode targets.
   Both render as warm cream cards matching the Common Questions
   (inti-faq-mid) visual family. Reads consistently on both light
   foundational article pages and dark how-it-works pages.
   Disclaimer: sans-serif, legal-notice voice.
   Attribution: italic Cormorant Garamond, scholarly voice with a
   gold left border for accent-box family membership.
   Text at #2a2a2a on #faf5e6 = 13.17:1 AAA. Strong at #1a1a1a =
   15.97:1 AAA. Attribution link #6b511f = 6.83:1 AA (link tier).
   Sourced from class-brand-standards.php v2.2.4.
   ============================================================ */
.inti-disclaimer,
.inti-attribution {
    margin: 24px auto;
    padding: 20px 24px;
    background: #faf5e6;
    border-radius: 10px;
    border-top: none;
    text-align: left;
}
.inti-disclaimer { max-width: 720px; }
.inti-attribution {
    max-width: 780px;
    border-left: 4px solid #D9A441;
    border-radius: 0 8px 8px 0;
    margin: 30px auto;
    padding: 24px 30px;
}
.inti-disclaimer p {
    margin: 0;
    color: #2a2a2a;
    font-size: 15px;
    line-height: 1.7;
    font-family: inherit;
}
.inti-attribution p {
    margin: 0 0 14px 0;
    color: #2a2a2a;
    font-size: 1em;
    line-height: 1.9;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
}
.inti-attribution p:last-child { margin-bottom: 0; }
.inti-disclaimer strong,
.inti-attribution strong { color: #1a1a1a; }
.inti-attribution a {
    color: #6b511f;
    text-decoration: underline;
    font-weight: 500;
}

/* === 15. RESPONSIVE === */
/* ============================================================
   INTI ÑAN RESPONSIVE BREAKPOINTS - SINGLE SOURCE OF TRUTH
   
   Breakpoint Cascade:
   1024px - Large tablets (iPad Pro landscape, Surface)
   900px  - Tablets (iPad landscape, standard tablets)
   768px  - Tablet portrait (iPad portrait, Android tablets)
   600px  - Large phones (iPhone Plus/Max, large Android)
   480px  - Phones (standard smartphones)
   400px  - Small phones (iPhone SE, older devices)
   ============================================================ */

/* ----------------------------------------
   LARGE TABLETS (1024px and below)
   iPad Pro landscape, Surface, larger Android tablets
   ---------------------------------------- */
@media (max-width: 1024px) {
    .inti-section { padding: var(--space-2xl) var(--space-lg); }
    .inti-hero { padding: var(--space-2xl) var(--space-lg) var(--space-xl); }
    .inti-grid-4 { grid-template-columns: repeat(3, 1fr); }
}

/* ----------------------------------------
   TABLETS (900px and below)
   iPad landscape, standard tablets
   ---------------------------------------- */
@media (max-width: 900px) {
    .inti-grid-3, .inti-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .inti-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .inti-options-grid { grid-template-columns: repeat(2, 1fr); }
    .inti-section { padding: var(--space-xl) var(--space-md); }
    .inti-hero { padding: var(--space-2xl) var(--space-md) var(--space-xl); }
}

/* ----------------------------------------
   TABLET PORTRAIT (768px and below)
   iPad portrait, most Android tablets
   ---------------------------------------- */
@media (max-width: 768px) {
    .inti-grid-3 { grid-template-columns: 1fr; }
    .inti-section { padding: var(--space-lg) var(--space-md); }
    .inti-hero { padding: var(--space-xl) var(--space-md) var(--space-lg); }
    .inti-hero-guardian { width: 90px; height: 90px; }
    .inti-question-wrap { padding: var(--space-md); }
    .inti-nav-btns { padding: 0 var(--space-md); }
}

/* ----------------------------------------
   LARGE PHONES (600px and below)
   iPhone Plus/Max, large Android phones
   ---------------------------------------- */
@media (max-width: 600px) {
    .inti-grid-2, .inti-grid-3, .inti-grid-4 { grid-template-columns: 1fr; }
    .inti-options-grid { grid-template-columns: 1fr; }
    .inti-traits-grid { grid-template-columns: 1fr; }
    .inti-top3-grid { grid-template-columns: 1fr; }
    .inti-tri-progress { flex-direction: column; }
    .inti-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .inti-section { padding: var(--space-lg) var(--space-sm); }
    .inti-hero { padding: var(--space-xl) var(--space-sm) var(--space-lg); }
    .inti-card { padding: var(--space-md); }
    .inti-nav-btns { flex-direction: column; }
    .inti-nav-btns .inti-btn { width: 100%; }
    .continue-secondary { flex-direction: column; align-items: center; }
    .inti-hero-guardian { width: 80px; height: 80px; }
    .inti-question-wrap { padding: var(--space-sm); }
}

/* ----------------------------------------
   PHONES (480px and below)
   Standard smartphones
   ---------------------------------------- */
@media (max-width: 480px) {
    .inti-section { padding: var(--space-md) var(--space-xs); }
    .inti-hero { padding: var(--space-lg) var(--space-xs) var(--space-md); }
    .inti-card { padding: var(--space-sm); }
    .inti-hero-guardian { width: 70px; height: 70px; }
    .inti-btn { padding: 0.85rem 1.5rem; }
    .inti-btn-lg { padding: 1rem 2rem; }
    .inti-input { padding: 0.85rem 1rem; }
    .inti-option { padding: 0.75rem 0.85rem; }
}

/* ----------------------------------------
   SMALL PHONES (400px and below)
   iPhone SE, older/smaller devices
   ---------------------------------------- */
@media (max-width: 400px) {
    .inti-section { padding: var(--space-sm) var(--space-xs); }
    .inti-hero { padding: var(--space-md) var(--space-xs) var(--space-sm); }
    .inti-hero-guardian { width: 60px; height: 60px; }
    .inti-card { padding: var(--space-xs); }
    .inti-btn { padding: 0.75rem 1.25rem; font-size: var(--text-xs); }
    .inti-option { padding: 0.65rem 0.75rem; font-size: var(--text-sm); }
    .inti-question-text { font-size: var(--text-lg); }
}

/* ----------------------------------------
   LARGE SCREENS (1200px and above)
   ---------------------------------------- */
@media (min-width: 1200px) {
    .inti-section { padding: var(--space-3xl) var(--space-xl); }
    .inti-hero { padding: var(--space-3xl) var(--space-xl) var(--space-2xl); }
}

/* ----------------------------------------
   LANDSCAPE MOBILE
   ---------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
    .inti-hero { 
        min-height: auto; 
        padding: var(--space-md) var(--space-lg);
    }
    .inti-hero-guardian { width: 50px; height: 50px; }
    .inti-screen { min-height: auto; }
    .inti-question-wrap { 
        justify-content: flex-start; 
        padding: var(--space-sm);
    }
    .inti-options-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----------------------------------------
   TOUCH TARGET ACCESSIBILITY
   Minimum 44px touch targets for mobile
   ---------------------------------------- */
@media (pointer: coarse) {
    .inti-btn,
    .inti-option,
    .inti-card-link,
    .inti-nav-link,
    a.inti-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .inti-option {
        min-height: 48px;
    }
    
    .inti-input,
    .inti-textarea {
        min-height: 48px;
    }
}

/* ----------------------------------------
   PRINT STYLES
   ---------------------------------------- */
@media print {
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .inti-hero {
        min-height: auto;
        background: #f5f5f5 !important;
        color: #333 !important;
        padding: 20pt;
        page-break-after: always;
    }
    
    .inti-btn,
    .inti-nav,
    .inti-progress,
    .inti-spinner,
    .inti-nav-btns,
    .scroll-indicator,
    audio,
    video {
        display: none !important;
    }
    
    .inti-section {
        page-break-inside: avoid;
        padding: 15pt 0;
    }
    
    .inti-card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        background: #fff !important;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
    
    .inti-grid-2,
    .inti-grid-3,
    .inti-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Login button in navigation */
.menu-item a[href*="/login/"] {
    background: linear-gradient(135deg, #D9A441 0%, #c4912e 100%);
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-left: 15px;
}

.menu-item a[href*="/login/"]:hover {
    background: linear-gradient(135deg, #E8C078 0%, #D9A441 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 164, 65, 0.4);
}

/* When user is on login page, style as active */
.current-menu-item a[href*="/login/"] {
    background: linear-gradient(135deg, #9B2335 0%, #7a1c2a 100%);
}




/* Prevent orphans/widows - balanced text wrapping */
p,
.card-description,
.comparison-card p,
.welcome-text,
.cta-text,
.framework-desc,
.highlight-box p,
.value-box p,
blockquote,
.karpay-section p,
.locked-section p {
    text-wrap: balance;
    text-wrap: pretty; /* Fallback for browsers that don't support balance */
}

/* Headlines too */
h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

/* Transparent header on archive pages */
body.archive .site-header {
    background: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 100;
}

.site-branding img {
    margin-left: 60px;
}

/* ============================================================
   PATHWAY PAGES (.pw-*) - Responsive Rules
   Added: February 2026 for v3 pathway page template
   
   INSTRUCTIONS: Append this entire block to the end of your
   design system CSS file, BEFORE the print styles section.
   
   These rules follow the same breakpoint cascade as the
   existing design system (900 → 768 → 600 → 480 → 400).
   ============================================================ */

/* ----------------------------------------
   TABLETS (900px and below)
   Grids collapse: 3-col → 1-col, 2-col → 1-col
   ---------------------------------------- */
@media (max-width: 900px) {
    .pw-worlds { grid-template-columns: 1fr; }
    .pw-narrative-grid { grid-template-columns: 1fr; gap: 20px; }
    .pw-about-grid { grid-template-columns: 1fr; }
    .pw-gifts-shadows { grid-template-columns: 1fr; }
    .pw-relationships { grid-template-columns: 1fr; }
    .pw-related { grid-template-columns: 1fr; }
    .pw-badges { gap: 10px; }
}

/* ----------------------------------------
   TABLET PORTRAIT (768px and below)
   Structural stacking, reduced padding
   ---------------------------------------- */
@media (max-width: 768px) {
    .pw-cta-buttons { flex-direction: column; align-items: center; }
    .pw-hero { min-height: 50vh; padding: 80px 24px 60px; }
    .pw-content { padding: 40px 24px; }
    .pw-lead::first-letter { font-size: 2.8em; margin: 2px 8px 0 0; }
    .pw-cta { padding: 50px 24px; }
    .pw-worlds-wrap { padding: 0 24px; }
}

/* ----------------------------------------
   LARGE PHONES (600px and below)
   Further tightening
   ---------------------------------------- */
@media (max-width: 600px) {
    .pw-hero { min-height: auto; padding: 60px 16px 40px; }
    .pw-content { padding: 30px 16px; }
    .pw-worlds-wrap { padding: 0 16px; }
    .pw-world-card { padding: 16px 18px; }
    .pw-rel-card { padding: 16px 18px; }
    .pw-about-card { padding: 16px; }
    .pw-faq-item { padding: 16px 18px; }
    .pw-cta { padding: 40px 16px; margin: 30px 0 20px; }
}

/* ----------------------------------------
   PHONES (480px and below)
   Minimal spacing, badges stack
   ---------------------------------------- */
@media (max-width: 480px) {
    .pw-hero { padding: 50px 12px 30px; }
    .pw-badges { flex-direction: column; align-items: center; gap: 8px; }
    .pw-lead::first-letter { font-size: 2.4em; margin: 2px 6px 0 0; }
    .pw-content { padding: 24px 12px; }
    .pw-worlds-wrap { padding: 0 12px; }
    .pw-callout { padding: 24px 16px; }
    .pw-traits { gap: 4px; }
    .pw-trait { padding: 3px 8px; }
}

/* ----------------------------------------
   SMALL PHONES (400px and below)
   ---------------------------------------- */
@media (max-width: 400px) {
    .pw-hero { padding: 40px 10px 24px; }
    .pw-content { padding: 20px 10px; }
    .pw-worlds-wrap { padding: 0 10px; }
}

/* ----------------------------------------
   LANDSCAPE MOBILE
   ---------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {
    .pw-hero { min-height: auto; padding: 40px 24px 30px; }
}

/* 189 Pathways nav button */
.menu-item-pathways a {
    background: #0a0a12 !important;
    color: #D9A441 !important;
    padding: 8px 18px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(217, 164, 65, 0.3) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.menu-item-pathways a:hover {
    background: #D9A441 !important;
    color: #0a0a12 !important;
    border-color: #D9A441 !important;
}

.entry-content-wrap {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.rank-math-breadcrumb { display: none !important; }