/* ============================================
   JOSEPH BRIJIN CHACKO — OBSIDIAN & EMBER THEME
   Dark Luxury • Molten Engineering Precision
   ============================================ */

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

:root {
    /* Obsidian dark base */
    --bg: #0A0908;
    --bg-elevated: #121110;
    --bg-surface: #181614;
    --bg-card: #1A1816;
    --bg-card-hover: #231F1C;

    /* Ember palette — warm copper/amber */
    --neon: #D4763C;
    --neon-light: #E8943C;
    --neon-bright: #F5B041;
    --neon-dim: #A85A2A;
    --neon-glow: rgba(212, 118, 60, 0.15);
    --neon-glow-strong: rgba(212, 118, 60, 0.3);
    --neon-subtle: rgba(212, 118, 60, 0.06);

    /* Hot accent — brighter amber */
    --violet: #E8943C;
    --violet-light: #F5B041;
    --violet-glow: rgba(232, 148, 60, 0.15);
    --violet-subtle: rgba(232, 148, 60, 0.06);

    /* Warm text */
    --text: #E8E0D4;
    --text-secondary: #B0A898;
    --text-muted: #8A7F72;
    --text-dim: #5C5349;

    /* Borders & shadows */
    --border: rgba(42, 38, 35, 0.6);
    --border-hover: rgba(61, 53, 48, 0.8);
    --border-neon: rgba(212, 118, 60, 0.25);
    --border-violet: rgba(232, 148, 60, 0.2);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.7);
    --shadow-neon: 0 0 30px rgba(212, 118, 60, 0.08);
    --shadow-neon-strong: 0 0 60px rgba(212, 118, 60, 0.15);
    --shadow-violet: 0 0 30px rgba(232, 148, 60, 0.08);

    /* Radii */
    --radius: 14px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --radius-xs: 4px;

    /* Fonts — Instrument Serif for headlines, JetBrains Mono for UI */
    --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Chakra Petch', 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', monospace;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --transition: 0.3s var(--ease);
    --transition-slow: 0.6s var(--ease);
}

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

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

::selection {
    background: rgba(212, 118, 60, 0.3);
    color: #fff;
}

a {
    color: var(--neon);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--neon-light);
}

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

/* --- NAVIGATION --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000;
    padding: 20px 0;
    transition: var(--transition);
}
.nav.scrolled {
    background: rgba(10, 9, 8, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
}
.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.nav-logo {
    display: flex;
    align-items: center;
}
.jbc-logo-svg {
    height: 32px;
    width: auto;
    fill: var(--text);
    transition: var(--transition);
}
.jbc-logo-svg .logo-dot {
    fill: var(--neon);
}
.nav-logo:hover .jbc-logo-svg {
    fill: #fff;
}
.nav-logo:hover .jbc-logo-svg .logo-dot {
    fill: var(--neon-light);
}
.nav-links {
    display: flex;
    gap: 36px;
}
.nav-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.nav-links a:hover {
    color: var(--neon);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* --- HERO --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border-neon);
    box-sizing: border-box;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--violet), transparent);
}
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}
.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}
.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 118, 60, 0.12), transparent 70%);
    top: -200px;
    right: -100px;
}
.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 148, 60, 0.1), transparent 70%);
    bottom: -150px;
    left: -100px;
}
.glow-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 118, 60, 0.08), transparent 70%);
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    z-index: 2;
}
.hero-split {
    max-width: 1200px;
    display: flex;
    align-items: flex-end;
    gap: 40px;
    text-align: left;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px 0;
    box-sizing: border-box;
    min-height: 100vh;
}
.hero-text {
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}
.hero-photo {
    flex: 0 0 440px;
    z-index: 1;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: stretch;
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
    filter: sepia(10%) saturate(1.1) brightness(0.93) contrast(1.03);
}
.hero-img-nobg {
    filter: drop-shadow(0 0 60px rgba(212, 118, 60, 0.18)) drop-shadow(0 20px 60px rgba(0, 0, 0, 0.6)) sepia(15%) saturate(1.2) brightness(0.95);
}
.photo-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(212, 118, 60, 0.12), rgba(232, 148, 60, 0.08), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: #fff;
}
.gradient-text {
    background: linear-gradient(135deg, var(--neon), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
}
.hero-sub strong {
    color: var(--neon-light);
    font-weight: 600;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 40px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--neon), var(--violet));
    color: #fff;
    box-shadow: 0 0 20px rgba(212, 118, 60, 0.15), 0 0 40px rgba(232, 148, 60, 0.1);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--neon-light), var(--violet-light));
    color: #fff;
    box-shadow: 0 0 40px rgba(212, 118, 60, 0.25), 0 0 60px rgba(232, 148, 60, 0.15);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-hover);
    padding: 13px 31px;
}
.btn-ghost:hover {
    color: var(--neon);
    border-color: var(--border-neon);
    background: var(--neon-subtle);
}

/* Hero stats */
.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: 48px;
}
.stat {
    text-align: center;
}
.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--neon), var(--violet), transparent);
    animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* --- SECTIONS --- */
.section {
    padding: 120px 0;
    position: relative;
}
.section-dark {
    background: var(--bg-elevated);
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 16px;
    padding: 6px 16px;
    background: var(--neon-subtle);
    border: 1px solid var(--border-neon);
    border-radius: 100px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 20px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 48px;
    line-height: 1.7;
}
/* Centered section headers */
.section-centered .container {
    text-align: center;
}
.section-centered .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* --- VISION --- */
.vision-block {
    max-width: 720px;
}
.vision-with-photo {
    max-width: 1100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.vision-photo {
    position: sticky;
    top: 120px;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg);
}
.vision-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: rgba(30, 18, 8, 0.35);
    mix-blend-mode: color;
    pointer-events: none;
    z-index: 2;
}
.vision-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(18, 16, 14, 0.15) 0%, transparent 30%, transparent 50%, rgba(18, 16, 14, 0.6) 100%);
    pointer-events: none;
    z-index: 3;
}
.section-photo {
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 118, 60, 0.15);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(212, 118, 60, 0.06);
    filter: sepia(25%) saturate(1.3) brightness(0.7) contrast(1.1) hue-rotate(-8deg);
    transition: filter 0.4s var(--ease);
    background: var(--bg);
}
.section-photo:hover {
    filter: sepia(12%) saturate(1.1) brightness(0.9) contrast(1.04) hue-rotate(-5deg);
}
/* Vertical slice reveal: wrapper clips, image slides in */
.vision-photo.animate-on-scroll {
    opacity: 1;
    transform: none;
    overflow: hidden;
}
.vision-photo .section-photo {
    transform: translateX(-110%);
    transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vision-photo.animate-on-scroll.visible {
    opacity: 1;
    transform: none;
}
.vision-photo.visible .section-photo {
    transform: translateX(0);
}
.vision-content {
    /* inherits from vision-block children */
}
.vision-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.vision-text.highlight {
    color: var(--text);
    padding-left: 20px;
    border-left: 2px solid var(--neon);
}
.vision-manifesto {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.manifesto-line {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
    color: var(--text);
    font-weight: 500;
}
.manifesto-line:last-child {
    border-bottom: none;
}
.manifesto-line .num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon);
    font-weight: 600;
    min-width: 28px;
}

/* --- COLOR UTILITY CLASSES --- */
.hero-link {
    color: var(--neon);
    text-decoration: none;
    border-bottom: 1px solid var(--border-neon);
    transition: var(--transition);
}
.hero-link:hover {
    border-color: var(--neon);
}
.hub-label {
    text-decoration: none;
}
.text-cyan {
    color: var(--neon);
}
.text-violet {
    color: var(--violet);
}
.text-white {
    color: #fff;
    font-weight: 700;
}
.hero-link-subtle {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: var(--transition);
}
.hero-link-subtle:hover {
    color: var(--neon);
}

/* --- ECOSYSTEM --- */
.ecosystem-hub {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 48px 0 64px;
}
.hub-center {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 2px solid var(--border-neon);
    box-shadow: var(--shadow-neon-strong);
    transition: var(--transition);
    text-decoration: none;
}
.hub-center:hover {
    box-shadow: 0 0 40px rgba(212, 118, 60, 0.3);
    border-color: var(--neon);
}
.hub-logo {
    width: 80px;
    height: 50px;
    object-fit: contain;
    filter: brightness(1.4);
}
.hub-ring {
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid var(--border-neon);
    border-radius: 50%;
    animation: ringPulse 4s ease infinite;
}
@keyframes ringPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}
.hub-revolve-text {
    position: absolute;
    width: 320px;
    height: 320px;
    animation: revolve 20s linear infinite;
    pointer-events: none;
}
.revolve-text {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    fill: none;
    stroke: none;
}
.revolve-physical {
    fill: var(--neon);
    opacity: 0.7;
}
.revolve-digital {
    fill: var(--violet);
    opacity: 0.7;
}
@keyframes revolve {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.eco-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--violet), transparent);
    opacity: 0;
    transition: var(--transition);
}
.eco-card:hover {
    border-color: var(--border-neon);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}
.eco-card:hover::before {
    opacity: 1;
}
.eco-card-featured {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--bg-card), rgba(212, 118, 60, 0.03), rgba(232, 148, 60, 0.02));
    border-color: var(--border-neon);
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto;
    gap: 0 24px;
}
.eco-card-featured .eco-card-header {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
}
.eco-card-featured .eco-name {
    grid-column: 2;
}
.eco-card-featured .eco-desc {
    grid-column: 2;
}
.eco-card-featured .eco-link {
    grid-column: 2;
}

/* Category headers & group containers */
.eco-category {
    margin-top: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(18, 16, 14, 0.5);
}
.eco-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}
.eco-category-physical {
    background: linear-gradient(135deg, rgba(212, 118, 60, 0.06), rgba(212, 118, 60, 0.02));
    border-bottom-color: rgba(212, 118, 60, 0.12);
}
.eco-category-digital {
    background: linear-gradient(135deg, rgba(232, 148, 60, 0.06), rgba(232, 148, 60, 0.02));
    border-bottom-color: rgba(232, 148, 60, 0.12);
}
.eco-category-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.eco-category-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    width: 100%;
    margin-top: 4px;
}
.eco-category > .eco-grid {
    padding: 24px;
}
.eco-category,
.inspire-chapter {
    text-align: left;
}

/* Physical AI card accent */
.eco-card-physical:hover {
    border-color: rgba(212, 118, 60, 0.25);
    box-shadow: 0 0 30px rgba(212, 118, 60, 0.06);
}
.eco-card-physical::before {
    background: linear-gradient(90deg, transparent, var(--neon), transparent);
}

/* Digital AI card accent */
.eco-card-digital:hover {
    border-color: rgba(232, 148, 60, 0.25);
    box-shadow: 0 0 30px rgba(232, 148, 60, 0.06);
}
.eco-card-digital::before {
    background: linear-gradient(90deg, transparent, var(--violet), transparent);
}
.eco-card-digital .eco-role {
    color: var(--violet);
}
.eco-card-digital .eco-link {
    color: var(--violet-light);
}
.eco-card-digital .eco-link:hover {
    color: var(--violet);
}

.eco-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.eco-logo-wrap {
    width: 72px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-surface), rgba(26, 24, 22, 0.9));
    border: 1px solid rgba(212, 118, 60, 0.12);
    border-radius: var(--radius);
    padding: 10px;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
a.eco-logo-wrap {
    text-decoration: none;
    transition: var(--transition);
}
a.eco-logo-wrap:hover {
    border-color: var(--neon);
    box-shadow: 0 0 16px rgba(212, 118, 60, 0.2);
    transform: scale(1.05);
}
.eco-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(1.4) contrast(1.15) sepia(5%);
}
.eco-logo-text {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--neon);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 52px;
    background: rgba(212, 118, 60, 0.08);
    border: 1px solid var(--border-neon);
    border-radius: var(--radius);
    flex-shrink: 0;
}
.eco-role {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}
.eco-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.eco-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.eco-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--neon);
    font-weight: 500;
}
.eco-link:hover {
    color: var(--neon-bright);
}

/* --- OFORO SPOTLIGHT --- */
.oforo-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.oforo-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}
.oforo-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.oforo-product {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}
.oforo-product:hover {
    border-color: var(--border-neon);
    background: var(--bg-surface);
}
.oforo-product-name {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neon);
    min-width: 70px;
}
.oforo-product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
.oforo-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 360px;
}
.oforo-visual-photo {
    height: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    position: relative;
}
.oforo-visual-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, transparent 50%, rgba(10, 9, 8, 0.5) 100%);
    pointer-events: none;
}
/* Spotlight layout */
.spotlight-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 48px;
    align-items: start;
}
.spotlight-content {
    /* scrollable side */
}
.spotlight-block {
    /* each block (Wartens / OFORO) */
}
.spotlight-heading {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}
.spotlight-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.spotlight-photo {
    position: sticky;
    top: 100px;
}

.oforo-photo {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 118, 60, 0.2);
    box-shadow: 0 0 50px rgba(212, 118, 60, 0.1), var(--shadow-lg);
    filter: sepia(15%) saturate(1.15) brightness(0.9) contrast(1.05);
    transition: filter 0.4s var(--ease);
}
.oforo-photo:hover {
    filter: sepia(8%) saturate(1.08) brightness(0.93) contrast(1.02);
}
.oforo-photo-mirror {
    transform: scaleX(-1);
}
.oforo-visual-full {
    height: auto;
    min-height: 500px;
}
.oforo-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 118, 60, 0.1), rgba(232, 148, 60, 0.06), transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
}
.oforo-logo-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: brightness(1.3) drop-shadow(0 0 30px rgba(212, 118, 60, 0.3)) drop-shadow(0 0 60px rgba(232, 148, 60, 0.15));
}
.oforo-orbit {
    position: absolute;
    width: 240px;
    height: 240px;
    border: 1px solid rgba(212, 118, 60, 0.1);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}
.orbit-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(212, 118, 60, 0.5);
    animation: orbitDotPulse 3s ease infinite;
    animation-delay: var(--delay);
}
.orbit-dot:nth-child(1) { top: -4px; left: 50%; transform: translateX(-50%); }
.orbit-dot:nth-child(2) { bottom: -4px; right: 20%; }
.orbit-dot:nth-child(3) { top: 50%; left: -4px; transform: translateY(-50%); }
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes orbitDotPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- JOURNEY TIMELINE --- */
.journey-timeline-center {
    margin-top: 48px;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.journey-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--neon), var(--violet), var(--border), transparent);
    z-index: 1;
}
.journey-item-center {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: start;
    margin-bottom: 60px;
    position: relative;
}
.journey-item-center:last-child {
    margin-bottom: 0;
}
.journey-spacer {
    /* Empty space on the opposite side */
}
.journey-dot {
    width: 16px;
    height: 16px;
    background: var(--neon);
    border-radius: 50%;
    box-shadow: 0 0 16px rgba(212, 118, 60, 0.5);
    border: 3px solid var(--bg);
    z-index: 2;
    margin-top: 6px;
    flex-shrink: 0;
}
.journey-right .journey-dot {
    background: var(--violet);
    box-shadow: 0 0 16px rgba(232, 148, 60, 0.5);
}
.journey-content-center {
    padding: 0 32px;
}
.journey-left .journey-content-center {
    text-align: right;
}
.journey-right .journey-content-center {
    text-align: left;
}
.journey-year {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}
.journey-right .journey-year {
    color: var(--violet);
}
.journey-content-center h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.journey-content-center p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}
.journey-item:nth-child(odd) .journey-content p {
    margin-left: auto;
}
.journey-item:nth-child(even) .journey-year {
    color: var(--violet);
}

/* --- SKILLS --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}
.skill-card:hover {
    border-color: var(--border-neon);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}
.skill-icon {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}
.icon-cyan {
    color: var(--neon);
    border-color: rgba(212, 118, 60, 0.2);
    background: rgba(212, 118, 60, 0.06);
}
.icon-violet {
    color: var(--violet);
    border-color: rgba(232, 148, 60, 0.2);
    background: rgba(232, 148, 60, 0.06);
}
.skill-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.skill-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- AWARDS --- */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.award-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
    overflow: hidden;
}
.award-card:hover {
    border-color: var(--border-neon);
    transform: translateY(-3px);
    box-shadow: var(--shadow-neon);
}
.award-img-wrap {
    position: relative;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(212, 118, 60, 0.12);
}
.award-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(212, 118, 60, 0.1), rgba(30, 20, 12, 0.12));
    mix-blend-mode: multiply;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
    z-index: 1;
}
.award-card:hover .award-img-wrap::after {
    opacity: 0.3;
}
.award-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(5%) saturate(0.95) brightness(0.92) contrast(1.05);
    transition: filter 0.3s var(--ease), transform 0.5s var(--ease);
}
.award-card:hover .award-img {
    filter: sepia(3%) saturate(1.05) brightness(0.95) contrast(1.02);
    transform: scale(1.08);
}
.award-card-text {
    flex: 1;
    min-width: 0;
}
.award-card h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}
.award-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- MY WORLD --- */
/* World photo banner */
.world-photo-banner {
    margin: 40px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-height: 360px;
}
.world-banner-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 118, 60, 0.15);
    box-shadow: var(--shadow-lg), 0 0 40px rgba(212, 118, 60, 0.06);
    filter: sepia(12%) saturate(1.1) brightness(0.9) contrast(1.05);
}
/* World layout: image + cards side by side */
.world-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 40px;
}
.world-photo-side {
    position: sticky;
    top: 120px;
}
.world-side-img {
    width: 280px;
    height: auto;
    max-height: 520px;
    object-fit: contain;
    object-position: top center;
    filter: drop-shadow(0 0 30px rgba(212, 118, 60, 0.12)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5)) sepia(15%) saturate(1.1) brightness(0.93);
}
.world-grid-side {
    grid-template-columns: repeat(2, 1fr);
}

.world-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.world-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
}
.world-card:hover {
    border-color: var(--border-neon);
    transform: translateY(-4px);
    box-shadow: var(--shadow-neon);
}
.world-card-wide {
    grid-column: span 3;
    background: linear-gradient(135deg, var(--bg-card), rgba(212, 118, 60, 0.03), rgba(232, 148, 60, 0.02));
    border-color: var(--border-neon);
}
.world-card-icon {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}
.world-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.world-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- LINKEDIN --- */
.linkedin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}
.linkedin-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}
.linkedin-card:hover {
    border-color: var(--border-neon);
    box-shadow: var(--shadow-neon);
}
.linkedin-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.linkedin-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-neon);
}
.linkedin-header strong {
    display: block;
    font-size: 0.85rem;
    color: #fff;
}
.linkedin-header span {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.linkedin-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.linkedin-cta {
    text-align: center;
}

/* --- CONTACT --- */
.contact-block {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.contact-with-photo {
    max-width: 1000px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}
.contact-photo {
    flex-shrink: 0;
}
.contact-img {
    width: 280px;
    height: 380px;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(212, 118, 60, 0.15);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(212, 118, 60, 0.06);
    filter: sepia(12%) saturate(1.1) brightness(0.9) contrast(1.05);
}
.contact-with-photo .contact-links {
    justify-content: flex-start;
}
.contact-info {
    /* wrapper for text content */
}
.contact-block .section-desc {
    margin-left: auto;
    margin-right: auto;
}
.contact-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
    flex: 1;
    justify-content: center;
}
.contact-item:hover {
    border-color: var(--border-neon);
    color: var(--neon);
    background: var(--neon-subtle);
    transform: translateY(-2px);
}
.contact-icon {
    font-size: 1rem;
    color: var(--neon);
    min-width: 20px;
    text-align: center;
    font-style: normal;
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-logo {
    display: flex;
    align-items: center;
}
.footer-logo .jbc-logo-svg {
    height: 26px;
    width: auto;
    fill: var(--text);
}
.footer-logo .jbc-logo-svg .logo-dot {
    fill: var(--neon);
}
.footer-copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}
.footer-seo-links {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 32px 48px;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 32px 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    justify-content: center;
}
.footer-links-row h4 {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}
.footer-links-row a {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    transition: var(--transition);
    text-align: center;
}
.footer-links-row a:hover {
    color: var(--neon);
}
.footer-bottom {
    max-width: 800px;
    margin: 32px auto 0;
    padding: 24px 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* --- INSPIRATIONS --- */
.inspire-chapter {
    margin-top: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: rgba(18, 16, 14, 0.5);
}
.inspire-chapter-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 32px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
}
.inspire-chapter:nth-child(odd) .inspire-chapter-header {
    background: linear-gradient(135deg, rgba(212, 118, 60, 0.06), rgba(212, 118, 60, 0.02));
    border-bottom-color: rgba(212, 118, 60, 0.12);
}
.inspire-chapter:nth-child(even) .inspire-chapter-header {
    background: linear-gradient(135deg, rgba(232, 148, 60, 0.06), rgba(232, 148, 60, 0.02));
    border-bottom-color: rgba(232, 148, 60, 0.12);
}
.inspire-chapter-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}
.inspire-chapter-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
    width: 100%;
    margin-top: 4px;
}
.inspire-chapter > .inspire-grid {
    padding: 24px;
}
.inspire-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.inspire-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
}
.inspire-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.inspire-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin-bottom: 16px;
    border: 2px solid rgba(212, 118, 60, 0.25);
    filter: grayscale(40%) sepia(20%) brightness(0.85) saturate(1.2);
    transition: var(--transition);
    box-shadow: 0 0 12px rgba(212, 118, 60, 0.08);
}
.inspire-card:hover .inspire-photo {
    filter: grayscale(0%) sepia(10%) brightness(0.95) saturate(1.1);
    border-color: var(--neon);
    box-shadow: 0 0 20px rgba(212, 118, 60, 0.15);
}
.inspire-chapter:nth-child(2) .inspire-photo,
.inspire-chapter:nth-child(even) .inspire-photo {
    border-color: rgba(232, 148, 60, 0.2);
}
.inspire-chapter:nth-child(2) .inspire-card:hover .inspire-photo,
.inspire-chapter:nth-child(even) .inspire-card:hover .inspire-photo {
    border-color: var(--violet);
}
a.inspire-card {
    text-decoration: none;
    color: inherit;
}
.inspire-avatar {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: rgba(212, 118, 60, 0.06);
    border: 2px solid rgba(212, 118, 60, 0.15);
}
.inspire-avatar-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    margin-bottom: 16px;
    border: 2px solid rgba(212, 118, 60, 0.25);
    filter: grayscale(30%) sepia(20%) brightness(0.88) saturate(1.15);
    transition: var(--transition);
    box-shadow: 0 0 12px rgba(212, 118, 60, 0.08);
}
.inspire-card:hover .inspire-avatar-img {
    filter: grayscale(0%) sepia(8%) brightness(0.95) saturate(1.1);
    border-color: var(--neon);
    box-shadow: 0 0 20px rgba(212, 118, 60, 0.2);
}
.inspire-chapter:nth-child(even) .inspire-avatar-img {
    border-color: rgba(232, 148, 60, 0.2);
}
.inspire-chapter:nth-child(even) .inspire-card:hover .inspire-avatar-img {
    border-color: var(--violet);
    box-shadow: 0 0 16px rgba(232, 148, 60, 0.2);
    color: var(--neon);
}
.inspire-chapter:nth-child(2) .inspire-avatar,
.inspire-chapter:nth-child(even) .inspire-avatar {
    background: rgba(232, 148, 60, 0.06);
    border-color: rgba(232, 148, 60, 0.15);
    color: var(--violet);
}
.inspire-card h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.inspire-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- SCROLL ANIMATIONS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   COMPREHENSIVE ANIMATION SYSTEM
   ============================================ */

/* --- KEYFRAMES --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes statPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 0px rgba(212, 118, 60, 0));
    }
    50% {
        filter: drop-shadow(0 0 8px rgba(212, 118, 60, 0.6));
    }
}

@keyframes dotPulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 118, 60, 0.4), 0 0 16px rgba(212, 118, 60, 0.5);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(212, 118, 60, 0), 0 0 24px rgba(212, 118, 60, 0.3);
    }
}

@keyframes borderGlowSweep {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- ANIMATION UTILITY CLASSES --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.fade-in-down.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.slide-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.slide-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.scale-in.animate-in {
    opacity: 1;
    transform: scale(1);
}

/* --- 1. FADE-IN-UP ON SCROLL FOR SECTIONS --- */
.section .section-tag,
.section .section-title,
.section .section-desc {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.section.animate-in .section-tag {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}
.section.animate-in .section-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}
.section.animate-in .section-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

/* --- 2. STAGGERED CARD ANIMATIONS --- */
.eco-card,
.skill-card,
.award-card,
.world-card,
.linkedin-card,
.inspire-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease),
                border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
                background 0.3s var(--ease);
}
.eco-card.animate-in,
.skill-card.animate-in,
.award-card.animate-in,
.world-card.animate-in,
.linkedin-card.animate-in,
.inspire-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- 3. HERO TEXT ENTRANCE ANIMATION --- */
.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s var(--ease) 0.4s forwards;
}
.hero-sub {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s var(--ease) 0.6s forwards;
}
.hero-actions {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s var(--ease) 0.8s forwards;
}
.hero-stats {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s var(--ease) 1.0s forwards;
}

/* --- 4. HERO IMAGE SLIDE-IN FROM RIGHT --- */
.hero-photo {
    opacity: 0;
    transform: translateX(80px);
    animation: slideInRight 1s var(--ease) 0.5s forwards;
}

/* --- 5. SMOOTH HOVER SCALE AND GLOW ON ALL CARDS --- */
.eco-card:hover,
.skill-card:hover,
.award-card:hover,
.world-card:hover,
.linkedin-card:hover,
.inspire-card:hover {
    box-shadow: var(--shadow-neon), 0 0 40px rgba(212, 118, 60, 0.08);
}

/* --- 6. NAV LOGO DOT PULSE/GLOW --- */
.jbc-logo-svg .logo-dot {
    animation: logoGlow 3s ease-in-out infinite;
}

/* --- 7. BUTTON HOVER ANIMATIONS WITH SCALE AND GLOW --- */
.btn {
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
                background 0.3s var(--ease), color 0.3s var(--ease),
                border-color 0.3s var(--ease);
}
.btn:hover {
    transform: translateY(-3px) scale(1.03);
}
.btn-primary:hover {
    box-shadow: 0 0 30px rgba(212, 118, 60, 0.3), 0 0 60px rgba(232, 148, 60, 0.15), 0 8px 25px rgba(0, 0, 0, 0.3);
}
.btn-ghost:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 20px rgba(212, 118, 60, 0.1), 0 4px 15px rgba(0, 0, 0, 0.2);
}
.btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* --- 8. STATS COUNTER POP ANIMATION --- */
.stat.animate-in .stat-num {
    animation: statPop 0.6s var(--ease) forwards;
}
.stat {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.stat.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- 9. JOURNEY TIMELINE DOT PULSE ANIMATION --- */
.journey-dot {
    animation: dotPulseGlow 2.5s ease infinite;
}
.journey-item-center {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.journey-item-center.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- 10. MOBILE MENU SLIDE-DOWN ANIMATION --- */
@media (max-width: 768px) {
    .nav-links {
        opacity: 0;
        transform: translateY(-20px) scaleY(0.95);
        transform-origin: top center;
        transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
                    visibility 0s linear 0.35s;
        pointer-events: none;
        display: flex !important;
        visibility: hidden;
    }
    .nav-links.open {
        opacity: 1;
        transform: translateY(0) scaleY(1);
        pointer-events: auto;
        visibility: visible;
        transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
                    visibility 0s linear 0s;
    }
    .nav-links a {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
                    color 0.3s var(--ease), background 0.3s var(--ease);
    }
    .nav-links.open a:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.05s; }
    .nav-links.open a:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
    .nav-links.open a:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
    .nav-links.open a:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
    .nav-links.open a:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
    .nav-links.open a:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
    .nav-links.open a:nth-child(7) { opacity: 1; transform: translateY(0); transition-delay: 0.35s; }
    .nav-links.open a:nth-child(8) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
    .nav-links.open a:nth-child(9) { opacity: 1; transform: translateY(0); transition-delay: 0.45s; }
    .nav-links.open a:nth-child(10) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
}

/* --- 11. SCROLL-TRIGGERED BORDER GLOW ON SECTION SEPARATORS --- */
.section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon), var(--violet), transparent);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.8s var(--ease);
}
.section.animate-in::after {
    opacity: 0.6;
    animation: borderGlowSweep 3s ease-in-out infinite;
}

/* --- 12. PARALLAX-LIKE EFFECT ON HERO GLOWS (enhanced via JS) --- */
.glow {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* --- 14. CONTACT LINKS HOVER SLIDE EFFECT --- */
.contact-item {
    overflow: hidden;
    position: relative;
}
.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 118, 60, 0.06), transparent);
    transition: left 0.5s var(--ease);
    pointer-events: none;
}
.contact-item:hover::before {
    left: 100%;
}
.contact-item:hover {
    transform: translateY(-3px) translateX(4px);
}

/* --- 15. FOOTER LINKS SUBTLE FADE IN --- */
.footer-links-row {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.footer-links-row.animate-in {
    opacity: 1;
    transform: translateY(0);
}
.footer-inner {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.footer-inner.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- VISION / MANIFESTO LINE STAGGER --- */
.manifesto-line {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.manifesto-line.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* --- OFORO PRODUCT STAGGER --- */
.oforo-product {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease),
                border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.oforo-product.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .hero-title,
    .hero-sub,
    .hero-actions,
    .hero-stats,
    .hero-photo {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .fade-in-up,
    .fade-in-down,
    .slide-in-right,
    .slide-in-left,
    .scale-in,
    .eco-card,
    .skill-card,
    .award-card,
    .world-card,
    .linkedin-card,
    .inspire-card,
    .journey-item-center,
    .manifesto-line,
    .oforo-product,
    .footer-links-row,
    .footer-inner,
    .stat,
    .section .section-tag,
    .section .section-title,
    .section .section-desc {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-split {
        gap: 24px;
        padding: 100px 30px 0;
    }
    .hero-photo {
        flex: 0 0 260px;
    }
    .hero-text {
        padding-bottom: 60px;
    }
    .hero-title {
        font-size: clamp(1.8rem, 4.5vw, 3rem);
    }
    .hero-sub {
        font-size: 0.95rem;
    }
    .eco-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .eco-card-featured {
        grid-column: span 2;
    }
    .oforo-block {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .spotlight-layout {
        grid-template-columns: 1fr;
    }
    .spotlight-photo {
        position: static;
    }
    .vision-with-photo {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .section-photo {
        height: 400px;
    }
    .world-layout {
        grid-template-columns: 1fr;
    }
    .oforo-visual {
        height: 260px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 16px;
        right: 16px;
        width: auto;
        height: auto;
        background: var(--bg-card);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 8px 0;
        border-radius: 14px;
        border: 1px solid var(--border-neon);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 118, 60, 0.06);
        margin-top: 8px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        font-size: 1rem;
        color: var(--text);
        padding: 14px 24px;
        letter-spacing: 0.04em;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(42, 38, 35, 0.4);
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    .nav-links a:hover,
    .nav-links a:active {
        color: var(--neon);
        background: rgba(212, 118, 60, 0.06);
    }
    /* Backdrop overlay to close menu on outside tap */
    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 99999;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    .nav-backdrop.open {
        display: block;
    }
    .nav-toggle {
        display: flex;
        z-index: 100000;
        position: relative;
    }
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero stays side-by-side on tablet, just smaller */
    .hero-split {
        gap: 16px;
        padding: 90px 20px 0;
    }
    .hero-photo {
        flex: 0 0 200px;
    }
    .hero-text {
        padding-bottom: 40px;
    }
    .hero-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }
    .hero-sub {
        font-size: 0.85rem;
    }
    .hero-stats {
        gap: 16px;
    }
    .stat-num {
        font-size: 1.6rem;
    }
    .stat-label {
        font-size: 0.6rem;
    }
    .hero-actions .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    .vision-with-photo {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .vision-photo {
        position: static;
    }
    .section-photo {
        height: 320px;
    }
    .inspire-grid {
        grid-template-columns: 1fr 1fr;
    }
    .contact-with-photo {
        grid-template-columns: 200px 1fr;
        gap: 30px;
    }
    .contact-img {
        width: 200px;
        height: 260px;
    }
    .world-banner-img {
        height: 240px;
    }
    .scroll-hint {
        display: none;
    }

    .section {
        padding: 80px 0;
    }
    .container {
        padding: 0 20px;
    }
    .section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .eco-grid,
    .skills-grid,
    .awards-grid,
    .world-grid,
    .linkedin-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .eco-card-featured,
    .world-card-wide {
        grid-column: span 2;
    }
    .world-layout {
        grid-template-columns: 200px 1fr;
        gap: 24px;
    }
    .world-photo-side {
        position: static;
    }
    .world-side-img {
        width: 200px;
        max-height: 400px;
    }
    .world-grid-side {
        grid-template-columns: 1fr;
    }
    .eco-card-featured {
        display: block;
    }

    .oforo-visual {
        height: 200px;
    }
    .oforo-logo-large {
        width: 80px;
        height: 80px;
    }
    .oforo-orbit {
        width: 160px;
        height: 160px;
    }

    .journey-item-center {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .journey-left .journey-content-center,
    .journey-right .journey-content-center {
        text-align: left;
        padding: 16px 0 0 28px;
    }
    .journey-spacer {
        display: none;
    }
    .journey-dot {
        position: absolute;
        left: 0;
        top: 20px;
    }
    .journey-line {
        left: 7px;
        transform: none;
    }

    .contact-links {
        flex-wrap: wrap;
        flex-direction: row;
    }
    .contact-item {
        flex: 0 0 calc(50% - 8px);
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .jbc-logo-svg {
        height: 24px;
    }
    .hero {
        min-height: auto;
    }
    .hero-split {
        flex-direction: column-reverse;
        text-align: center;
        gap: 0;
        padding: 70px 16px 30px;
        min-height: auto;
    }
    .hero-text {
        padding-bottom: 0;
    }
    .hero-photo {
        flex: 0 0 auto;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .hero-img {
        width: 100%;
        max-width: 100%;
        max-height: none;
        margin: 0 auto;
    }
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
        line-height: 1.15;
    }
    .hero-sub {
        font-size: 0.9rem;
        margin-bottom: 18px;
        line-height: 1.5;
    }
    .hero-actions {
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
    }
    .hero-actions .btn {
        padding: 10px 18px;
        font-size: 0.78rem;
        white-space: nowrap;
    }
    .hero-stats {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }
    .stat-num {
        font-size: 1.3rem;
    }
    .stat-label {
        font-size: 0.55rem;
    }
    .vision-with-photo {
        grid-template-columns: 1fr;
    }
    .eco-grid,
    .skills-grid,
    .awards-grid,
    .world-grid,
    .linkedin-grid,
    .inspire-grid {
        grid-template-columns: 1fr;
    }
    .eco-card-featured,
    .world-card-wide {
        grid-column: span 1;
    }
    .contact-with-photo {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-img {
        margin: 0 auto;
    }
    .contact-with-photo .contact-links {
        justify-content: center;
    }
    .world-layout {
        grid-template-columns: 1fr;
    }
    .world-photo-side {
        text-align: center;
    }
    .world-side-img {
        width: 180px;
    }
    .section {
        padding: 60px 0;
    }
    .container {
        padding: 0 16px;
    }
    .footer-seo-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
        padding: 24px 20px 0;
    }
    .footer-links-row,
    .footer-links-row h4,
    .footer-links-row a {
        text-align: center !important;
    }
    .contact-item {
        flex: 0 0 100%;
    }
}
