/* ==========================================================================
   AdyVerse â€” Editorial Monochrome Portfolio (Framer Majd Aesthetic)
   iOS 27 Liquid Glassmorphism + Scroll 3D Flip & Color Transition
   ========================================================================== */

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   1. DESIGN TOKENS (BLACK & WHITE EDITORIAL MONOCHROME)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
    /* ── Rich Warm Charcoal Palette (Dark, No Blue) ── */
    --bg-canvas: #0e0e0e;
    /* Deep warm charcoal – not void black, feels alive */
    --bg-canvas-alt: #131313;
    /* Slightly lifted section background */
    --bg-surface: #1a1a1a;
    /* Card/surface level – warm neutral gray */
    --bg-surface-dim: #0b0b0b;
    /* Deep dim fill for overlaps */
    --bg-dark: #ffffff;
    /* Inverted badge/pill – pure white */
    --bg-dark-hover: #e0e0e0;

    /* ── Typography ── */
    --text-primary: #f5f5f5;
    /* Near-white – warm, not harsh */
    --text-secondary: #9a9a9a;
    /* Balanced mid-gray */
    --text-muted: #606060;
    /* Subtle metadata gray */
    --text-inverse: #0e0e0e;
    /* Dark ink on white pills */

    /* ── Borders ── */
    --border-hairline: rgba(255, 255, 255, 0.07);
    --border-medium: rgba(255, 255, 255, 0.14);
    --border-strong: rgba(255, 255, 255, 0.85);
    --border-glass: rgba(255, 255, 255, 0.13);

    /* ── Realistic Liquid Glass Tokens ──
       Physics: semi-transparent material + refracted light from above.
       Top rim = bright caustic. Bottom edge = subtle shadow trap.
       Outer shadow = deep material elevation. Saturate > 1 picks up
       background colour to simulate refraction without adding blue.
    */
    --glass-bg: rgba(255, 255, 255, 0.055);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow:
        /* deep elevation well */
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 6px 18px rgba(0, 0, 0, 0.30),
        /* bright caustic top rim */
        inset 0 1.5px 0 rgba(255, 255, 255, 0.48),
        /* inner light bleed from top */
        inset 0 4px 10px -4px rgba(255, 255, 255, 0.14),
        /* shadow trap bottom */
        inset 0 -1.5px 0 rgba(0, 0, 0, 0.35);
    --glass-shadow-hover:
        0 32px 80px rgba(0, 0, 0, 0.65),
        0 8px 24px rgba(0, 0, 0, 0.38),
        inset 0 2px 0 rgba(255, 255, 255, 0.65),
        inset 0 4px 12px -4px rgba(255, 255, 255, 0.20),
        inset 0 -1.5px 0 rgba(0, 0, 0, 0.40);
    /* saturate(140%) adds refraction warmth without blue tint on neutral bg */
    --glass-blur: blur(36px) saturate(140%) brightness(1.06);

    /* ── Header Liquid Glass ── */
    --lg-header-bg: rgba(18, 18, 18, 0.68);
    --lg-header-border: rgba(255, 255, 255, 0.17);
    --lg-header-blur: blur(40px) saturate(150%) brightness(1.08);
    --lg-header-shadow:
        0 20px 52px rgba(0, 0, 0, 0.50),
        0 4px 14px rgba(0, 0, 0, 0.28),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.48),
        inset 0 4px 10px -4px rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.30);
    --lg-header-shadow-hover:
        0 28px 65px rgba(0, 0, 0, 0.60),
        0 6px 18px rgba(0, 0, 0, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.65),
        inset 0 4px 12px -4px rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.38);

    /* ── Dark Crystal Glass (cards with gradient bg) ── */
    --glass-dark-bg: linear-gradient(145deg, rgba(30, 30, 30, 0.88) 0%, rgba(14, 14, 14, 0.94) 100%);
    --glass-dark-border: rgba(255, 255, 255, 0.20);
    --glass-dark-shadow:
        0 18px 48px rgba(0, 0, 0, 0.55),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
        inset 0 4px 10px -4px rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.32);

    /* ── Typography ── */
    --font-headline: 'Syne', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    /* ── Spacing & Radii ── */
    --r-pill: 999px;
    --r-card: 24px;
    --r-card-lg: 32px;
    --container-max: 1280px;
    --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-snap: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   2. RESET & BASE
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: auto;
    /* Overridden by JS smooth scroll engine */
    scroll-padding-top: 80px;
    /* Offset for sticky header */
    font-size: 16px;
    background-color: var(--bg-canvas);
}

body {
    background-color: var(--bg-canvas);
    /* Subtle warm ceiling light — gives glass something to refract against */
    background-image:
        radial-gradient(ellipse 120% 55% at 50% -10%, rgba(255, 255, 255, 0.055) 0%, transparent 65%),
        radial-gradient(ellipse 60% 40% at 0% 60%, rgba(255, 255, 255, 0.025) 0%, transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 30%, rgba(255, 255, 255, 0.025) 0%, transparent 55%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overscroll-behavior: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

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

.container {
    width: min(92vw, var(--container-max));
    margin-inline: auto;
}

/* Subtle Paper Grain Overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Scroll Progress Bar */
#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--bg-dark);
    z-index: 10001;
    transition: width 0.08s linear;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   3. iOS 27 STYLE LIQUID GLASS FLOATING HEADER
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ios-glass-island {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: min(92vw, 980px);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

/* ─── iOS 27 Liquid Glass Capsule ─── */
.island-capsule {
    pointer-events: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px 7px 18px;
    border-radius: var(--r-pill);
    position: relative;

    /* Authentic clear liquid glass */
    background: var(--lg-header-bg);
    backdrop-filter: var(--lg-header-blur);
    -webkit-backdrop-filter: var(--lg-header-blur);

    /* Hairline optical rim */
    border: 0.5px solid var(--lg-header-border);
    box-shadow: var(--lg-header-shadow);

    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

/* Scrolled elevation – solidifies the glass material */
.island-capsule.is-scrolled {
    transform: scale(0.98);
    background: rgba(16, 16, 16, 0.88);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.60),
        0 4px 12px rgba(0, 0, 0, 0.35),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.52),
        inset 0 4px 10px -4px rgba(255, 255, 255, 0.16),
        inset 0 -1.5px 0 rgba(0, 0, 0, 0.32);
}

/* Corner caustic highlights – simulates light refracted through curved glass edge */
.island-capsule::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        /* Right-top edge caustic */
        radial-gradient(ellipse 50% 80% at 96% 6%, rgba(255, 255, 255, 0.38) 0%, transparent 52%),
        /* Left-bottom edge caustic */
        radial-gradient(ellipse 50% 80% at 4% 94%, rgba(255, 255, 255, 0.20) 0%, transparent 52%),
        /* Centre ambient fill */
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
}

/* Gloss ribbon – mimics curved glass top specular highlight */
.island-capsule::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 12%;
    right: 12%;
    height: 42%;
    border-radius: 999px;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.36) 0%,
            rgba(255, 255, 255, 0.10) 45%,
            rgba(255, 255, 255, 0.00) 100%);
    filter: blur(1px);
}

.island-capsule>* {
    position: relative;
    z-index: 1;
}

.island-capsule:hover {
    box-shadow: var(--lg-header-shadow-hover);
    transform: translateY(-1px);
}

.island-capsule.is-scrolled:hover {
    transform: scale(0.98) translateY(-1px);
}

.island-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.island-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.9);
    animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.35);
        opacity: 0.6;
    }
}

.island-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.island-nav .nav-item {
    padding: 6px 14px;
    font-size: 0.85rem;
    font-weight: 550;
    color: rgba(255, 255, 255, 0.65);
    border-radius: var(--r-pill);
    border: 0.5px solid transparent;
    transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    letter-spacing: -0.01em;
}

.island-nav .nav-item:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.island-nav .nav-item.active {
    color: #000000;
    background: linear-gradient(160deg, #ffffff 0%, #e8e8e8 100%);
    border: 0.5px solid #ffffff;
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.35),
        0 1px 4px rgba(0, 0, 0, 0.20),
        inset 0 1.5px 0 #ffffff;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-weight: 700;
}

.island-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* CV button: solid bright pill in dark theme */
.island-cv-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: #ffffff;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.island-cv-btn:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);
}

.island-menu-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.45);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.5);
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.25s ease;
    overflow: hidden;
    position: relative;
}

.island-menu-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse 70% 45% at 35% -5%, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
    pointer-events: none;
}

.island-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.28);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.12),
        inset 0 1.5px 0 #ffffff;
    transform: scale(1.05);
}

.island-menu-toggle .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--text-primary);
}

/* Mobile Drawer (Authentic Liquid Glass Menu) */
.ios-glass-drawer {
    pointer-events: auto;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    margin-top: 10px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(44px) saturate(200%) brightness(1.04);
    -webkit-backdrop-filter: blur(44px) saturate(200%) brightness(1.04);
    border: 0.5px solid rgba(255, 255, 255, 0.42);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.14),
        0 4px 16px rgba(0, 0, 0, 0.06),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
        inset 0 3px 6px -2px rgba(255, 255, 255, 0.40),
        inset 0 -1px 0 rgba(255, 255, 255, 0.60);
    transition: max-height 0.45s var(--ease-editorial), padding 0.35s ease, opacity 0.35s ease;
    opacity: 0;
    z-index: 100;
    position: relative;
}

.ios-glass-drawer::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 60% at 92% 10%, rgba(255, 255, 255, 0.50) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 8% 90%, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
    mix-blend-mode: screen;
}

.ios-glass-drawer.open {
    max-height: min(560px, 85vh);
    padding: 18px 18px 22px 18px;
    opacity: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: 0.5px solid transparent;
    transition: all 0.2s ease;
}

.drawer-item i {
    width: 20px;
    color: var(--text-muted);
}

.drawer-item:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow: inset 0 1px 1px #ffffff, 0 2px 8px rgba(0, 0, 0, 0.04);
}

.drawer-footer {
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.30);
    position: relative;
    z-index: 1;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   4. HERO + ABOUT STICKY STAGE
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Shared scroll container: hero section + sticky card + about section */
.hero-about-stage {
    position: relative;
}

/* Mobile Hero Photo Card (hidden by default on desktop) */
.hero-mobile-photo-card {
    display: none;
}

/*
 * STICKY PHOTO WRAP (Desktop only)
 * This div sits between hero and about in normal flow.
 * position:sticky makes it "pin" at `top` while both sections scroll past.
 * Negative margin-top pulls it visually UP into the hero so it appears
 * to float between the title text and the meta bar.
 * The about section's dock-center-slot reserves matching space in its grid.
 */
.sticky-photo-wrap {
    position: sticky;
    top: clamp(140px, 22vh, 190px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 25;
    pointer-events: none;
    /* Pull the card up into the bottom half of the hero */
    margin-top: calc(-1 * (clamp(220px, 20vw, 300px) + 60px));
    /* Height = card height so layout flow is preserved for about section */
    height: clamp(220px, 20vw, 300px);
    margin-bottom: 0;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   WEBSITE OPEN REVEAL ANIMATIONS (Smooth editorial entrance on page open)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@keyframes islandSlideDown {
    0% {
        opacity: 0;
        transform: translate(-50%, -24px);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes headlineLineReveal {
    0% {
        opacity: 0;
        transform: translateY(36px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

@keyframes photoHeroEntrance {
    0% {
        opacity: 0;
        transform: scale(0.90) translateY(24px);
        filter: blur(6px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0px);
    }
}

@keyframes glyphPopIn {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }

    70% {
        opacity: 0.9;
        transform: scale(1.08) rotate(4deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes metaFadeIn {
    0% {
        opacity: 0;
        transform: translateY(16px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered application on page load */
.ios-glass-island {
    animation: islandSlideDown 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-giant-title .word-software {
    animation: headlineLineReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.hero-giant-title .word-engineer {
    animation: headlineLineReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.glyph-star {
    animation: glyphPopIn 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.45s both, floatSlow 6s ease-in-out 1.3s infinite alternate;
}

.glyph-bolt {
    animation: glyphPopIn 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s both, floatRev 7s ease-in-out 1.4s infinite alternate;
}

.hero-mobile-photo-card,
.sticky-photo-wrap {
    animation: photoHeroEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.hero-meta-bar {
    animation: metaFadeIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   4b. EDITORIAL HERO SECTION
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.editorial-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: clamp(100px, 14vh, 140px);
    padding-bottom: 30px;
    overflow: visible;
}

.hero-canvas-inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

/* Floating Ambient Chrome Glyphs */
.floating-glyph {
    position: absolute;
    pointer-events: none;
    z-index: 2;
    transition: transform 0.2s ease-out;
}

.glyph-star {
    top: 4%;
    left: 2%;
    width: clamp(55px, 6.5vw, 85px);
    height: clamp(55px, 6.5vw, 85px);
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.12));
    animation: floatSlow 6s ease-in-out infinite alternate;
}

.glyph-bolt {
    bottom: 24%;
    right: 4%;
    width: clamp(50px, 5.5vw, 75px);
    height: clamp(75px, 8.5vw, 115px);
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.12));
    animation: floatRev 7s ease-in-out infinite alternate;
}

@keyframes floatSlow {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(-16px) rotate(8deg);
    }
}

@keyframes floatRev {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    100% {
        transform: translateY(18px) rotate(-6deg);
    }
}

/* Giant Editorial Typography */
.hero-headline-wrap {
    margin-top: auto;
    margin-bottom: 0;
    text-align: center;
    width: 100%;
    padding: 0 0 10px 0;
    user-select: none;
}

.hero-giant-title {
    font-family: var(--font-headline);
    font-size: clamp(3rem, 8vw, 7.2rem);
    font-weight: 900;
    line-height: 0.90;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.giant-line {
    display: block;
    width: 100%;
    text-align: center;
}

/* Center Hero Photo Stage (Directly Visible on Home Page) */
.hero-photo-stage {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
    margin-top: -55px;
    /* Overlaps bottom of ENGINEER nicely */
    margin-bottom: 16px;
}

/* The 3D Flipping Card Container */
.flip-portal {
    position: relative;
    width: clamp(170px, 15vw, 230px);
    height: clamp(220px, 20vw, 300px);
    perspective: 1400px;
    z-index: 10;
    will-change: transform;
}

.flip-3d-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 26px;
    transform-style: preserve-3d;
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.06);
    will-change: transform;
}

/* Editorial Meta Bar (bottom of Hero) */
.hero-meta-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    padding-top: 24px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.55);
    /* Frosted glass top rim */
    box-shadow: 0 -1px 0 rgba(13, 13, 13, 0.06);
    margin-top: auto;
}

.meta-year {
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.meta-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.meta-tagline {
    font-family: var(--font-mono);
    font-size: clamp(0.78rem, 1.2vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.meta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Reusable Editorial Pill Buttons */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--r-pill);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.25s var(--ease-editorial);
    white-space: nowrap;
}

.btn-pill-dark {
    background: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
    color: #000000;
}

.btn-pill-dark:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-pill-ghost {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    border: 0.5px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.10);
    color: var(--text-primary);
}

.btn-pill-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.45),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
}

.btn-full {
    width: 100%;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   5. SCROLL-LINKED 3D FLIP & COLOR MORPH STAGE
   (Hero Portrait -> Flip -> Colorful About Dock)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.flip-morph-stage {
    position: relative;
    padding-top: 40px;
    padding-bottom: 30px;
}

.stage-container {
    position: relative;
}

.face {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.face-front {
    background: #111111;
    transform: rotateY(0deg);
}

.face-back {
    background: #141414;
    transform: rotateY(180deg);
}

.photo-shell {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 28px;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    display: block;
}

/* Front state: Noir Black & White */
.photo-bw {
    filter: grayscale(100%) contrast(1.15) brightness(0.92);
}

/* Back state: Rich Vibrant Full-Color */
.photo-color {
    filter: grayscale(0%) contrast(1.04) saturate(1.1);
}

.photo-overlay-glass {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.45), inset 0 0 16px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.photo-glow-border {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.5), inset 0 -1px 2px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   6. ABOUT "Hey!" DOCKED SECTION (SCREENSHOT 4)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.about-docked-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr clamp(230px, 24vw, 320px) 1fr;
    align-items: center;
    gap: clamp(24px, 4vw, 56px);
    padding-top: clamp(60px, 12vh, 120px);
}

.dock-col {
    display: flex;
    flex-direction: column;
}

/* Left Column */
.hey-title {
    font-family: var(--font-headline);
    font-size: clamp(3.2rem, 6.5vw, 5.8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.dock-lead {
    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 22px;
}

.dock-badge-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    border: 0.5px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.10);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.25s ease;
}

.pill-tag:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.40);
    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.45),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

/* Center Slot (Reservation space for the flipped card) */
.dock-center-slot {
    height: clamp(280px, 30vw, 400px);
    width: 100%;
}

/* Right Column */
.dock-right {
    gap: 16px;
}

.dock-text {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.dock-cta-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.link-arrow-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--r-pill);
    background: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
    color: #000000;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.25s var(--ease-editorial);
}

.link-arrow-pill:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.link-simple {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 8px 12px;
    border-bottom: 1.5px solid var(--text-primary);
    transition: opacity 0.2s ease;
}

.link-simple:hover {
    opacity: 0.7;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   7. EDITORIAL SECTIONS (COMMON HEADERS & CONTAINERS)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.section-editorial {
    padding: clamp(70px, 10vw, 120px) 0;
    position: relative;
}

.bg-subtle {
    background-color: var(--bg-canvas-alt);
    border-block: 1px solid var(--border-hairline);
}

.editorial-header {
    margin-bottom: clamp(40px, 6vw, 64px);
}

.ed-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 0.5px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.75),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.35),
        0 2px 6px rgba(0, 0, 0, 0.02);
}

.ed-title {
    font-family: var(--font-headline);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.1;
}

.ed-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--text-secondary);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   8. NUMBERS / JOURNEY STATS â€” 3D FLIP REVEAL
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.stats-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* Flip container â€” perspective lives here */
.stat-box {
    perspective: 900px;
    min-height: 200px;
    border-radius: var(--r-card);
    /* no background/border â€” the faces carry those */
}

/* Inner wrapper that does the actual rotation */
.stat-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 200px;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    transition: transform 0.72s cubic-bezier(0.45, 0, 0.15, 1);
    border-radius: var(--r-card);
}

/* Flipped state â€” front face becomes visible */
.stat-box.stat-flipped .stat-flip-inner {
    transform: rotateY(180deg);
}

/* Shared face styles */
.stat-face {
    position: absolute;
    inset: 0;
    border-radius: var(--r-card);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ─── BACK FACE — neutral black card shown first ─── */
.stat-back {
    background: linear-gradient(145deg, #1c1c1c 0%, #111111 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.28), inset 0 0 14px rgba(255, 255, 255, 0.04), 0 12px 32px rgba(0, 0, 0, 0.50);
    transform: rotateY(0deg);
    justify-content: flex-end;
    gap: 12px;
}

.stat-back-index {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
}

.stat-back-label {
    font-family: var(--font-headline);
    font-size: clamp(1.1rem, 2.2vw, 1.45rem);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* ─── FRONT FACE — neutral black card ─── */
.stat-front {
    background: linear-gradient(145deg, #1c1c1c 0%, #111111 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.28), inset 0 0 14px rgba(255, 255, 255, 0.04), 0 12px 32px rgba(0, 0, 0, 0.50);
    transform: rotateY(180deg);
    transition: transform 0.3s var(--ease-editorial), box-shadow 0.3s ease;
}

.stat-box.stat-flipped .stat-front:hover {
    transform: rotateY(180deg) translateY(-4px);
    box-shadow: inset 0 1.5px 2px rgba(255, 255, 255, 0.4), 0 20px 44px rgba(0, 0, 0, 0.38);
}

.stat-number-wrap {
    display: flex;
    align-items: baseline;
    font-family: var(--font-headline);
    font-weight: 800;
    font-size: clamp(3.2rem, 5vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.stat-plus {
    font-size: 2.2rem;
    margin-left: 2px;
    color: rgba(255, 255, 255, 0.45);
}

.stat-caption {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 14px;
}

.stat-index {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.35);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   9. ACADEMIC PEDAGOGY â€” EDITORIAL MONOCHROME PHOTO CARDS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.education-editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 1080px) {
    .education-editorial-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.edu-editorial-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 530px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: #141414;
    transition: transform 0.4s var(--ease-editorial), box-shadow 0.4s ease, border-color 0.4s ease;
}

.edu-editorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 64px rgba(0, 0, 0, 0.35), 0 8px 24px rgba(0, 0, 0, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Background Media & Film Scrim */
.edu-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.edu-card-bg .edu-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(100%) contrast(1.12) brightness(0.82);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.edu-editorial-card:hover .edu-card-bg .edu-cover-img {
    transform: scale(1.06);
    filter: grayscale(85%) contrast(1.18) brightness(0.82);
    /* No brightness glow on hover */
}

/* Authentic Dark Scrim Gradient */
.edu-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.2) 28%,
            rgba(0, 0, 0, 0.65) 58%,
            rgba(0, 0, 0, 0.9) 80%,
            rgba(0, 0, 0, 0.98) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Top Floating Bar */
.edu-card-top {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.edu-badge {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    color: #ffffff;
    border: 0.5px solid rgba(255, 255, 255, 0.40);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.90),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.50);
}

.edu-corner-icon {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    border: 0.5px solid rgba(255, 255, 255, 0.40);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.90),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.50);
    transition: all 0.3s ease;
}

.edu-editorial-card:hover .edu-corner-icon {
    background: #ffffff;
    color: #0d0d0d;
    transform: scale(1.08);
}

/* Card Bottom Content */
.edu-card-content {
    position: relative;
    z-index: 3;
    padding: 28px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.edu-meta-date {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}

.edu-name {
    font-family: var(--font-headline);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.22;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.edu-summary {
    font-family: var(--font-body);
    font-size: 0.86rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 16px;
}

/* Metrics highlight pills */
.edu-metrics-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.metric-pill {
    padding: 5px 12px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    font-size: 0.74rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    border: 0.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -0.5px 0 rgba(255, 255, 255, 0.35);
}

.metric-pill.highlight {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 100%);
    color: #0d0d0d;
    font-weight: 700;
    border: 0.5px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22), inset 0 1.5px 0 #ffffff;
}

/* Secondary Coursework / Subject tags */
.edu-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.edu-tags-row span {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    border: 0.5px solid rgba(255, 255, 255, 0.25);
    transition: all 0.25s ease;
}

.edu-editorial-card:hover .edu-tags-row span {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ──────────────────────────────────────────────────────────────────────
   10. SKILLS (LIQUID GLASS BENTO MATRIX + MARQUEE)
   ────────────────────────────────────────────────────────────────────── */
.skills-editorial-intro {
    max-width: 680px;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-top: 10px;
}

/* ─── Liquid Glass Filter Navigation ─── */
.skills-filter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 34px;
    position: relative;
    z-index: 2;
}

.glass-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 22px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(28px) saturate(140%) brightness(1.05);
    -webkit-backdrop-filter: blur(28px) saturate(140%) brightness(1.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.40),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.40),
        inset 0 -1px 0 rgba(0, 0, 0, 0.28);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.glass-filter-btn i {
    font-size: 0.86rem;
    color: var(--text-muted);
    transition: color 0.25s ease;
}

.glass-filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.50),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.40);
}

.glass-filter-btn:hover i {
    color: #ffffff;
}

.glass-filter-btn.active {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow:
        0 10px 26px rgba(255, 255, 255, 0.20),
        inset 0 1px 0 #ffffff;
    transform: translateY(-1px);
}

.glass-filter-btn.active i {
    color: #000000;
}

/* ─── Bento Grid Layout ─── */
.skills-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    width: 100%;
}

/* Desktop Column Distribution */
.skill-glass-card.hero-ai-card {
    grid-column: span 7;
}

.skill-glass-card[data-category="languages"] {
    grid-column: span 5;
}

.skill-glass-card[data-category="frontend"] {
    grid-column: span 4;
}

.skill-glass-card[data-category="genai"] {
    grid-column: span 4;
}

.skill-glass-card[data-category="tools"] {
    grid-column: span 4;
}

/* ─── Liquid Glass Card Component ─── */
.skill-glass-card {
    position: relative;
    border-radius: 28px;
    padding: clamp(24px, 3.2vw, 36px);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.042);
    backdrop-filter: blur(36px) saturate(140%) brightness(1.06);
    -webkit-backdrop-filter: blur(36px) saturate(140%) brightness(1.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 6px 18px rgba(0, 0, 0, 0.28),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.50),
        inset 0 4px 10px -4px rgba(255, 255, 255, 0.14),
        inset 0 -1.5px 0 rgba(0, 0, 0, 0.32);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s var(--ease-editorial), box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.35s ease;
}

/* Liquid Glass Specular Sheen – cursor-tracked refraction caustic */
.skill-glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        /* Mouse-tracked specular hot-spot */
        radial-gradient(circle 320px at var(--mouse-x, 82%) var(--mouse-y, 12%), rgba(255, 255, 255, 0.22) 0%, transparent 60%),
        /* Static top-left edge caustic */
        linear-gradient(135deg, rgba(255, 255, 255, 0.13) 0%, transparent 45%);
    opacity: 1;
    mix-blend-mode: screen;
    transition: opacity 0.35s ease;
}

/* Gloss ribbon on top edge of every card */
.skill-glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 16%;
    right: 16%;
    height: 1.5px;
    border-radius: 999px;
    pointer-events: none;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.60) 30%,
        rgba(255, 255, 255, 0.70) 50%,
        rgba(255, 255, 255, 0.60) 70%,
        transparent 100%);
    filter: blur(0.5px);
}

.skill-glass-card:hover {
    transform: translateY(-7px) scale(1.005);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow:
        0 36px 80px rgba(0, 0, 0, 0.62),
        0 10px 28px rgba(0, 0, 0, 0.35),
        inset 0 2px 0 rgba(255, 255, 255, 0.68),
        inset 0 5px 12px -5px rgba(255, 255, 255, 0.18),
        inset 0 -2px 0 rgba(0, 0, 0, 0.40);
}

.skill-glass-card.is-hidden {
    display: none !important;
}

/* ─── Card Header Elements ─── */
.card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.card-icon-bubble {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.3s var(--ease-editorial), background 0.3s ease, color 0.3s ease;
}

.skill-glass-card:hover .card-icon-bubble {
    background: #ffffff;
    color: #000000;
    transform: scale(1.06) rotate(-3deg);
}

.card-badge-pill {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.card-badge-pill.featured {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.20);
}

/* ─── Card Body ─── */
.card-body {
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.card-title {
    font-family: var(--font-headline);
    font-size: clamp(1.2rem, 1.8vw, 1.4rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 22px;
}

/* ─── Glass Skill Chips ─── */
.skill-chips-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.glass-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    user-select: none;
}

.glass-chip i {
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: transform 0.25s ease;
}

.glass-chip .chip-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 7px;
    border-radius: 6px;
    margin-left: 2px;
    transition: all 0.25s ease;
}

.glass-chip:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 22px rgba(255, 255, 255, 0.20),
        inset 0 1px 0 #ffffff;
}

.glass-chip:hover i {
    color: #000000;
    transform: rotate(6deg);
}

.glass-chip:hover .chip-tag {
    background: rgba(0, 0, 0, 0.12);
    color: #000000;
}

/* ─── Hero Card Metrics Strip ─── */
.hero-metrics-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.metric-tile {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: background 0.3s ease;
}

.skill-glass-card:hover .metric-tile {
    background: rgba(255, 255, 255, 0.09);
}

.metric-tile .num {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
}

.metric-tile .lbl {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ─── Infinite Liquid Glass Marquee Rail ─── */
.skills-marquee-container {
    margin-top: 48px;
    border-radius: 24px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.040);
    backdrop-filter: blur(32px) saturate(140%) brightness(1.06);
    -webkit-backdrop-filter: blur(32px) saturate(140%) brightness(1.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.50),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
        inset 0 -1.5px 0 rgba(0, 0, 0, 0.30);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.skills-marquee-label {
    flex-shrink: 0;
    font-family: var(--font-headline);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.skills-marquee-label i {
    color: #ffffff;
}

.skills-marquee-track {
    display: flex;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.skills-marquee-content {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
    animation: skillMarqueeDrift 28s linear infinite;
    padding-left: 14px;
}

.skills-marquee-track:hover .skills-marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.20);
    transition: transform 0.2s ease, background 0.2s ease;
}

.marquee-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.16);
}

.marquee-item i {
    font-size: 0.9rem;
    color: var(--text-primary);
}

@keyframes skillMarqueeDrift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ─── Responsive Media Queries ─── */
@media (max-width: 1024px) {
    .skill-glass-card.hero-ai-card {
        grid-column: span 12;
    }

    .skill-glass-card[data-category="languages"] {
        grid-column: span 12;
    }

    .skill-glass-card[data-category="frontend"] {
        grid-column: span 6;
    }

    .skill-glass-card[data-category="genai"] {
        grid-column: span 6;
    }

    .skill-glass-card[data-category="tools"] {
        grid-column: span 12;
    }
}

@media (max-width: 768px) {
    /* Sleek Horizontal Filter Pills (Swipeable on Mobile) */
    .skills-filter-nav {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 4px 4px 12px 4px;
        margin-bottom: 22px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .skills-filter-nav::-webkit-scrollbar {
        display: none;
    }

    .glass-filter-btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: 0.82rem;
        gap: 7px;
        white-space: nowrap;
        border-radius: var(--r-pill);
    }

    .glass-filter-btn i {
        font-size: 0.80rem;
    }

    /* Single Column Bento Grid on Tablet/Mobile */
    .skills-bento-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .skill-glass-card.hero-ai-card,
    .skill-glass-card[data-category="languages"],
    .skill-glass-card[data-category="frontend"],
    .skill-glass-card[data-category="genai"],
    .skill-glass-card[data-category="tools"] {
        grid-column: span 1;
    }

    /* Card Padding & Radii for Mobile Ergonomics */
    .skill-glass-card {
        padding: 22px 20px;
        border-radius: 24px;
    }

    .card-top-row {
        margin-bottom: 16px;
    }

    .card-icon-bubble {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1.15rem;
    }

    .card-badge-pill {
        font-size: 0.68rem;
        padding: 5px 12px;
        letter-spacing: 0.06em;
    }

    .card-title {
        font-size: 1.22rem;
        margin-bottom: 8px;
    }

    .card-desc {
        font-size: 0.88rem;
        line-height: 1.55;
        margin-bottom: 18px;
    }

    /* Glass Skill Chips for Compact Touch Grids */
    .skill-chips-cluster {
        gap: 8px;
    }

    .glass-chip {
        padding: 7px 12px;
        font-size: 0.80rem;
        border-radius: 12px;
        gap: 7px;
    }

    .glass-chip i {
        font-size: 0.88rem;
    }

    .glass-chip .chip-tag {
        font-size: 0.64rem;
        padding: 2px 6px;
    }

    /* 3-Column Compact Horizontal Metric Strip */
    .hero-metrics-strip {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 18px;
        padding-top: 16px;
    }

    .metric-tile {
        padding: 9px 8px;
        border-radius: 14px;
        text-align: center;
        align-items: center;
    }

    .metric-tile .num {
        font-size: 1.05rem;
    }

    .metric-tile .lbl {
        font-size: 0.62rem;
        line-height: 1.25;
    }

    /* Marquee on Mobile */
    .skills-marquee-container {
        margin-top: 32px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 18px;
        border-radius: 20px;
    }

    .skills-marquee-label {
        font-size: 0.76rem;
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        padding-bottom: 8px;
        width: 100%;
    }

    .marquee-item {
        padding: 6px 14px;
        font-size: 0.78rem;
    }
}

@media (max-width: 480px) {
    .skills-editorial-intro {
        font-size: 0.92rem;
    }

    .skill-glass-card {
        padding: 18px 16px;
        border-radius: 20px;
    }

    .card-top-row {
        margin-bottom: 14px;
    }

    .card-icon-bubble {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 1.05rem;
    }

    .card-title {
        font-size: 1.12rem;
    }

    .card-desc {
        font-size: 0.82rem;
        margin-bottom: 14px;
    }

    .skill-chips-cluster {
        gap: 6px;
    }

    .glass-chip {
        padding: 6px 10px;
        font-size: 0.76rem;
        border-radius: 10px;
        gap: 6px;
    }

    .glass-chip i {
        font-size: 0.82rem;
    }

    .glass-chip .chip-tag {
        font-size: 0.60rem;
        padding: 2px 5px;
    }

    .hero-metrics-strip {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        margin-top: 14px;
        padding-top: 14px;
    }

    .metric-tile {
        padding: 8px 4px;
        border-radius: 10px;
    }

    .metric-tile .num {
        font-size: 0.92rem;
    }

    .metric-tile .lbl {
        font-size: 0.56rem;
    }
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   11. FEATURED PROJECTS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.projects-editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    width: 100%;
}

@media (max-width: 768px) {
    .projects-editorial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.project-editorial-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: rgba(12, 12, 12, 0.65);
    backdrop-filter: blur(28px) saturate(100%);
    -webkit-backdrop-filter: blur(28px) saturate(100%);
    border: 0.5px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s var(--ease-editorial), box-shadow 0.4s ease, border-color 0.4s ease;
}

.project-editorial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.45), 0 6px 18px rgba(0, 0, 0, 0.22);
}

/* Full Bleed Background Media & Film Scrim */
.proj-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.proj-card-bg .proj-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: none;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-editorial-card:hover .proj-card-bg .proj-cover-img {
    transform: scale(1.04);
    filter: none;
    /* No background glow or brightness change on hover */
}

/* Card Background Gradients (for fallback or text-first projects) */
.proj-card-gradient {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

.project-editorial-card:hover .proj-card-gradient {
    transform: scale(1.05);
}

.proj-gradient-gradesync {
    background: radial-gradient(circle at 75% 30%, rgba(255, 255, 255, 0.10) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 55%),
        linear-gradient(145deg, #242424 0%, #1a1a1a 50%, #121212 100%);
}

/* Authentic Dark Scrim Gradient — protects text readability over screenshots */
.proj-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.08) 0%,
            rgba(0, 0, 0, 0.22) 28%,
            rgba(0, 0, 0, 0.65) 58%,
            rgba(0, 0, 0, 0.88) 80%,
            rgba(0, 0, 0, 0.96) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Top Floating Bar: Badges & Corner Link */
.proj-card-top {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
    pointer-events: none;
}

.proj-badge {
    pointer-events: auto;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    color: #ffffff;
    border: 0.5px solid rgba(255, 255, 255, 0.45);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.90),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.50);
}

.proj-corner-link {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    -webkit-backdrop-filter: blur(28px) saturate(180%) brightness(1.04);
    border: 0.5px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.90),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.50);
}

.proj-corner-link:hover {
    background: #ffffff;
    color: #0d0d0d;
    transform: rotate(45deg) scale(1.08);
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.30);
}

/* Card Content — Liquid glass tray with frosted blur */
.proj-card-content {
    position: relative;
    z-index: 3;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg,
            rgba(14, 14, 14, 0.35) 0%,
            rgba(12, 12, 12, 0.82) 45%,
            rgba(10, 10, 10, 0.97) 100%);
    backdrop-filter: blur(22px) saturate(130%) brightness(1.04);
    -webkit-backdrop-filter: blur(22px) saturate(130%) brightness(1.04);
    border-top: 0.5px solid rgba(255, 255, 255, 0.15);
}

.proj-meta-date {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    letter-spacing: 0.01em;
    margin-bottom: 8px;
}

.proj-name {
    font-family: var(--font-headline);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.22;
    color: #ffffff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.proj-summary {
    font-family: var(--font-body);
    font-size: 0.88rem;
    line-height: 1.52;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 16px;
}

/* Tech tag pills */
.proj-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.proj-tags-row span {
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    border: 0.5px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s ease;
}

.project-editorial-card:hover .proj-tags-row span {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* Frosted glass action buttons */
.proj-button-row {
    display: flex;
    gap: 9px;
    align-items: center;
    flex-wrap: wrap;
}

.proj-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s var(--ease-editorial);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.proj-btn-light {
    background: rgba(255, 255, 255, 0.94);
    color: #0d0d0d;
    border: 1px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.proj-btn-light:hover {
    background: #ffffff;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.proj-btn-glass {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    color: #ffffff;
    border: 0.5px solid rgba(255, 255, 255, 0.40);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -0.5px 0 rgba(255, 255, 255, 0.3);
}

.proj-btn-glass:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.60);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

/* ──────────────────────────────────────────────────────────────
   12. CERTIFICATIONS & LEADERSHIP
   ────────────────────────────────────────────────────────────── */
.cert-editorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.cert-tile {
    border-radius: var(--r-card);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 0.5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s var(--ease-editorial), box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.cert-tile::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    pointer-events: none;
    z-index: 4;
    background:
        radial-gradient(ellipse 70% 55% at 85% 0%, rgba(255, 255, 255, 0.40) 0%, transparent 55%);
    mix-blend-mode: screen;
    border-radius: var(--r-card) var(--r-card) 0 0;
}

.cert-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
    border-color: rgba(255, 255, 255, 0.95);
}

.cert-preview {
    height: 170px;
    background: #111;
    overflow: hidden;
}

.cert-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cert-tile:hover .cert-preview img {
    transform: scale(1.05);
}

.cert-info {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cert-issuer {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.cert-title {
    font-family: var(--font-headline);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cert-date {
    font-size: 0.84rem;
    color: var(--text-secondary);
}

.cert-view-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cert-view-link:hover {
    text-decoration: underline;
}

/* Leadership Feature Card */
.leadership-editorial-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 36px;
    border-radius: var(--r-card-lg);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 0.5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.leadership-editorial-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 65% at 96% 8%, rgba(255, 255, 255, 0.50) 0%, transparent 58%),
        radial-gradient(ellipse 50% 65% at 4% 92%, rgba(255, 255, 255, 0.32) 0%, transparent 58%);
    mix-blend-mode: screen;
    z-index: 0;
}

.leadership-editorial-card>* {
    position: relative;
    z-index: 1;
}

.leadership-editorial-card:hover {
    box-shadow: var(--glass-shadow-hover);
}

.leadership-badge-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.crown-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: var(--glass-dark-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-dark-border);
    box-shadow: var(--glass-dark-shadow);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.leadership-tag {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.role-title {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.role-org {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.role-tenure {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.role-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.proof-photo-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.proof-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-hairline);
    transition: transform 0.2s ease;
}

.proof-thumb:hover {
    transform: scale(1.08);
}

.proof-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   13. CONTACT & FORMSPREE SECTION
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contact-editorial-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: start;
}

.ci-lead-title {
    font-family: var(--font-headline);
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.ci-lead-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.ci-quick-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 32px;
}

.ci-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ci-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

.ci-link,
.ci-text {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ci-link:hover {
    text-decoration: underline;
}

.ci-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.soc-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(32px) saturate(180%) brightness(1.04);
    -webkit-backdrop-filter: blur(32px) saturate(180%) brightness(1.04);
    border: 0.5px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.soc-pill::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 80% at 90% 10%, rgba(255, 255, 255, 0.25) 0%, transparent 55%),
        radial-gradient(ellipse 60% 80% at 10% 90%, rgba(255, 255, 255, 0.12) 0%, transparent 55%);
    mix-blend-mode: screen;
}

.soc-pill:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow:
        0 8px 22px rgba(255, 255, 255, 0.20),
        inset 0 1px 0 #ffffff;
    transform: translateY(-2px);
}

/* iOS Crystal Glass Form */
.contact-glass-card {
    padding: clamp(28px, 4vw, 40px);
    border-radius: var(--r-card-lg);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 0.5px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 60% at 95% 8%, rgba(255, 255, 255, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 5% 92%, rgba(255, 255, 255, 0.14) 0%, transparent 60%);
    mix-blend-mode: screen;
    z-index: 0;
}

.contact-glass-card>* {
    position: relative;
    z-index: 1;
}

.contact-glass-card:hover {
    box-shadow: var(--glass-shadow-hover);
}

.form-double-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px) saturate(140%) brightness(1.04);
    -webkit-backdrop-filter: blur(20px) saturate(140%) brightness(1.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.22),
        inset 0 -1px 0 rgba(0, 0, 0, 0.30),
        0 2px 8px rgba(0, 0, 0, 0.25);
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--text-primary);
    outline: none;
    transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), inset 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   14. EDITORIAL MAJD-STYLE FOOTER WITH "ADY" (SCREENSHOT MATCH)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.editorial-footer-dark {
    background-color: #080808;
    color: #ffffff;
    position: relative;
    padding-top: clamp(80px, 10vw, 130px);
    padding-bottom: 30px;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content-wrap {
    display: flex;
    flex-direction: column;
    gap: clamp(36px, 5vw, 64px);
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

/* Big 3-Line Statement */
.footer-big-phrase {
    font-family: var(--font-headline);
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #ffffff;
}

/* Columns */
.f-col-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 600;
    color: #888888;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

/* White Pill Buttons */
.footer-pill-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 320px;
}

.f-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--r-pill);
    background: #ffffff;
    color: #000000;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.f-pill-btn:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

/* Contact Column */
.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.f-mail-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.f-mail-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.f-location-text {
    font-size: 0.88rem;
    color: #777777;
}

/* Giant Watermark "ADY" */
.footer-giant-brand-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    pointer-events: none;
    line-height: 0.78;
    margin-top: clamp(20px, 4vw, 40px);
    margin-bottom: -15px;
}

.footer-giant-name {
    font-family: var(--font-headline);
    font-size: clamp(7.5rem, 26vw, 24rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #171717;
    /* Dark charcoal on pure black, exact match to MAJD screenshot */
    text-transform: uppercase;
    display: block;
    width: 100%;
    text-align: center;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.f-copy-text {
    font-size: 0.85rem;
    color: #666666;
}

.footer-action-pills {
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-action-chip {
    padding: 7px 16px;
    border-radius: var(--r-pill);
    /* Dark liquid glass for footer */
    background: rgba(255, 255, 255, 0.09);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border: 0.5px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        inset 0 -0.5px 0 rgba(255, 255, 255, 0.10),
        0 2px 8px rgba(0, 0, 0, 0.18);
    color: #cccccc;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.f-action-chip:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    box-shadow:
        inset 0 1.5px 0 rgba(255, 255, 255, 0.45),
        0 4px 14px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}

/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   15. RESPONSIVE BREAKPOINTS (MOBILE & TABLET OPTIMIZATIONS)
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 1024px) {

    /* Hide the desktop scroll-flip engine on mobile completely */
    .sticky-photo-wrap,
    #heroPhotoStage {
        display: none !important;
    }

    /* Display the static photo card directly in the Hero on mobile, matching reference */
    .hero-mobile-photo-card {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: clamp(16px, 3.5vh, 26px) auto clamp(18px, 4vh, 28px) auto;
        z-index: 5;
    }

    .hero-mobile-photo-card .photo-shell {
        width: clamp(200px, 58vw, 260px);
        height: clamp(240px, 70vw, 310px);
        border-radius: 28px;
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22), 0 4px 14px rgba(0, 0, 0, 0.08);
        position: relative;
        overflow: hidden;
    }

    /* About section: remove photo slot on mobile, clean vertical layout */
    .dock-center-slot {
        display: none !important;
    }

    .about-docked-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 22px;
        padding-top: clamp(30px, 6vh, 50px);
    }

    .dock-left,
    .dock-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dock-badge-pills {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin: 2px 0 8px 0;
    }

    .dock-badge-pills .pill-tag {
        padding: 5px 10px;
        font-size: 0.78rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .dock-cta-wrap {
        justify-content: center;
    }

    /* Skills section responsive */
    .skills-split-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .skills-canvas-card {
        min-height: 340px;
        padding: 16px;
        overflow: hidden;
        max-width: 100%;
        box-sizing: border-box;
    }

    .sphere-wrapper {
        max-width: 100%;
        overflow: hidden;
    }

    .project-editorial-card {
        min-height: 480px;
    }

    .proj-card-content {
        padding: 24px 20px 20px;
    }

    .proj-name {
        font-size: 1.4rem;
    }

    .leadership-editorial-card {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-editorial-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        width: min(92vw, 100%);
        padding-inline: 12px;
    }

    .ios-glass-island {
        top: 12px;
        width: min(94vw, 420px);
    }

    .island-capsule {
        padding: 8px 12px 8px 16px;
    }

    .island-nav {
        display: none;
    }

    .island-menu-toggle {
        display: flex;
    }

    .editorial-hero {
        padding-top: clamp(84px, 12vh, 105px);
        padding-bottom: 24px;
        min-height: auto;
    }

    .hero-giant-title {
        font-size: clamp(1.75rem, 8.5vw, 2.75rem);
        line-height: 0.95;
        letter-spacing: -0.03em;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .giant-line {
        white-space: nowrap;
    }

    .glyph-star {
        top: 2%;
        left: 2%;
        width: 32px;
        height: 32px;
        opacity: 0.55;
    }

    .glyph-bolt {
        bottom: 14%;
        right: 2%;
        width: 28px;
        height: 44px;
        opacity: 0.55;
    }

    .hero-meta-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        padding-top: 16px;
    }

    .meta-left {
        width: 100%;
        text-align: center;
    }

    .meta-right {
        align-items: center;
        width: 100%;
        gap: 8px;
    }

    .meta-actions {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        gap: 8px;
    }

    .section-editorial {
        padding: clamp(48px, 9vw, 76px) 0;
    }

    .editorial-header {
        margin-bottom: 26px;
        text-align: center;
    }

    .ed-title {
        font-size: clamp(1.75rem, 6.5vw, 2.5rem);
    }

    .hey-title {
        font-size: clamp(2.4rem, 9vw, 3.6rem);
        margin-bottom: 14px;
        text-align: center;
        width: 100%;
    }

    .dock-lead {
        font-size: 0.98rem;
        line-height: 1.6;
        text-align: justify;
        text-justify: inter-word;
        width: 100%;
    }

    .dock-text {
        font-size: 0.94rem;
        line-height: 1.65;
        text-align: justify;
        text-justify: inter-word;
        width: 100%;
    }

    .stats-editorial-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .stat-box {
        padding: 22px 18px;
        min-height: 130px;
    }

    .stat-number-wrap {
        font-size: clamp(2.6rem, 8.5vw, 3.4rem);
    }

    .edu-editorial-card {
        min-height: 480px;
    }

    .edu-card-content {
        padding: 24px 20px 20px;
    }

    .edu-name {
        font-size: 1.35rem;
    }

    .contact-glass-card {
        padding: 22px 16px;
    }

    .form-double-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .ci-social-row {
        justify-content: center;
    }

    .footer-top-grid {
        text-align: center;
    }

    .footer-statement-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-pill-links {
        justify-content: center;
        margin-inline: auto;
    }

    .footer-contact-details {
        align-items: center;
    }

    .footer-bottom-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-action-pills {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-giant-name {
        font-size: clamp(4.2rem, 24vw, 10rem);
    }
}


/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   16. SCROLL REVEAL ANIMATIONS
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Base hidden state â€” elements start translated down and invisible */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

/* Revealed state â€” smoothly fades + slides up into place */
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children inside a reveal parent */
.reveal-group>* {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-group.revealed>*:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0ms;
}

.reveal-group.revealed>*:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 80ms;
}

.reveal-group.revealed>*:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 160ms;
}

.reveal-group.revealed>*:nth-child(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 240ms;
}

.reveal-group.revealed>*:nth-child(5) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 320ms;
}

.reveal-group.revealed>*:nth-child(6) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 400ms;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal-group>* {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MOBILE BOTTOM TAB BAR â€” iOS 27 Style Floating Pill Navigation
   â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {

    /* Hide hamburger â€” bottom nav replaces it */
    .island-menu-toggle {
        display: none !important;
    }

    .ios-glass-drawer {
        display: none !important;
    }

    /* iOS 27 LIQUID GLASS — exactly matching header capsule */
    .mobile-bottom-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        bottom: max(14px, env(safe-area-inset-bottom, 14px));
        left: 50%;
        transform: translateX(-50%);
        width: min(92vw, 360px);
        height: 52px;
        padding: 3px 4px;
        border-radius: 999px;
        z-index: 9999;
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
        cursor: grab;
        overflow: hidden;
        /* Same as header — clips caustics cleanly inside pill */

        /* Exact same glass tokens as .island-capsule header */
        background: var(--lg-header-bg);
        backdrop-filter: var(--lg-header-blur);
        -webkit-backdrop-filter: var(--lg-header-blur);
        border: 0.5px solid var(--lg-header-border);
        box-shadow: var(--lg-header-shadow);

        animation: mbnSlideUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    }

    /* Corner caustic highlights — same values as .island-capsule::before */
    .mobile-bottom-nav::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: inherit;
        pointer-events: none;
        z-index: 0;
        background:
            radial-gradient(ellipse 45% 75% at 94% 8%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
            radial-gradient(ellipse 45% 75% at 6% 92%, rgba(255, 255, 255, 0.38) 0%, transparent 55%);
        mix-blend-mode: screen;
    }

    /* Narrow top gloss ribbon — same as .island-capsule::after */
    .mobile-bottom-nav::after {
        content: '';
        position: absolute;
        top: 1.5px;
        left: 20%;
        right: 20%;
        height: 35%;
        border-radius: 999px;
        pointer-events: none;
        z-index: 0;
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.45) 0%,
                rgba(255, 255, 255, 0.10) 60%,
                rgba(255, 255, 255, 0.00) 100%);
    }

    .mobile-bottom-nav.is-dragging {
        cursor: grabbing;
    }

    @keyframes mbnSlideUp {
        from {
            opacity: 0;
            transform: translateX(-50%) translateY(24px);
        }

        to {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
    }

    /* â”€â”€ Active Sliding Pill Indicator â”€â”€ */
    .mbn-indicator {
        position: absolute;
        top: 3px;
        bottom: 3px;
        left: 0;
        width: 0;
        border-radius: 999px;
        z-index: 2;
        pointer-events: none;
        /* The active pill is also a mini liquid-glass pill */
        background: linear-gradient(160deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.88) 100%);
        border: 0.5px solid rgba(255, 255, 255, 1.0);
        box-shadow:
            0 4px 14px rgba(0, 0, 0, 0.14),
            0 1px 4px rgba(0, 0, 0, 0.07),
            inset 0 1.5px 0 rgba(255, 255, 255, 1),
            inset 0 -1px 0 rgba(255, 255, 255, 0.70),
            inset 0 0 10px rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        transition: transform 0.40s cubic-bezier(0.22, 1.25, 0.36, 1),
            width 0.34s cubic-bezier(0.22, 1.25, 0.36, 1),
            opacity 0.25s ease;
        will-change: transform, width;
        opacity: 0;
    }

    .mbn-indicator.ready {
        opacity: 1;
    }

    .mobile-bottom-nav.is-dragging .mbn-indicator {
        transition: none !important;
    }

    /* â”€â”€ Tab Items â”€â”€ */
    .mbn-item {
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        flex: 1;
        padding: 2px 0;
        border-radius: 999px;
        color: rgba(255, 255, 255, 0.55);
        text-decoration: none;
        transition: color 0.22s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
    }

    .mbn-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 18px;
        font-size: 0.90rem;
        transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.22s ease;
    }

    .mbn-label {
        font-size: 0.58rem;
        font-weight: 550;
        letter-spacing: -0.01em;
        line-height: 1;
        margin-top: 2px;
        font-family: 'Plus Jakarta Sans', sans-serif;
        transition: color 0.22s ease, font-weight 0.18s ease;
    }

    /* Active tab */
    .mbn-item.active {
        color: #000000;
    }

    .mbn-item.active .mbn-icon {
        transform: scale(1.1) translateY(-0.5px);
        color: #000000;
    }

    .mbn-item.active .mbn-label {
        font-weight: 700;
        color: #000000;
    }

    /* Hover */
    .mbn-item:not(.active):hover {
        color: #ffffff;
    }

    .mbn-item:not(.active):hover .mbn-icon {
        transform: scale(1.06);
    }

    /* Press */
    .mbn-item:active {
        transform: scale(0.93);
    }

    /* Body padding so content isn't hidden behind bar */
    body {
        padding-bottom: 76px;
    }
}