/* =================================================================
   KMOKY.COM v3 — 3D MAZA EDITION
   Tech Dark + Cyan + Three.js + Flip Cards + Parallax + Photos
   ================================================================= */

:root {
    --bg-base:        #050608;
    --bg-elev:        #0a0d12;
    --bg-elev-2:      #11151c;
    --surface:        #161b24;
    --line:           rgba(103, 232, 249, 0.08);
    --line-strong:    rgba(103, 232, 249, 0.20);

    --text-primary:   #e6edf3;
    --text-secondary: #8b949e;
    --text-muted:     #565d68;

    --cyan:           #67e8f9;
    --cyan-bright:    #a5f3fc;
    --cyan-deep:      #0891b2;
    --cyan-glow:      rgba(103, 232, 249, 0.35);

    --green:          #4ade80;
    --green-glow:     rgba(74, 222, 128, 0.30);
    --magenta:        #f472b6;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Space Grotesk', -apple-system, sans-serif;
    --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    --container: 1320px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: var(--bg-base);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-base);
    overflow-x: hidden;
    cursor: default;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; color: inherit; cursor: pointer; }
ul { list-style: none; }
em, i { font-style: italic; font-family: var(--font-display); }

::selection { background: var(--cyan); color: var(--bg-base); }
strong { color: var(--text-primary); font-weight: 600; }

.cyan-text {
    color: var(--cyan);
    font-style: italic;
    font-family: var(--font-display);
}

/* ===================================================
   CUSTOM CURSOR
   =================================================== */
.cursor-dot, .cursor-ring {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    will-change: transform;
    mix-blend-mode: difference;
}
.cursor-dot {
    width: 6px; height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s;
    box-shadow: 0 0 12px var(--cyan-glow);
}
.cursor-ring {
    width: 36px; height: 36px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out),
                opacity 0.3s, border-color 0.3s;
}
.cursor-ring.big {
    width: 80px; height: 80px;
    border-color: var(--cyan-bright);
    background: rgba(103, 232, 249, 0.05);
}
.cursor-ring.hide, .cursor-dot.hide { opacity: 0; }

@media (max-width: 980px), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ===================================================
   BOOT LOADER
   =================================================== */
.boot-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-base);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease-out, visibility 0s 0.6s;
}
.boot-loader.loaded { opacity: 0; visibility: hidden; }
.boot-inner { width: min(420px, 80vw); }
.boot-prompt {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--cyan);
    margin-bottom: 16px;
}
.boot-tag { color: var(--text-muted); margin-right: 8px; }
.boot-caret {
    display: inline-block;
    color: var(--cyan);
    animation: caretBlink 1s steps(1) infinite;
    margin-left: 2px;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.boot-bar {
    width: 100%;
    height: 2px;
    background: rgba(103, 232, 249, 0.1);
    overflow: hidden;
    position: relative;
}
.boot-bar span {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    transform: translateX(-100%);
    animation: bootBarSlide 1.6s var(--ease-out) infinite;
}
@keyframes bootBarSlide { to { transform: translateX(100%); } }

/* ===================================================
   THREE.JS CANVAS
   =================================================== */
.three-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Hero Three.js mount (positioned inside hero) */
.hero-three-mount {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* ===================================================
   SCAN LINES
   =================================================== */
.scan-lines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: repeating-linear-gradient(
        0deg, transparent 0, transparent 2px,
        rgba(103, 232, 249, 1) 2px, rgba(103, 232, 249, 1) 3px);
    mix-blend-mode: overlay;
}

/* ===================================================
   LAYOUT
   =================================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }
main { position: relative; z-index: 1; }

/* ===================================================
   HEADER
   =================================================== */
.kmoky-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(5, 6, 8, 0.5);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: padding 0.4s var(--ease-out), background 0.4s, border-color 0.4s;
}
.kmoky-header.scrolled {
    padding: 12px 0;
    background: rgba(5, 6, 8, 0.9);
    border-bottom-color: var(--line);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    transition: color 0.3s;
}
.brand:hover { color: var(--cyan); }
.brand-logo {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.3s;
}
.brand:hover .brand-logo {
    filter: brightness(0) invert(1) sepia(1) hue-rotate(170deg) saturate(5);
}
.brand-text {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -0.01em;
}
.brand-bracket { color: var(--cyan); }
.brand-cursor {
    color: var(--cyan);
    animation: caretBlink 1s steps(1) infinite;
}

.primary-nav ul { display: flex; gap: 32px; }
.primary-nav a {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
    transition: color 0.3s;
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    padding: 6px 0;
    position: relative;
}
.primary-nav .nav-num { font-size: 10px; color: var(--cyan); opacity: 0.7; }
.primary-nav a::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}
.primary-nav a:hover { color: var(--cyan-bright); }
.primary-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.cta-tech {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border: 1px solid var(--cyan-deep);
    background: rgba(103, 232, 249, 0.05);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--cyan);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.cta-tech::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.cta-tech:hover::before { transform: translateX(100%); }
.cta-tech:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 24px var(--cyan-glow);
}
.cta-status {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green-glow);
    animation: ledPulse 2s infinite;
}
@keyframes ledPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}
.cta-arrow { transition: transform 0.3s; }
.cta-tech:hover .cta-arrow { transform: translateX(4px); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    padding: 6px 0;
}
.nav-toggle span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--cyan);
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: 380px;
    background: var(--bg-elev);
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    border-left: 1px solid var(--line-strong);
    z-index: 99;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer ul li { border-bottom: 1px solid var(--line); padding: 18px 0; }
.mobile-drawer ul li a {
    font-family: var(--font-mono);
    font-size: 22px;
    color: var(--text-primary);
    display: inline-flex;
    gap: 12px;
}
.mobile-drawer ul li a span { font-size: 12px; color: var(--cyan); opacity: 0.7; }
.drawer-meta {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-meta a { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); }

@media (max-width: 980px) {
    .primary-nav, .cta-tech { display: none; }
    .nav-toggle { display: flex; }
}

/* ===================================================
   HERO
   =================================================== */
.hero {
    min-height: 100vh;
    position: relative;
    padding: 130px 0 80px;
    overflow: hidden;
    perspective: 1500px;
}
.hero-mouse-glow {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 60%);
    filter: blur(40px);
    pointer-events: none;
    opacity: 0.6;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out;
    will-change: transform;
    z-index: 1;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(103, 232, 249, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(103, 232, 249, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 80%);
    pointer-events: none;
    will-change: transform;
}

.status-bar {
    position: relative;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(5, 6, 8, 0.6);
    backdrop-filter: blur(12px);
    margin-bottom: 60px;
    z-index: 3;
}
.status-bar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 12px 32px;
    display: flex;
    gap: 32px;
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-mono);
    font-size: 12px;
}
.status-item { display: inline-flex; align-items: center; gap: 8px; }
.status-led {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green-glow);
    animation: ledPulse 2s infinite;
}
.status-label {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.status-key {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.status-value { color: var(--cyan); font-weight: 500; }

.hero-inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
    z-index: 2;
}
.hero-grid-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content { will-change: transform; }
.hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    background: rgba(103, 232, 249, 0.04);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s forwards;
}
.meta-bracket { color: var(--text-muted); }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(44px, 8vw, 130px);
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 40px;
}
.hero-headline .line { display: block; overflow: hidden; }
.hero-headline .italic { color: var(--cyan); font-style: italic; }
.reveal-text {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    animation: revealUp 1s var(--ease-out) forwards;
}
.hero-headline .line:nth-child(1) .reveal-text { animation-delay: 0.6s; }
.hero-headline .line:nth-child(2) .reveal-text { animation-delay: 0.75s; }
.hero-headline .line:nth-child(3) .reveal-text { animation-delay: 0.9s; }
@keyframes revealUp {
    to { transform: translateY(0); opacity: 1; }
}
.cursor-blink {
    display: inline-block;
    color: var(--cyan);
    animation: caretBlink 1s steps(1) infinite;
    margin-left: 4px;
    font-style: normal;
}

.hero-roles {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.2s forwards;
}
.role-row {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
    display: inline-flex;
    gap: 12px;
}
.role-num { color: var(--cyan); }
.role-text { border-right: 2px solid transparent; min-height: 1.2em; }
.role-text.typing { border-right-color: var(--cyan); }

.hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 300;
    line-height: 1.5;
    max-width: 620px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.6s forwards;
}
.hero-tagline em { color: var(--cyan-bright); font-weight: 400; }

.hero-cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.8s forwards;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    background: var(--cyan);
    color: var(--bg-base);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.btn-pulse {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    animation: btnShimmer 3s ease-in-out infinite;
}
@keyframes btnShimmer { 50% { transform: translateX(100%); } }
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px -8px var(--cyan-glow);
}
.btn-primary .btn-arrow { transition: transform 0.3s; }
.btn-primary:hover .btn-arrow { transform: translateX(5px); }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    border: 1px solid var(--line-strong);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: 14px;
    transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.btn-ghost:hover {
    border-color: var(--cyan);
    background: rgba(103, 232, 249, 0.05);
    color: var(--cyan);
}

/* ===== HERO PHOTO with 3D TILT + ORBITING RINGS ===== */
.hero-visual { perspective: 1500px; position: relative; will-change: transform; }
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.2s ease-out;
    will-change: transform;
    opacity: 0;
    animation: tiltCardIn 1s var(--ease-out) 1.4s forwards;
}
@keyframes tiltCardIn {
    from { opacity: 0; transform: rotateY(-20deg) scale(0.95); }
    to   { opacity: 1; transform: rotateY(0) scale(1); }
}
.tilt-card-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    max-width: 460px;
    margin: 0 auto;
    transform-style: preserve-3d;
}

.orbit-ring {
    position: absolute;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
}
.orbit-ring-1 {
    inset: -40px;
    border-style: dashed;
    animation: orbitSpin 20s linear infinite;
}
.orbit-ring-2 {
    inset: -20px;
    border-color: rgba(103, 232, 249, 0.15);
    animation: orbitSpin 30s linear infinite reverse;
}
@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

.photo-frame {
    position: absolute;
    inset: 0;
    background: var(--bg-elev);
    border: 1px solid var(--cyan-deep);
    border-radius: 12px;
    overflow: hidden;
    transform: translateZ(0);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6),
                0 0 80px -20px var(--cyan-glow);
}
.photo-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--cyan-deep), transparent 40%, var(--cyan) 100%);
    border-radius: 12px;
    opacity: 0.3;
    z-index: -1;
    filter: blur(20px);
    animation: photoGlow 4s ease-in-out infinite;
}
@keyframes photoGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.65; }
}
.photo-content {
    position: absolute;
    inset: 8px;
    background: var(--bg-base);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.6s var(--ease-out);
}
.tilt-card:hover .hero-photo { transform: scale(1.04); }

.photo-corners .corner {
    position: absolute;
    width: 18px; height: 18px;
    border: 2px solid var(--cyan);
    z-index: 2;
}
.corner-tl { top: 6px; left: 6px; border-right: none; border-bottom: none; }
.corner-tr { top: 6px; right: 6px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 6px; left: 6px; border-right: none; border-top: none; }
.corner-br { bottom: 6px; right: 6px; border-left: none; border-top: none; }

.float-badge {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(10, 13, 18, 0.95);
    border: 1px solid var(--cyan-deep);
    border-radius: 4px;
    backdrop-filter: blur(12px);
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    transform: translateZ(80px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.5);
    animation: badgeFloat 5s ease-in-out infinite;
    white-space: nowrap;
    z-index: 5;
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan-glow);
}
.badge-1 { top: -20px; left: -40px; animation-delay: 0s; }
.badge-2 { top: 50%; right: -60px; animation-delay: -1.5s; }
.badge-3 { bottom: 30px; left: -50px; animation-delay: -3s; }
@keyframes badgeFloat {
    0%, 100% { transform: translateZ(80px) translateY(0); }
    50% { transform: translateZ(80px) translateY(-10px); }
}

@media (max-width: 980px) {
    .hero-grid-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .tilt-card-inner { max-width: 280px; }
    .float-badge { font-size: 10px; padding: 6px 10px; }
    .badge-1 { left: -16px; }
    .badge-2 { right: -16px; }
    .badge-3 { left: -16px; }
    .orbit-ring-1 { inset: -24px; }
    .orbit-ring-2 { inset: -12px; }
}

.hero-scroll {
    position: absolute;
    right: 32px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 2.1s forwards;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--cyan), transparent);
    animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    51%  { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}
@media (max-width: 980px) { .hero-scroll { display: none; } }

.hero-marquee {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    overflow: hidden;
    background: rgba(5, 6, 8, 0.4);
    backdrop-filter: blur(8px);
}
.marquee-track {
    display: flex;
    gap: 40px;
    align-items: center;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-secondary);
}
.marquee-track .dot { color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===================================================
   SECTION HEADERS
   =================================================== */
section { padding: 120px 0; position: relative; }
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    font-family: var(--font-mono);
    font-size: 12px;
}
.section-num { color: var(--cyan); }
.section-label { color: var(--text-secondary); text-transform: lowercase; letter-spacing: 0.08em; }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5.5vw, 72px);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    color: var(--text-primary);
}
.section-intro {
    max-width: 640px;
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 64px;
    line-height: 1.7;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px) rotateX(-10deg);
    transform-origin: 50% 100%;
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

/* ===================================================
   ABOUT
   =================================================== */
.about {
    background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-elev) 100%);
}
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
}
.about-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
.about-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.about-stats {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 64px;
    background: var(--line);
    border: 1px solid var(--line);
}
.stat {
    background: var(--bg-base);
    padding: 32px 24px;
    transition: background 0.4s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stat:hover { background: var(--bg-elev-2); }
.stat-num {
    font-family: var(--font-mono);
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 500;
    color: var(--cyan);
    line-height: 1;
    letter-spacing: -0.02em;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===================================================
   GALLERY — 3D floating cards
   =================================================== */
.gallery {
    background: var(--bg-base);
    overflow: hidden;
    perspective: 2000px;
}
.gallery-3d-track {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    transform-style: preserve-3d;
    padding: 40px 0;
}
.gallery-item {
    flex: 0 0 calc(33.333% - 24px);
    min-width: 240px;
    max-width: 320px;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform-style: preserve-3d;
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s, border-color 0.4s;
    will-change: transform;
    position: relative;
}
.gallery-item::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--cyan-deep), transparent 50%);
    opacity: 0;
    z-index: -1;
    filter: blur(10px);
    transition: opacity 0.4s;
}
.gallery-item:hover {
    transform: translateZ(60px) rotateX(8deg) rotateY(-5deg) scale(1.05);
    box-shadow: 0 32px 60px -20px rgba(0,0,0,0.7),
                0 0 60px -20px var(--cyan-glow);
    border-color: var(--cyan-deep);
}
.gallery-item:hover::before { opacity: 0.6; }
.gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    filter: brightness(1.05);
    transition: transform 0.5s var(--ease-out);
}
.gallery-item:hover img {
    transform: scale(1.1) rotate(-2deg);
}
.gallery-label {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.04em;
}

@media (max-width: 900px) {
    .gallery-item { flex: 0 0 calc(50% - 16px); }
}
@media (max-width: 600px) {
    .gallery-item { flex: 0 0 100%; }
}

/* ===================================================
   VENTURES — FLIP CARDS
   =================================================== */
.ventures { background: var(--bg-elev); }

.ventures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    perspective: 1500px;
}
@media (max-width: 1100px) {
    .ventures-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .ventures-grid { grid-template-columns: 1fr; }
}

.venture-flip-card {
    position: relative;
    min-height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.8s var(--ease-out);
    cursor: pointer;
}
.venture-flip-card:hover { transform: rotateY(180deg); }
.venture-flip-card.tap-flipped { transform: rotateY(180deg); }

.venture-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.venture-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    background: var(--bg-base);
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 400px;
}

.venture-front {
    background: linear-gradient(165deg, var(--bg-elev-2) 0%, var(--bg-base) 100%);
}
.venture-front::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    opacity: 0.6;
}

.venture-front-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.venture-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.venture-status .status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
}
.status-live { background: rgba(74, 222, 128, 0.1); color: var(--green); }
.status-live .status-dot {
    background: var(--green);
    box-shadow: 0 0 8px var(--green-glow);
    animation: ledPulse 2s infinite;
}
.status-new {
    background: rgba(244, 114, 182, 0.1);
    color: var(--magenta);
    border: 1px solid rgba(244, 114, 182, 0.3);
}
.status-new .status-dot { background: var(--magenta); }
.status-ngo { background: rgba(135, 168, 201, 0.1); color: #87a8c9; }
.status-ngo .status-dot { background: #87a8c9; }

.venture-year {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}

.venture-logo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0;
    min-height: 100px;
}
.venture-logo-img {
    max-height: 80px;
    max-width: 80%;
    object-fit: contain;
    filter: brightness(1.05);
    transition: transform 0.5s var(--ease-out), filter 0.5s;
}
.venture-flip-card:hover .venture-logo-img {
    transform: scale(1.08);
}
.venture-logo-text {
    flex-direction: column;
    color: var(--cyan);
}
.logo-large-text {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--cyan);
}
.logo-sub-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.1em;
}

.venture-name {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
    text-align: center;
}
.venture-name-ar {
    display: inline-block;
    font-family: 'Noto Naskh Arabic', var(--font-display);
    font-size: 0.7em;
    color: var(--cyan);
    margin-left: 8px;
    font-weight: 500;
    vertical-align: middle;
    opacity: 0.85;
    direction: rtl;
}
.venture-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}
.venture-hint {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    text-align: center;
    margin-top: auto;
    opacity: 0.7;
}

.venture-back {
    transform: rotateY(180deg);
    background: linear-gradient(165deg, var(--bg-base), var(--bg-elev-2));
    border-color: var(--cyan-deep);
    padding: 28px;
    justify-content: space-between;
}
.venture-back h4 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--cyan-bright);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.venture-back p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.venture-meta-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}
.venture-stat { display: flex; flex-direction: column; gap: 2px; }
.vs-num {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--cyan);
    font-weight: 600;
}
.vs-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.venture-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}
.tag-chip {
    padding: 3px 8px;
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-secondary);
}
.venture-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 12px;
    transition: gap 0.3s;
    margin-top: auto;
}
.venture-link:hover { gap: 10px; }

.venture-card-new .venture-front {
    border: 1px solid var(--cyan-deep);
    box-shadow: 0 0 30px -10px var(--cyan-glow);
}

/* On hold */
.ventures-hold {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}
.ventures-hold h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.hold-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hold-item {
    padding: 24px;
    background: var(--bg-base);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: border-color 0.4s, transform 0.4s;
}
.hold-item:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}
.hold-logo {
    height: 40px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(1.1);
    opacity: 0.7;
}
.hold-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.hold-item > span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
}
.hold-item p {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}
@media (max-width: 768px) { .hold-grid { grid-template-columns: 1fr; } }

/* ===================================================
   AWARDS
   =================================================== */
.awards { background: var(--bg-base); }
.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 48px;
    background: var(--line);
    border: 1px solid var(--line);
}
.award-item {
    padding: 36px 28px;
    background: var(--bg-elev);
    transition: background 0.4s, transform 0.4s;
    position: relative;
}
.award-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 0; height: 2px;
    background: var(--cyan);
    transition: width 0.5s var(--ease-out);
}
.award-item:hover { background: var(--bg-elev-2); }
.award-item:hover::before { width: 100%; }
.award-year {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    margin-bottom: 14px;
    display: inline-block;
}
.award-item h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}
.award-item p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}
.award-item em { color: var(--cyan); font-weight: 500; }
@media (max-width: 900px) { .awards-grid { grid-template-columns: 1fr; } }

/* ===================================================
   GLOBAL — with parallax background image
   =================================================== */
.global {
    background: var(--bg-elev);
    overflow: hidden;
}
.global-bg {
    position: absolute;
    inset: -10% 0;
    z-index: 0;
    will-change: transform;
}
.global-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18;
    filter: hue-rotate(170deg) saturate(0.8);
}
.global::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        var(--bg-elev) 0%,
        transparent 25%,
        transparent 75%,
        var(--bg-elev) 100%);
    z-index: 1;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 48px;
}
.country-card {
    padding: 24px 20px;
    background: rgba(10, 13, 18, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: transform 0.4s, border-color 0.4s, background 0.4s, box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}
.country-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--cyan-glow), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}
.country-card:hover {
    transform: translateY(-4px);
    border-color: var(--cyan-deep);
    background: rgba(17, 21, 28, 0.95);
    box-shadow: 0 12px 32px -8px var(--cyan-glow);
}
.country-card:hover::after { opacity: 0.4; }
.country-card.featured {
    border-color: var(--cyan-deep);
}
.country-flag {
    font-size: 28px;
    display: block;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.country-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
    position: relative;
    z-index: 2;
}
.country-card p {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}
.country-card small {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    display: block;
    position: relative;
    z-index: 2;
}
@media (max-width: 900px) { .countries-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .countries-grid { grid-template-columns: 1fr; } }

/* ===================================================
   PHILOSOPHY
   =================================================== */
.philosophy {
    background: var(--bg-base);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}
.philosophy-frame {
    position: relative;
    padding: 80px 60px;
    text-align: center;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: rgba(10, 13, 18, 0.4);
    backdrop-filter: blur(8px);
    max-width: 1000px;
    margin: 0 auto;
}
.frame-corner {
    position: absolute;
    width: 24px; height: 24px;
    border: 2px solid var(--cyan);
}
.frame-tl { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.frame-tr { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.frame-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.frame-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.big-quote {
    font-family: var(--font-display);
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 24px;
}
.quote-mark { color: var(--cyan); opacity: 0.4; font-size: 1.2em; }
.philosophy cite {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    font-style: normal;
    letter-spacing: 0.1em;
}
@media (max-width: 700px) {
    .philosophy-frame { padding: 50px 24px; }
}

/* ===================================================
   FOOTER
   =================================================== */
.kmoky-footer {
    background: var(--bg-elev);
    padding: 100px 0 32px;
    border-top: 1px solid var(--line);
    position: relative;
    z-index: 2;
}
.footer-cinematic {
    max-width: var(--container);
    margin: 0 auto 80px;
    padding: 0 32px;
    text-align: center;
}
.footer-tag {
    display: inline-flex;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 12px;
    margin-bottom: 24px;
}
.tag-bracket { color: var(--cyan); }
.tag-text { color: var(--text-secondary); }
.footer-headline {
    font-family: var(--font-display);
    font-size: clamp(36px, 6vw, 84px);
    font-weight: 300;
    line-height: 1.0;
    letter-spacing: -0.03em;
    margin-bottom: 36px;
}
.footer-headline span { display: block; }
.footer-email-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 18px 36px;
    border: 1px solid var(--cyan-deep);
    border-radius: 6px;
    background: rgba(103, 232, 249, 0.05);
    font-family: var(--font-mono);
    font-size: clamp(18px, 2.5vw, 28px);
    color: var(--cyan);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.footer-email-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.8s;
}
.footer-email-cta:hover::before { transform: translateX(100%); }
.footer-email-cta:hover {
    border-color: var(--cyan);
    box-shadow: 0 0 32px var(--cyan-glow);
    transform: translateY(-2px);
}
.cta-arrow-big { transition: transform 0.3s; }
.footer-email-cta:hover .cta-arrow-big { transform: translate(4px, -4px); }

.footer-grid {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    border-bottom: 1px solid var(--line);
}
.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    margin-bottom: 18px;
}
.footer-col ul li { padding: 6px 0; }
.footer-col a, .footer-col p {
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s;
    line-height: 1.6;
}
.footer-col a:hover { color: var(--cyan); }
.region-tag {
    margin-left: 8px;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    border: 1px solid var(--line-strong);
    padding: 1px 5px;
    border-radius: 3px;
}
.locations { color: var(--text-secondary); line-height: 1.9; }
.loc-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    margin-right: 6px;
    vertical-align: middle;
}
.locations-meta {
    display: block;
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}
.footer-bottom {
    max-width: var(--container);
    margin: 32px auto 0;
    padding: 0 32px;
}
.footer-wordmark {
    font-family: var(--font-mono);
    font-size: clamp(48px, 9vw, 140px);
    font-weight: 500;
    color: transparent;
    -webkit-text-stroke: 1px var(--line-strong);
    letter-spacing: -0.05em;
    line-height: 0.8;
    user-select: none;
    text-align: center;
    margin-bottom: 32px;
}
.word-cursor {
    -webkit-text-stroke: 1px var(--cyan);
    animation: caretBlink 1s steps(1) infinite;
}
.footer-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.copyright, .footer-status {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}
.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===================================================
   ACCESSIBILITY
   =================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-on-scroll { opacity: 1; transform: none; }
    .venture-flip-card:hover { transform: none; }
}

/* ===================================================
   v4 ADDITIONS — Trophy cards, Revived status, Mentions
   =================================================== */

/* Renamed first awards section to awards-hero so we keep both classes */
.awards-hero {
    background: var(--bg-base);
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}
.awards-hero::before {
    content: '';
    position: absolute;
    top: 20%; left: -10%;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan-glow), transparent 60%);
    filter: blur(80px);
    opacity: 0.5;
    pointer-events: none;
}

/* Trophy grid */
.trophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
    perspective: 1500px;
}
@media (max-width: 900px) {
    .trophy-grid { grid-template-columns: 1fr; }
}

.trophy-card {
    position: relative;
    padding: 36px 32px;
    background: linear-gradient(165deg, var(--bg-elev) 0%, var(--bg-base) 100%);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    transition: transform 0.6s var(--ease-out), border-color 0.4s, box-shadow 0.6s;
    overflow: visible;
    transform-style: preserve-3d;
}
/* Disable hover rotation when embed accordion is open inside */
.trophy-card:has(details[open]):hover,
.trophy-card:has(details[open]) {
    transform: none !important;
    rotate: 0deg;
}
.trophy-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 0%, var(--cyan-glow), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    border-radius: inherit;
}
.trophy-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s var(--ease-out);
    border-radius: inherit;
}
.trophy-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan-deep);
    box-shadow:
        0 32px 60px -20px rgba(0,0,0,0.6),
        0 0 60px -20px var(--cyan-glow);
}
.trophy-card:hover::before { opacity: 1; }
.trophy-card:hover::after { transform: scaleX(1); }

.trophy-icon {
    width: 80px;
    height: 80px;
    color: var(--cyan);
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px var(--cyan-glow));
    transition: transform 0.6s var(--ease-bounce);
}
.trophy-card:hover .trophy-icon {
    transform: scale(1.1) rotate(-5deg);
}

.trophy-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
}
.trophy-tag {
    color: var(--text-muted);
    letter-spacing: 0.08em;
}
.trophy-rank {
    color: var(--cyan);
    font-weight: 600;
    padding: 3px 10px;
    border: 1px solid var(--cyan-deep);
    border-radius: 100px;
    background: rgba(103, 232, 249, 0.08);
}
.trophy-rank.rank-new {
    color: var(--magenta);
    border-color: var(--magenta);
    background: rgba(244, 114, 182, 0.08);
}

.trophy-name {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.trophy-subtitle {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.trophy-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.trophy-desc em {
    color: var(--cyan-bright);
    font-weight: 500;
    font-family: var(--font-body);
    font-style: normal;
}
.trophy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-family: var(--font-mono);
    font-size: 11px;
    flex-wrap: wrap;
    gap: 8px;
}
.trophy-location { color: var(--text-primary); }
.trophy-type {
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trophy-recent {
    border-color: var(--magenta);
}
.trophy-recent::after {
    background: linear-gradient(90deg, var(--magenta), transparent);
    transform: scaleX(0.6);
}
.trophy-recent:hover::after { transform: scaleX(1); }

/* Recognition mentions */
.recognition-mentions {
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}
.recognition-mentions h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.mentions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.mention-item {
    padding: 24px 20px;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 6px;
    transition: border-color 0.4s, transform 0.4s;
}
.mention-item:hover {
    border-color: var(--cyan-deep);
    transform: translateY(-2px);
}
.mention-icon {
    display: block;
    font-size: 28px;
    margin-bottom: 12px;
}
.mention-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}
.mention-item > span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    line-height: 1.5;
}
@media (max-width: 900px) { .mentions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .mentions-grid { grid-template-columns: 1fr; } }

/* Obera "revived" status */
.status-revived {
    background: rgba(251, 191, 36, 0.1);
    color: var(--amber, #fbbf24);
    border: 1px solid rgba(251, 191, 36, 0.3);
}
.status-revived .status-dot {
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
    animation: ledPulse 2s infinite;
}
.venture-card-revived .venture-front {
    border-color: rgba(251, 191, 36, 0.4);
}
.venture-card-revived .venture-front::after {
    background: linear-gradient(90deg, #fbbf24, transparent);
}
.venture-note {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 12px;
    opacity: 0.7;
}

/* Gallery placeholder for Obera awaiting logo */
.gallery-item-placeholder {
    border-style: dashed;
    border-color: var(--line-strong);
    background: linear-gradient(135deg, var(--bg-elev), var(--bg-base));
}
.placeholder-mark {
    width: 100%;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.placeholder-text {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--amber, #fbbf24);
}
.placeholder-sub {
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

/* Hold grid with 2 columns instead of 3 */
.hold-grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 768px) {
    .hold-grid-2 { grid-template-columns: 1fr !important; }
}

/* ===================================================
   v6 ADDITIONS — Arabic name, footer showcase, mobile polish
   =================================================== */

/* ===== Arabic name in hero ===== */
.hero-arabic-name {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: -16px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeInUp 0.8s var(--ease-out) 1.1s forwards;
}
.ar-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
    max-width: 60px;
}
.ar-text {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    color: var(--cyan);
    letter-spacing: 0.02em;
    direction: rtl;
    text-shadow: 0 0 24px var(--cyan-glow);
}

/* ===== Footer SHOWCASE — group photo prominent ===== */
.footer-showcase {
    max-width: var(--container);
    margin: 0 auto 80px;
    padding: 0 32px;
}
.showcase-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: var(--bg-elev);
    border: 1px solid var(--cyan-deep);
    box-shadow:
        0 24px 60px -20px rgba(0,0,0,0.6),
        0 0 80px -20px var(--cyan-glow);
    transition: transform 0.6s var(--ease-out);
}
.showcase-image-wrap:hover {
    transform: translateY(-4px) scale(1.005);
}
.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1.2s var(--ease-out), filter 0.6s;
    filter: brightness(0.9) saturate(1.1);
}
.showcase-image-wrap:hover .showcase-image {
    transform: scale(1.04);
    filter: brightness(1) saturate(1.2);
}
.showcase-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.2) 50%, rgba(5, 6, 8, 0.4) 100%),
        radial-gradient(ellipse at bottom left, var(--cyan-glow), transparent 60%);
    pointer-events: none;
}
.showcase-corners .sc-corner {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid var(--cyan);
    z-index: 3;
}
.sc-tl { top: 16px; left: 16px; border-right: none; border-bottom: none; }
.sc-tr { top: 16px; right: 16px; border-left: none; border-bottom: none; }
.sc-bl { bottom: 16px; left: 16px; border-right: none; border-top: none; }
.sc-br { bottom: 16px; right: 16px; border-left: none; border-top: none; }

.showcase-caption {
    position: absolute;
    left: 48px;
    right: 48px;
    bottom: 48px;
    z-index: 4;
    max-width: 600px;
}
.showcase-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(5, 6, 8, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid var(--cyan-deep);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    margin-bottom: 16px;
}
.sc-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 8px var(--cyan-glow);
    animation: ledPulse 2s infinite;
}
.showcase-title {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.5vw, 56px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.showcase-line {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.6vw, 17px);
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .showcase-caption {
        left: 20px;
        right: 20px;
        bottom: 20px;
    }
    .showcase-corners .sc-corner {
        width: 20px;
        height: 20px;
    }
    .sc-tl { top: 10px; left: 10px; }
    .sc-tr { top: 10px; right: 10px; }
    .sc-bl { bottom: 10px; left: 10px; }
    .sc-br { bottom: 10px; right: 10px; }
    .showcase-image-wrap { aspect-ratio: 4/5; }
    .footer-showcase { padding: 0 16px; margin-bottom: 60px; }
}

/* ===== Arabic name in footer + Citations ===== */
.footer-name-arabic {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: clamp(22px, 3vw, 36px);
    color: var(--cyan);
    direction: rtl;
    margin-bottom: 24px;
    text-shadow: 0 0 16px var(--cyan-glow);
    opacity: 0.95;
}
.cite-arabic {
    font-family: 'Noto Naskh Arabic', serif;
    color: var(--cyan);
    direction: rtl;
}
.loc-arabic {
    font-family: 'Noto Naskh Arabic', serif;
    color: var(--cyan);
    margin-left: 6px;
    direction: rtl;
}

/* ===================================================
   MOBILE POLISH — overall responsive review
   =================================================== */
@media (max-width: 768px) {
    /* Tighter hero on mobile */
    .hero { padding: 110px 0 60px; }
    .hero-headline { font-size: clamp(42px, 14vw, 80px) !important; line-height: 0.95 !important; }
    .hero-arabic-name { margin-top: -8px; margin-bottom: 24px; }
    .ar-text { font-size: 22px; }
    .ar-line { max-width: 30px; }

    /* Hero status bar — wrap nicely */
    .status-bar-inner {
        padding: 10px 16px;
        gap: 16px;
        font-size: 11px;
    }
    .status-item { gap: 6px; }

    /* Hero CTAs full-width on mobile */
    .hero-cta-row { flex-direction: column; gap: 12px; }
    .hero-cta-row .btn-primary,
    .hero-cta-row .btn-ghost {
        width: 100%;
        justify-content: center;
    }

    /* Section spacing tighter */
    section { padding: 80px 0; }
    .section-title { font-size: clamp(32px, 8vw, 56px) !important; }

    /* Trophy cards on mobile — more compact */
    .trophy-card { padding: 28px 22px; }
    .trophy-name { font-size: 26px; }
    .trophy-icon { width: 64px; height: 64px; margin-bottom: 18px; }
    .trophy-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    /* Venture flip cards — make tap-flip stable on mobile */
    .ventures-grid { gap: 16px; }
    .venture-flip-card { min-height: 360px; }
    .venture-face { padding: 24px 20px; min-height: 360px; }
    .venture-name { font-size: 22px; }
    .venture-logo-wrap { min-height: 80px; }
    .venture-logo-img { max-height: 60px; }
    .logo-large-text { font-size: 44px; }

    /* About stats on mobile */
    .about-stats { grid-template-columns: 1fr !important; }
    .stat { padding: 24px 20px; }
    .stat-num { font-size: 40px !important; }

    /* Countries grid */
    .countries-grid { gap: 10px; }
    .country-card { padding: 20px 16px; }
    .country-card h3 { font-size: 18px; }
    .country-flag { font-size: 24px; margin-bottom: 10px; }

    /* Footer */
    .footer-cinematic { margin-bottom: 60px; }
    .footer-grid { gap: 24px; padding: 0 20px 36px; }
    .footer-wordmark { font-size: 64px; margin-bottom: 24px; }
    .footer-meta-row {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .footer-email-cta {
        padding: 14px 24px;
        font-size: 18px;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

/* Even smaller screens */
@media (max-width: 480px) {
    .hero-headline { font-size: clamp(38px, 13vw, 64px) !important; }
    .container { padding: 0 16px; }
    .header-inner { padding: 0 16px; gap: 16px; }
    .brand-logo { height: 28px; }
    .brand-text { font-size: 13px; }
    .status-bar-inner { gap: 12px; padding: 10px 12px; }
    .status-item { font-size: 10px; }
    .hero-meta { padding: 6px 10px; font-size: 10px; }
    .role-row { font-size: 12px; }
    .float-badge { font-size: 9px; padding: 5px 8px; }
    .trophy-grid { gap: 16px; }
    .recognition-mentions { margin-top: 48px; }
    .marquee-track { font-size: 11px; gap: 24px; }
}

/* Touch device tweaks */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover-flip on touch, rely on tap */
    .venture-flip-card:hover { transform: none; }
    .venture-flip-card.tap-flipped { transform: rotateY(180deg); }

    /* Show first 2-3 status items inline, scroll for rest on mobile */
    .status-bar-inner {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .status-bar-inner::-webkit-scrollbar { display: none; }
    .status-item { flex-shrink: 0; }
}

/* ===================================================
   v7 ADDITIONS — Profile PDF btn, Instagram VIP section
   =================================================== */

/* ===== Profile PDF button — sits next to primary CTA ===== */
.btn-profile {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: rgba(103, 232, 249, 0.08);
    border: 1px solid var(--cyan-deep);
    border-radius: 4px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}
.btn-profile::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.18), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.btn-profile:hover::before { transform: translateX(100%); }
.btn-profile:hover {
    border-color: var(--cyan);
    background: rgba(103, 232, 249, 0.14);
    box-shadow: 0 0 24px var(--cyan-glow);
    transform: translateY(-2px);
}
.btn-profile svg { transition: transform 0.3s; }
.btn-profile:hover svg { transform: translateY(2px); }

/* ===== INSTAGRAM SECTION ===== */
.instagram-feed {
    background: var(--bg-base);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.instagram-feed::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.10), transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.ig-headline-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 56px;
}
.ig-headline-text { display: flex; flex-direction: column; }
.ig-headline-text .section-intro { margin-bottom: 0; }

.ig-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: linear-gradient(135deg,
        rgba(244, 114, 182, 0.12),
        rgba(251, 191, 36, 0.08),
        rgba(103, 232, 249, 0.10));
    border: 1px solid var(--cyan-deep);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.4s var(--ease-out);
    align-self: flex-end;
    justify-self: end;
    width: fit-content;
    position: relative;
    overflow: hidden;
}
.ig-follow-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f472b6, #fbbf24, #67e8f9);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
}
.ig-follow-btn:hover {
    border-color: var(--cyan-bright);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -8px rgba(244, 114, 182, 0.4);
}
.ig-follow-btn:hover::before { opacity: 0.18; }
.ig-follow-btn svg {
    flex-shrink: 0;
    color: var(--cyan);
}
.ig-follow-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}
.ig-handle {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}
.ig-cta {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--cyan);
    text-transform: lowercase;
    letter-spacing: 0.06em;
}

@media (max-width: 900px) {
    .ig-headline-row {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: stretch;
    }
    .ig-follow-btn {
        justify-self: stretch;
        align-self: stretch;
        justify-content: center;
    }
}

/* ===== IG CARDS GRID ===== */
.ig-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
    height: 560px;
}
.ig-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s, border-color 0.4s;
    display: block;
}
.ig-card-large {
    grid-row: 1 / 3;
}
.ig-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--cyan-deep);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6),
                0 0 40px -20px var(--cyan-glow);
}
.ig-card-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.ig-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out), filter 0.5s;
    filter: brightness(0.7) saturate(1.1);
}
.ig-card:hover .ig-card-bg img {
    transform: scale(1.08);
    filter: brightness(0.85) saturate(1.2);
}
.ig-card-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(5, 6, 8, 0.95) 0%, transparent 60%),
        linear-gradient(135deg, rgba(244, 114, 182, 0.15), transparent 50%);
    pointer-events: none;
    transition: background 0.5s;
}
.ig-card:hover .ig-card-veil {
    background:
        linear-gradient(0deg, rgba(5, 6, 8, 0.9) 0%, transparent 70%),
        linear-gradient(135deg, rgba(103, 232, 249, 0.18), transparent 50%);
}
.ig-card-meta {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
}
.ig-card-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--cyan);
    margin-bottom: 8px;
    letter-spacing: 0.08em;
}
.ig-card-meta h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.ig-card-large .ig-card-meta h4 { font-size: 32px; }
.ig-card-meta p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 340px;
}

/* CTA card */
.ig-card-cta {
    background: linear-gradient(165deg, var(--bg-elev) 0%, var(--bg-base) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ig-card-cta::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, #f472b6, #fbbf24, #67e8f9);
    opacity: 0.3;
    z-index: -1;
    filter: blur(12px);
    transition: opacity 0.4s;
}
.ig-card-cta:hover::before { opacity: 0.6; }
.ig-card-cta-inner {
    text-align: center;
    padding: 24px;
}
.ig-card-cta svg {
    color: var(--cyan);
    margin: 0 auto 16px;
    display: block;
}
.ig-card-cta h4 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.ig-card-cta p {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.06em;
}
.ig-arrow {
    display: inline-block;
    font-size: 18px;
    color: var(--cyan);
    transition: transform 0.3s;
}
.ig-card-cta:hover .ig-arrow {
    transform: translate(4px, -4px);
}

@media (max-width: 900px) {
    .ig-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
    }
    .ig-card-large { grid-row: 1; grid-column: 1 / 3; height: 300px; }
    .ig-card { height: 200px; }
    .ig-card-cta { min-height: 200px; }
}
@media (max-width: 500px) {
    .ig-grid { grid-template-columns: 1fr; }
    .ig-card-large { grid-column: 1; height: 280px; }
}

/* Mobile spacing for hero CTAs (now 3 buttons) */
@media (max-width: 768px) {
    .hero-cta-row .btn-profile {
        width: 100%;
        justify-content: center;
    }
}

/* ===================================================
   v8 ADDITIONS — Journey timeline, trophy watch, moments grid
   =================================================== */

/* ===== JOURNEY TIMELINE ===== */
.journey {
    background: var(--bg-elev);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.journey::before {
    content: '';
    position: absolute;
    top: 30%; right: -5%;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cyan-glow), transparent 60%);
    filter: blur(80px);
    opacity: 0.4;
    pointer-events: none;
}

.timeline {
    position: relative;
    margin-top: 56px;
    padding-left: 0;
    list-style: none;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 86px;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        var(--cyan-deep) 8%,
        var(--cyan-deep) 92%,
        transparent 100%);
}

.timeline-node {
    position: relative;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 32px;
    padding-bottom: 40px;
    align-items: flex-start;
}
.timeline-node:last-child {
    padding-bottom: 0;
}
.timeline-node::before {
    content: '';
    position: absolute;
    left: 82px;
    top: 18px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bg-elev);
    border: 2px solid var(--cyan);
    box-shadow: 0 0 12px var(--cyan-glow);
    z-index: 2;
    transition: transform 0.4s, background 0.4s;
}
.timeline-node:hover::before {
    background: var(--cyan);
    transform: scale(1.4);
}

.t-year {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--cyan);
    letter-spacing: 0.02em;
    line-height: 1.4;
    padding-top: 8px;
    text-align: right;
}

.t-content {
    background: var(--bg-base);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 24px 28px;
    transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
    position: relative;
}
.t-content::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 22px;
    width: 14px;
    height: 14px;
    background: var(--bg-base);
    border-left: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transform: rotate(45deg);
    transition: border-color 0.4s;
}
.timeline-node:hover .t-content {
    border-color: var(--cyan-deep);
    transform: translateX(4px);
    box-shadow: 0 12px 32px -12px var(--cyan-glow);
}
.timeline-node:hover .t-content::before {
    border-left-color: var(--cyan-deep);
    border-bottom-color: var(--cyan-deep);
}
.t-content h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.t-content p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary);
}
.t-content strong { color: var(--cyan-bright); font-weight: 500; }
.t-content em {
    color: var(--cyan);
    font-style: italic;
    font-family: var(--font-display);
}

/* Active "now" node — special */
.timeline-node-active::before {
    background: var(--cyan);
    box-shadow: 0 0 16px var(--cyan-glow), 0 0 0 4px rgba(103, 232, 249, 0.18);
    animation: nowPulse 2.4s ease-in-out infinite;
}
@keyframes nowPulse {
    0%, 100% { box-shadow: 0 0 16px var(--cyan-glow), 0 0 0 4px rgba(103, 232, 249, 0.18); }
    50%      { box-shadow: 0 0 24px var(--cyan-glow), 0 0 0 8px rgba(103, 232, 249, 0.10); }
}
.timeline-node-active .t-year {
    color: var(--magenta);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 14px;
}
.timeline-node-active .t-content {
    border-color: var(--magenta);
    background: linear-gradient(165deg, var(--bg-base), rgba(244, 114, 182, 0.04));
}
.timeline-node-active .t-content::before {
    border-left-color: var(--magenta);
    border-bottom-color: var(--magenta);
}
.timeline-node-active .t-content h4 { color: var(--cyan-bright); }

@media (max-width: 768px) {
    .timeline::before { left: 24px; }
    .timeline-node {
        grid-template-columns: 60px 1fr;
        gap: 16px;
        padding-bottom: 28px;
    }
    .timeline-node::before { left: 20px; top: 22px; }
    .t-year {
        text-align: left;
        font-size: 13px;
        padding-top: 6px;
    }
    .t-content { padding: 18px 20px; }
    .t-content::before { display: none; }
    .t-content h4 { font-size: 18px; }
    .t-content p { font-size: 14px; }
}

/* ===== TROPHY WATCH BUTTON ===== */
.trophy-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 16px;
    background: rgba(103, 232, 249, 0.08);
    border: 1px solid var(--cyan-deep);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--cyan);
    text-transform: lowercase;
    letter-spacing: 0.04em;
    transition: all 0.4s var(--ease-out);
    width: fit-content;
    position: relative;
    overflow: hidden;
}
.trophy-watch::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.20), transparent);
    transform: translateX(-100%);
    transition: transform 0.7s;
}
.trophy-watch:hover::before { transform: translateX(100%); }
.trophy-watch:hover {
    background: rgba(103, 232, 249, 0.15);
    border-color: var(--cyan);
    box-shadow: 0 6px 20px -8px var(--cyan-glow);
    transform: translateY(-2px);
    color: var(--cyan-bright);
}
.trophy-watch svg {
    color: var(--cyan);
    transition: transform 0.3s;
}
.trophy-watch:hover svg { transform: scale(1.15); }

/* ===== MOMENTS GRID (Beyond the boardroom — 5 event collages) ===== */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 16px;
    margin-top: 8px;
}
.moment-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.moment-wide {
    grid-column: 3 / 5;
    grid-row: 2;
}
.moment-tall {
    grid-column: 1 / 3;
    grid-row: 3;
}
.moment-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s, border-color 0.4s;
    display: block;
    min-height: 280px;
}
.moment-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--cyan-deep);
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6),
                0 0 40px -20px var(--cyan-glow);
}
.moment-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.moment-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 1s var(--ease-out), filter 0.5s;
    filter: brightness(0.65) saturate(1.1);
}
.moment-card:hover .moment-bg img {
    transform: scale(1.08);
    filter: brightness(0.8) saturate(1.2);
}
.moment-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(5, 6, 8, 0.97) 0%, rgba(5, 6, 8, 0.4) 50%, transparent 80%),
        linear-gradient(135deg, rgba(103, 232, 249, 0.10), transparent 50%);
    pointer-events: none;
    transition: background 0.5s;
}
.moment-card:hover .moment-veil {
    background:
        linear-gradient(0deg, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.3) 50%, transparent 80%),
        linear-gradient(135deg, rgba(103, 232, 249, 0.20), transparent 50%);
}
.moment-meta {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    z-index: 2;
}
.moment-flag {
    font-size: 22px;
    display: block;
    margin-bottom: 6px;
}
.moment-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--cyan);
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: lowercase;
}
.moment-meta h4 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.15;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.moment-large .moment-meta h4 { font-size: 30px; }
.moment-wide .moment-meta h4 { font-size: 24px; }
.moment-meta p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 340px;
}

@media (max-width: 900px) {
    .moments-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }
    .moment-large { grid-column: 1 / 3; grid-row: auto; min-height: 280px; }
    .moment-wide { grid-column: 1 / 3; grid-row: auto; }
    .moment-tall { grid-column: 1 / 3; grid-row: auto; min-height: 260px; }
    .moment-card { min-height: 220px; }
}
@media (max-width: 500px) {
    .moments-grid { grid-template-columns: 1fr; }
    .moment-large, .moment-wide, .moment-tall { grid-column: 1; }
}

/* Moments footer note (dev hint) */
.moments-footer-note {
    margin-top: 24px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    opacity: 0.6;
}
.moments-footer-note code {
    color: var(--cyan);
    background: rgba(103, 232, 249, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
}
.moments-footer-note .muted { color: var(--text-muted); }

/* ===================================================
   v8 ADDITION — Trophy inline video embed (details/summary)
   =================================================== */
.trophy-embed {
    margin-top: 12px;
    border-top: 1px solid var(--line-soft, rgba(255,255,255,0.06));
    padding-top: 12px;
}
.trophy-embed summary {
    cursor: pointer;
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    margin: -6px -10px;
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    transition: color 0.25s, background 0.25s;
    user-select: none;
}
.trophy-embed summary::-webkit-details-marker { display: none; }
.trophy-embed summary:hover {
    color: var(--cyan);
    background: rgba(103, 232, 249, 0.06);
}
.trophy-embed .te-icon {
    display: inline-block;
    font-size: 10px;
    transition: transform 0.3s var(--ease-out);
    color: var(--cyan);
}
.trophy-embed[open] .te-icon { transform: rotate(90deg); }
.trophy-embed[open] summary {
    color: var(--cyan);
    margin-bottom: 8px;
}
.te-label {
    text-transform: lowercase;
}
.te-frame {
    margin-top: 12px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--line-strong, rgba(255,255,255,0.1));
    background: #000;
    box-shadow: 0 8px 24px -12px rgba(0,0,0,0.6),
                0 0 24px -16px var(--cyan-glow, rgba(103, 232, 249, 0.3));
}
.te-frame video,
.te-frame iframe,
.te-frame blockquote.instagram-media {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}
/* Tighten Instagram embed when collapsed initially */
.te-frame blockquote.instagram-media {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #000 !important;
}

/* =========================================================
   v8 ADDITIONS — Moments grid (real event photos)
                  + Trophy inline video embeds
   ========================================================= */

/* ===== Moments grid — 5 real event photo cards ===== */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 14px;
    margin-bottom: 24px;
}
.moment-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-elev);
    border: 1px solid var(--line-strong);
    transition: transform 0.6s var(--ease-out), box-shadow 0.6s, border-color 0.4s;
    display: block;
    text-decoration: none;
    color: inherit;
}
.moment-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}
.moment-wide {
    grid-column: 3 / 5;
    grid-row: 2;
}
.moment-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: var(--cyan-deep);
    box-shadow: 0 22px 56px -20px rgba(0,0,0,0.65),
                0 0 36px -22px var(--cyan-glow);
}
.moment-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.moment-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out), filter 0.5s;
    filter: brightness(0.78) saturate(1.05);
}
.moment-card:hover .moment-bg img {
    transform: scale(1.06);
    filter: brightness(0.92) saturate(1.18);
}
.moment-veil {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(0deg, rgba(5, 6, 8, 0.92) 0%, rgba(5,6,8,0.4) 45%, transparent 70%),
        linear-gradient(135deg, rgba(103, 232, 249, 0.10), transparent 55%);
    pointer-events: none;
    transition: background 0.5s;
}
.moment-card:hover .moment-veil {
    background:
        linear-gradient(0deg, rgba(5, 6, 8, 0.88) 0%, rgba(5,6,8,0.3) 50%, transparent 75%),
        linear-gradient(135deg, rgba(103, 232, 249, 0.18), transparent 55%);
}
.moment-meta {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 2;
}
.moment-flag {
    display: inline-block;
    font-size: 18px;
    margin-right: 8px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
.moment-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--cyan);
    letter-spacing: 0.08em;
    text-transform: lowercase;
}
.moment-meta h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 8px 0 4px;
    letter-spacing: -0.01em;
}
.moment-large .moment-meta h4 { font-size: 28px; }
.moment-wide .moment-meta h4 { font-size: 24px; }
.moment-meta p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 380px;
}

.moments-footer-note {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 18px;
    text-align: center;
    letter-spacing: 0.03em;
}
.moments-footer-note code {
    background: rgba(103, 232, 249, 0.08);
    border: 1px solid rgba(103, 232, 249, 0.2);
    padding: 2px 8px;
    border-radius: 3px;
    color: var(--cyan);
    font-size: 11px;
}
.moments-footer-note .muted { color: var(--text-muted); opacity: 0.7; }

@media (max-width: 900px) {
    .moments-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }
    .moment-large { grid-column: 1 / 3; grid-row: auto; height: 280px; }
    .moment-wide { grid-column: 1 / 3; grid-row: auto; height: 220px; }
    .moment-card { height: 200px; }
}
@media (max-width: 540px) {
    .moments-grid { grid-template-columns: 1fr; }
    .moment-large, .moment-wide { grid-column: 1; }
}

/* ===== Trophy inline video embed (accordion) ===== */
.trophy-embed {
    margin-top: 12px;
    border-top: 1px dashed var(--line);
    padding-top: 12px;
}
.trophy-embed summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    border-radius: 4px;
    transition: all 0.3s;
    user-select: none;
    letter-spacing: 0.04em;
}
.trophy-embed summary::-webkit-details-marker { display: none; }
.trophy-embed summary::marker { display: none; }
.trophy-embed summary:hover {
    background: rgba(103, 232, 249, 0.06);
    color: var(--cyan);
}
.te-icon {
    color: var(--cyan);
    transition: transform 0.3s;
    font-size: 11px;
    flex-shrink: 0;
    display: inline-block;
}
.trophy-embed[open] .te-icon {
    transform: rotate(90deg);
}
.te-label {
    flex: 1;
}
.te-frame {
    margin-top: 14px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--line-strong);
    animation: te-slide-in 0.45s var(--ease-out);
}
@keyframes te-slide-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.te-frame .instagram-media {
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}
.te-frame video {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================================ */
/* v10 ADDITIONS — kg-brand-tag + version-stamp                 */
/* ============================================================ */

/* Khalid Group small badge on venture-front of HostingWalay /
   SSLWalay / DomainWalay cards. Sits between venture-tag and
   venture-hint, visually showing the parent-brand relationship. */
.kg-brand-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--cyan-deep, #0891b2);
    margin-top: 10px;
    padding: 3px 10px;
    border: 1px solid var(--cyan-deep, #0891b2);
    border-radius: 999px;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    background: rgba(8, 145, 178, 0.06);
    opacity: 0.9;
    line-height: 1.4;
}
.venture-front .kg-brand-tag + .venture-hint {
    margin-top: 12px;
}

/* ====== VERSION STAMP — pre-footer CEO-grade module ====== */
.version-stamp {
    max-width: var(--container, 1280px);
    margin: 60px auto 80px;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}
.vs-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 28px;
    border: 1px solid var(--line, rgba(255,255,255,0.08));
    border-radius: 999px;
    background:
        linear-gradient(90deg,
            rgba(103, 232, 249, 0.04),
            rgba(244, 114, 182, 0.05),
            rgba(103, 232, 249, 0.04));
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 11px;
    letter-spacing: 0.04em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow:
        0 0 30px rgba(103, 232, 249, 0.05),
        inset 0 1px 0 rgba(255,255,255,0.03);
    transition: all 0.4s ease;
}
.vs-inner:hover {
    border-color: rgba(103, 232, 249, 0.25);
    box-shadow:
        0 0 40px rgba(103, 232, 249, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.05);
}
.vs-segment {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.vs-key {
    color: var(--text-muted, rgba(255,255,255,0.42));
    text-transform: lowercase;
}
.vs-value {
    color: var(--text-secondary, rgba(255,255,255,0.78));
    font-weight: 500;
}
.vs-version {
    color: var(--cyan, #67e8f9);
    font-weight: 600;
    letter-spacing: 0.06em;
}
.vs-heart {
    color: #f472b6;
    animation: vs-heartbeat 2s ease-in-out infinite;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    text-shadow: 0 0 8px rgba(244, 114, 182, 0.5);
}
@keyframes vs-heartbeat {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50%      { transform: scale(1.22); opacity: 1; }
}
.vs-divider {
    width: 1px;
    height: 16px;
    background: linear-gradient(180deg,
        transparent,
        var(--line, rgba(255,255,255,0.18)),
        transparent);
    display: inline-block;
}
.vs-dot {
    color: var(--text-muted, rgba(255,255,255,0.35));
    padding: 0 2px;
}
@media (max-width: 760px) {
    .version-stamp {
        margin: 50px auto 60px;
        padding: 0 16px;
    }
    .vs-inner {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        gap: 10px;
        padding: 18px 22px;
        text-align: center;
    }
    .vs-segment {
        justify-content: center;
        flex-wrap: wrap;
    }
    .vs-divider { display: none; }
}