/* =========================================================
   LANDING HERO CSS — index.html
   Zero top-edge clipping + Obsidian Emerald & Champagne Amber styling
========================================================= */

body {
    overflow-x: hidden;
    overflow-y: auto;
}

.side-text {
    display: none !important;
}

.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: safe center;
    align-items: center;
    gap: clamp(14px, 2vh, 22px);
    text-align: center;
    padding: clamp(24px, 3.4vh, 42px) 80px clamp(20px, 2.8vh, 36px);
    z-index: 5;
}

.hero-content {
    position: relative;
    width: min(94vw, 1520px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    will-change: transform;
    transition: transform 0.12s ease-out;
}

/* TOP BADGE */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 10px 22px;
    margin-bottom: clamp(14px, 2vh, 26px);
    border: 1px solid rgba(16, 232, 159, 0.26);
    border-radius: 100px;
    background: rgba(10, 22, 20, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: clamp(10px, 0.72vw, 12.5px);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(236, 253, 245, 0.86);
    box-shadow: inset 0 1px 0 rgba(16, 232, 159, 0.14), 0 15px 50px rgba(0, 0, 0, 0.30);
    animation: fadeDown 0.9s ease forwards;
}

/* PROFILE SQUARE + CONIC AURORA + ORBITS */
.profile-wrapper {
    position: relative;
    width: clamp(185px, 15vw, 275px);
    height: clamp(185px, 15vw, 275px);
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: clamp(16px, 2.2vh, 30px);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.25s ease-out;
    animation: profileEntrance 1s cubic-bezier(.2, .8, .2, 1) forwards;
}

@keyframes profileEntrance {
    from {
        opacity: 0;
        transform: scale(0.76) translateY(-14px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.profile-glow {
    position: absolute;
    width: 108%;
    height: 108%;
    border-radius: 38px;
    background: conic-gradient(from 0deg, #10e89f, #22d3ee, #f5b041, #10e89f);
    filter: blur(28px);
    opacity: 0.48;
    animation: rotateGlow 7s linear infinite;
}

.profile-wrapper::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: rgba(5, 8, 10, 0.44);
    box-shadow: 0 0 85px rgba(16, 232, 159, 0.28);
    z-index: 2;
}

.orbit {
    position: absolute;
    width: 116%;
    height: 116%;
    border-radius: 44px;
    border: 1px solid rgba(110, 231, 183, 0.22);
    z-index: 1;
    animation: rotateGlow 13s linear infinite;
}

.orbit::before {
    content: "";
    position: absolute;
    width: 11px;
    height: 11px;
    top: -5.5px;
    left: 50%;
    border-radius: 50%;
    background: #10e89f;
    box-shadow: 0 0 18px #10e89f, 0 0 36px rgba(16, 232, 159, 0.85);
}

.orbit::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    right: -5px;
    top: 50%;
    border-radius: 50%;
    background: #f5b041;
    box-shadow: 0 0 18px #f5b041, 0 0 36px rgba(245, 176, 65, 0.85);
}

.orbit-two {
    width: 127%;
    height: 127%;
    border-radius: 54px;
    border-style: dashed;
    border-color: rgba(245, 176, 65, 0.28);
    opacity: 0.42;
    animation-duration: 21s;
    animation-direction: reverse;
}

@keyframes rotateGlow {
    to {
        transform: rotate(360deg);
    }
}

.profile-image {
    position: relative;
    z-index: 4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 30px;
    border: 4px solid rgba(110, 231, 183, 0.26);
    box-shadow:
        0 28px 90px rgba(0, 0, 0, 0.78),
        0 0 0 2px rgba(245, 176, 65, 0.16),
        0 0 46px rgba(16, 232, 159, 0.20);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.profile-wrapper:hover .profile-image {
    transform: scale(1.035);
    box-shadow: 0 34px 110px rgba(0, 0, 0, 0.82), 0 0 70px rgba(16, 232, 159, 0.36);
}

/* GIANT NAME */
.name {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(46px, 5.8vw, 114px);
    font-weight: 700;
    line-height: 0.92;
    letter-spacing: clamp(-4.5px, -0.3vw, -1.5px);
    margin-bottom: clamp(10px, 1.3vh, 18px);
    background: linear-gradient(110deg, #ffffff 18%, #d1fae5 34%, #34d399 54%, #f5b041 76%, #ffffff 94%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 30px rgba(16, 232, 159, 0.16));
    animation: textShine 5.5s linear infinite, fadeUp 0.9s ease 0.2s both;
}

.role {
    font-size: clamp(12.5px, 1.05vw, 16px);
    font-weight: 700;
    letter-spacing: clamp(1.8px, 0.22vw, 3.5px);
    text-transform: uppercase;
    color: #6ee7b7;
    margin-bottom: clamp(14px, 1.8vh, 22px);
    animation: fadeUp 0.9s ease 0.38s both;
}

/* WANNA SEE MY WORKS? */
.works-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(24px, 2.3vw, 44px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: clamp(16px, 2vh, 26px);
    color: rgba(248, 250, 252, 0.94);
    animation: fadeUp 0.9s ease 0.52s both;
}

.works-title span {
    position: relative;
    color: #34d399;
    text-shadow: 0 0 28px rgba(16, 232, 159, 0.40);
}

.works-title span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #10e89f, #f5b041, transparent);
    box-shadow: 0 0 15px rgba(16, 232, 159, 0.78);
    animation: linePulse 2.2s infinite;
}

@keyframes linePulse {
    50% {
        opacity: 0.35;
    }
}

/* =========================================================
   REFINED HERO ACTIONS & QUICK-CONNECT DOCK
========================================================= */
.hero-actions-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: clamp(16px, 2.2vh, 26px);
    animation: fadeUp 0.9s ease 0.6s both;
}

.explore-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: clamp(210px, 15vw, 270px);
    height: 52px;
    padding: 0 32px;
    border: 1px solid rgba(110, 231, 183, 0.40);
    border-radius: 100px;
    background: linear-gradient(135deg, #ecfdf5, #ffffff);
    color: #05110e;
    font-family: "Inter", sans-serif;
    font-size: clamp(13.5px, 0.92vw, 16px);
    font-weight: 800;
    letter-spacing: 0.4px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 14px 45px rgba(16, 232, 159, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.16);
    transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), box-shadow 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

.explore-btn::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #10e89f, #06b6d4, #f59e0b);
    left: var(--x, 50%);
    top: var(--y, 50%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.explore-btn:hover::before {
    width: 600px;
    height: 600px;
}

.explore-btn:hover {
    color: #030a08;
    border-color: rgba(245, 176, 65, 0.7);
    box-shadow: 0 20px 75px rgba(16, 232, 159, 0.42);
    transform: translateY(-2px);
}

.explore-btn span,
.explore-btn svg {
    position: relative;
    z-index: 2;
}

.explore-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.35s ease;
}

.explore-btn:hover svg {
    transform: translateX(6px);
}

.resume-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 52px;
    padding: 0 24px;
    border-radius: 100px;
    background: rgba(16, 232, 159, 0.08);
    border: 1.5px solid rgba(16, 232, 159, 0.40);
    color: #6ee7b7;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.resume-cta-btn svg {
    width: 17px;
    height: 17px;
    transition: transform 0.25s ease;
}

.resume-cta-btn:hover {
    background: rgba(16, 232, 159, 0.22);
    border-color: #10e89f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(16, 232, 159, 0.30);
}

.resume-cta-btn:hover svg {
    transform: translateY(2px);
}

/* REFINED QUICK-CONNECT DOCK */
.hero-connect-dock {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 100px;
    background: rgba(10, 22, 20, 0.68);
    border: 1px solid rgba(16, 232, 159, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: fadeUp 0.9s ease 0.75s both;
}

.dock-social-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.dock-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 13px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(236, 253, 245, 0.88);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-decoration: none;
    transition: all 0.22s ease;
}

.dock-pill-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.dock-pill-btn:hover {
    background: rgba(16, 232, 159, 0.16);
    border-color: rgba(16, 232, 159, 0.50);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.dock-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.14);
    margin: 0 2px;
}

.dock-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 100px;
    background: rgba(16, 232, 159, 0.10);
    border: 1px solid rgba(16, 232, 159, 0.30);
    color: #6ee7b7;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.22s ease;
}

.dock-nav-link:hover {
    background: rgba(16, 232, 159, 0.24);
    border-color: #10e89f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(16, 232, 159, 0.25);
}

.dock-arrow {
    transition: transform 0.2s ease;
}

.dock-nav-link:hover .dock-arrow {
    transform: translateX(3px);
}

/* MAGNETIC CTA BUTTON (LEGACY FALLBACK) */
.cta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.9s ease 0.68s both;
}

/* SOCIAL + DIRECT CONTACT BAR */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(14px, 2vh, 22px);
    animation: fadeUp 0.9s ease 0.85s both;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(12, 22, 22, 0.62);
    border: 1px solid rgba(16, 232, 159, 0.30);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-decoration: none;
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.22);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.social-icon svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.05);
    background: rgba(16, 232, 159, 0.18);
    border-color: rgba(16, 232, 159, 0.85);
    color: #6ee7b7;
    box-shadow: 0 0 18px rgba(16, 232, 159, 0.35), 0 0 36px rgba(16, 232, 159, 0.16);
}

.contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 17px;
    border-radius: 100px;
    background: rgba(12, 22, 24, 0.62);
    border: 1px solid rgba(34, 211, 238, 0.28);
    color: rgba(241, 245, 249, 0.88);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.contact-chip svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.contact-chip:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 232, 159, 0.82);
    background: rgba(16, 232, 159, 0.14);
    color: #ffffff;
    box-shadow: 0 0 24px rgba(16, 232, 159, 0.24);
}

.contact-chip--accent {
    border-color: rgba(245, 176, 65, 0.56);
    background: linear-gradient(135deg, rgba(16, 232, 159, 0.18), rgba(245, 176, 65, 0.16));
    color: #fef3c7;
}

.contact-chip--accent:hover {
    border-color: rgba(245, 176, 65, 0.92);
    background: linear-gradient(135deg, rgba(16, 232, 159, 0.30), rgba(245, 176, 65, 0.28));
    color: #ffffff;
    box-shadow: 0 0 28px rgba(245, 176, 65, 0.32);
}

.bottom-text {
    position: relative;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: rgba(167, 243, 208, 0.34);
    white-space: nowrap;
    margin-top: 2px;
    animation: fadeUp 1s ease 0.98s both;
}

/* SHORT LAPTOP GUARD */
@media (max-height: 780px) and (min-width: 701px) {
    .hero {
        padding: 18px 60px 22px;
        gap: 10px;
    }
    .badge {
        padding: 8px 18px;
        margin-bottom: 12px;
        font-size: 10px;
    }
    .profile-wrapper {
        width: clamp(150px, 12.5vw, 205px);
        height: clamp(150px, 12.5vw, 205px);
        margin-bottom: 14px;
    }
    .name {
        font-size: clamp(44px, 5vw, 84px);
        margin-bottom: 8px;
    }
    .role {
        font-size: 10.5px;
        margin-bottom: 14px;
    }
    .works-title {
        font-size: clamp(22px, 2vw, 34px);
        margin-bottom: 14px;
    }
    .explore-btn {
        min-width: 235px;
        padding: 13px 28px;
        font-size: 14px;
    }
    .social-links {
        margin-top: 12px;
        gap: 9px;
    }
    .social-icon {
        width: 38px;
        height: 38px;
    }
    .contact-chip {
        height: 38px;
        padding: 0 14px;
        font-size: 11px;
    }
}

@media (max-width: 900px) {
    .hero {
        padding: 25px 28px 36px;
    }
    .side-text {
        display: none;
    }
}

@media (max-width: 700px) {
    .hero {
        min-height: 100svh;
        padding: 26px 18px 40px;
    }
    .badge {
        font-size: 9px;
        letter-spacing: 1.2px;
        padding: 9px 14px;
        margin-bottom: 18px;
    }
    .profile-wrapper {
        width: min(60vw, 230px);
        height: min(60vw, 230px);
        margin-bottom: 20px;
    }
    .profile-image {
        border-radius: 24px;
    }
    .name {
        font-size: clamp(42px, 13vw, 70px);
        letter-spacing: -2.5px;
        margin-bottom: 12px;
    }
    .role {
        font-size: 10px;
        line-height: 1.65;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }
    .works-title {
        font-size: clamp(24px, 6.8vw, 34px);
        margin-bottom: 18px;
    }
    .explore-btn {
        min-width: 240px;
        padding: 15px 26px;
        font-size: 14px;
    }
    .bottom-text {
        margin-top: 10px;
        white-space: normal;
        font-size: 9px;
        letter-spacing: 1.6px;
    }
}

/* =========================================================
   TWO-COLUMN HERO GRID (HERO LEFT + HANGING LANYARD RIGHT)
========================================================= */
.hero-grid {
    display: grid;
    grid-template-columns: 1.18fr 0.82fr;
    gap: clamp(32px, 4vw, 68px);
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    z-index: 5;
}

.hero-bio {
    font-size: clamp(14px, 1.05vw, 16.5px);
    line-height: 1.65;
    color: rgba(236, 253, 245, 0.74);
    max-width: 580px;
    margin-bottom: clamp(16px, 2vh, 24px);
    animation: fadeUp 0.9s ease 0.42s both;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    min-height: 520px;
    z-index: 99999; /* TOPPEST LAYER */
}

.btn-scroll-workstation {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 100px;
    background: rgba(16, 232, 159, 0.08);
    border: 1px solid rgba(16, 232, 159, 0.32);
    color: #6ee7b7;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-scroll-workstation:hover {
    background: rgba(16, 232, 159, 0.20);
    border-color: #10e89f;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(16, 232, 159, 0.22);
}

/* =========================================================
   3D HANGING LANYARD & ID BADGE
========================================================= */
.lanyard-container {
    position: relative;
    width: 320px;
    height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    perspective: 1400px;
    overflow: visible;
    z-index: 99999;
}

.lanyard-svg {
    position: absolute;
    top: -700px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 1100px;
    pointer-events: none;
    overflow: visible;
    z-index: 99998;
}

.strap-layer {
    fill: none;
}

.strap-shadow {
    stroke: rgba(0, 0, 0, 0.75);
    stroke-width: 18px;
    stroke-linecap: square;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.9));
}

.strap-edge {
    stroke: #10e89f;
    stroke-width: 14px;
    stroke-linecap: square;
    opacity: 0.92;
    filter: drop-shadow(0 0 6px rgba(16, 232, 159, 0.5));
}

.strap-core {
    stroke: #071914;
    stroke-width: 10px;
    stroke-linecap: square;
}

.lanyard-strap {
    fill: none;
    stroke: #10e89f;
    stroke-width: 14px;
    stroke-linecap: square;
}

.lanyard-badge-wrap {
    position: relative;
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 125px;
    transform-origin: 50% 0 !important; /* PIVOT AT THE TOP CLIP! */
    transform-style: preserve-3d;
    cursor: grab;
    user-select: none;
    touch-action: none;
    will-change: transform;
}

.lanyard-badge-wrap:active {
    cursor: grabbing;
}

/* METALLIC CLASP / CLIP */
.badge-clip {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: -18px; /* Extends clasp directly through card slot! */
    z-index: 25;
    position: relative;
    touch-action: none;
}

.clip-crimp {
    width: 24px;
    height: 11px;
    background: linear-gradient(180deg, #94a3b8 0%, #64748b 50%, #334155 100%);
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    margin-bottom: -3px;
    position: relative;
    z-index: 30;
}

.clip-ring {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3.5px solid #cbd5e1;
    background: transparent;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.8);
    margin-bottom: -5px;
    position: relative;
    z-index: 27;
}

.clip-hook {
    width: 14px;
    height: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 35%, #64748b 70%, #334155 100%);
    border-radius: 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), inset 0 1px 1px rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 28;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.clip-clasp-loop {
    width: 14px;
    height: 17px;
    border: 3px solid #cbd5e1;
    border-top: none;
    border-radius: 0 0 7px 7px;
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    z-index: 32;
}

.clip-hook::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #0f172a;
    border: 1.5px solid #94a3b8;
    border-radius: 50%;
}

.slot-hook-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 4px;
    background: linear-gradient(180deg, #64748b 0%, #334155 100%);
    border-radius: 2px;
    opacity: 0.95;
}

/* ID CARD BODY */
.id-card {
    position: relative;
    width: 272px;
    border-radius: 22px;
    padding: 14px 16px 18px;
    background: rgba(9, 17, 19, 0.94);
    border: 1.5px solid rgba(16, 232, 159, 0.35);
    box-shadow: 
        0 28px 70px rgba(0, 0, 0, 0.88),
        0 0 35px rgba(16, 232, 159, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform-style: preserve-3d;
    overflow: hidden;
    touch-action: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.id-card:hover {
    border-color: rgba(245, 176, 65, 0.55);
    box-shadow: 
        0 35px 90px rgba(0, 0, 0, 0.95),
        0 0 50px rgba(16, 232, 159, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.card-glare {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 22px;
    background: radial-gradient(circle at 45% 20%, rgba(255, 255, 255, 0.18) 0%, transparent 62%);
    z-index: 10;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.card-slot {
    width: 44px;
    height: 9px;
    border-radius: 999px;
    background: #030708;
    border: 1.5px solid rgba(110, 231, 183, 0.35);
    margin: -4px auto 8px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.95);
    position: relative;
    z-index: 15;
    overflow: hidden;
}

.card-top-accent {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.card-slot {
    width: 40px;
    height: 8.5px;
    border-radius: 999px;
    background: #040809;
    border: 1.5px solid rgba(110, 231, 183, 0.4);
    margin: -3px auto 12px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.95);
}

.card-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(16, 232, 159, 0.12);
    border: 1px solid rgba(16, 232, 159, 0.32);
    margin-bottom: 12px;
}

.card-brand {
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #10e89f;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.card-status-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background: #10e89f;
    box-shadow: 0 0 8px #10e89f;
    animation: statusPulse 1.8s infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.card-photo-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 195px;
    margin: 0 auto 12px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(110, 231, 183, 0.28);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
    background: #060d0e;
}

.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    transition: transform 0.4s ease;
}

.id-card:hover .card-photo {
    transform: scale(1.04);
}

.photo-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 2.5px 8px;
    border-radius: 999px;
    background: rgba(5, 10, 12, 0.90);
    border: 1px solid rgba(16, 232, 159, 0.45);
    color: #10e89f;
    font-size: 8.5px;
    font-weight: 800;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

.card-body {
    text-align: center;
}

.card-name {
    font-family: "Space Grotesk", sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.4px;
    margin-bottom: 3px;
}

.card-role {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #10e89f;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.card-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(110, 231, 183, 0.12);
    margin-bottom: 12px;
    text-align: left;
}

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

.card-meta-label {
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(236, 253, 245, 0.50);
}

.card-meta-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 10px;
    font-weight: 700;
    color: #f5b041;
}

.card-footer-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(110, 231, 183, 0.10);
}

.card-chip {
    width: 25px;
    height: 18px;
    border-radius: 3.5px;
    background: linear-gradient(135deg, #f5b041 0%, #b45309 100%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 2px 3px;
}

.chip-line {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.5);
}

.card-barcode {
    display: flex;
    align-items: center;
    gap: 2.2px;
    height: 18px;
}

.card-barcode span {
    display: block;
    height: 100%;
    background: rgba(236, 253, 245, 0.75);
    border-radius: 1px;
}

.card-barcode span:nth-child(2n) { width: 1px; }
.card-barcode span:nth-child(2n+1) { width: 2.5px; }
.card-barcode span:nth-child(3n) { width: 1.5px; }
.card-barcode span:nth-child(5n) { width: 3px; }

/* =========================================================
   INTERACTIVE WORKSTATION (3D MACBOOK LAPTOP SCROLL)
========================================================= */
.workstation-section {
    position: relative;
    width: 100%;
    min-height: 180vh;
    padding: 90px 24px 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.workstation-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto clamp(36px, 5vh, 60px);
    position: relative;
    z-index: 20;
}

.workstation-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(16, 232, 159, 0.12);
    border: 1px solid rgba(16, 232, 159, 0.35);
    color: #6ee7b7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.workstation-title {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(28px, 4.2vw, 54px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1.2px;
    color: #ffffff;
    margin-bottom: 14px;
}

.workstation-title span {
    background: linear-gradient(110deg, #34d399 20%, #f5b041 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.workstation-subtitle {
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.6;
    color: rgba(236, 253, 245, 0.72);
    max-width: 620px;
    margin: 0 auto;
}

/* STICKY 3D MACBOOK STAGE */
.macbook-wrap {
    position: sticky;
    top: 10vh;
    width: 100%;
    max-width: 980px;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1200px;
    z-index: 25;
    pointer-events: none !important; /* Pass hits directly to interactive descendants */
}

.macbook-stage {
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(clamp(0.55, 0.8vw, 0.95));
    pointer-events: none !important;
}

.macbook-chassis {
    position: relative;
    width: 580px;
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
    pointer-events: none !important;
}

/* SCREEN LID (3D ROTATING TOP) */
.macbook-lid {
    position: relative;
    width: 100%;
    height: 360px;
    transform-origin: bottom center;
    transform-style: preserve-3d;
    transform: rotateX(-126deg);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 30;
    pointer-events: none !important;
}

.macbook-chassis.is-open .macbook-lid {
    transform: rotateX(2deg);
    z-index: 30;
    pointer-events: none !important;
}

.macbook-chassis:not(.is-open) .macbook-lid {
    z-index: 60;
    pointer-events: auto !important;
}

.macbook-chassis:not(.is-open) .lid-screen {
    pointer-events: none !important;
    visibility: hidden;
}

.macbook-chassis.is-open .lid-screen {
    pointer-events: auto !important;
    visibility: visible;
}

.macbook-chassis:not(.is-open) .lid-cover {
    display: flex !important;
    pointer-events: auto !important;
    z-index: 70;
}

.macbook-chassis.is-open .lid-cover {
    display: none !important;
    pointer-events: none !important;
}

/* ALL INTERACTIVE SCREEN & CONTROLS GUARANTEED POINTER-EVENTS */
.lid-screen,
.screen-glass,
.screen-contact-hub,
.screen-reels-container,
.reels-carousel,
.reel-slide.is-active,
.reel-info,
.reel-actions,
.reel-btn,
.reel-nav-bar,
.reel-nav-arrow,
.reel-play-btn,
.reel-counter-wrap,
.screen-view-tabs,
.screen-tab-btn,
.terminal-body,
.term-channel-card,
.macbook-base,
.lid-cover,
.keyboard-power-key {
    pointer-events: auto !important;
}

/* SCREEN DISPLAY FRONT */
.lid-screen {
    position: absolute;
    inset: 0;
    border-radius: 20px 20px 4px 4px;
    background: #06090a;
    padding: 10px 10px 14px;
    border-top: 1.5px solid rgba(255, 255, 255, 0.18);
    border-left: 1.5px solid rgba(255, 255, 255, 0.12);
    border-right: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.92);
    backface-visibility: hidden;
    transform: translateZ(2px);
    overflow: hidden;
}

/* APPLE DYNAMIC ISLAND AT TOP OF SCREEN */
.dynamic-island {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 155px;
    height: 25px;
    background: #000000;
    border-radius: 20px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 4px 12px rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 35;
    cursor: pointer;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.dynamic-island:hover {
    width: 220px;
    box-shadow: 0 0 0 1.5px rgba(16, 232, 159, 0.5), 0 6px 20px rgba(0, 0, 0, 0.95);
}

.di-camera-hole {
    display: flex;
    align-items: center;
    gap: 4px;
}

.di-lens {
    width: 7.5px;
    height: 7.5px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #1e1b4b 0%, #030712 75%);
    border: 1px solid #1e293b;
}

.di-led {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #10e89f;
    box-shadow: 0 0 5px #10e89f;
}

.di-content {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
}

.di-pulse-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34d399;
    animation: statusPulse 1.8s infinite;
}

.di-text {
    font-size: 9.5px;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.92);
    letter-spacing: 0.3px;
    font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
}

/* SCREEN GLASS & DEVELOPER CONTACT TERMINAL HUB */
.screen-glass {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: #05080a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.9);
}

.screen-contact-hub {
    width: 100%;
    height: 100%;
    background: linear-gradient(165deg, #091312 0%, #040909 55%, #010404 100%);
    display: flex;
    flex-direction: column;
    padding: 34px 14px 12px;
    position: relative;
    z-index: 20;
    pointer-events: auto !important;
    overflow: hidden;
}

.screen-window-bar {
    display: flex;
    align-items: center;
    position: relative;
    height: 22px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 6px;
}

.screen-window-dots {
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    flex-shrink: 0;
}

.screen-window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.screen-view-tabs {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 5;
}

.screen-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    font-size: 9px;
    font-weight: 600;
    font-family: inherit;
    color: rgba(203, 213, 225, 0.65);
    background: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.screen-tab-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.screen-tab-btn.is-active {
    color: #10e89f;
    background: rgba(16, 232, 159, 0.14);
    border: 1px solid rgba(16, 232, 159, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.screen-terminal-title {
    margin-left: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 9.5px;
    color: rgba(203, 213, 225, 0.60);
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

/* =========================================================
   PROJECT REELS CAROUSEL IN LAPTOP SCREEN
========================================================= */
.screen-reels-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    position: relative;
    pointer-events: auto !important;
    overflow: hidden;
}

.reels-carousel {
    position: relative;
    flex: 1;
    width: 100%;
    overflow: hidden;
    border-radius: 9px;
    background: #020405;
    border: 1px solid rgba(16, 232, 159, 0.18);
    display: flex;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.reel-slide {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    opacity: 0;
    pointer-events: none !important;
    z-index: 1;
}

.reel-slide.is-active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    z-index: 20;
}

.reel-slide:not(.is-active) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

.reel-slide:not(.is-active) * {
    pointer-events: none !important;
}

.reel-media-wrap {
    position: relative;
    width: 100%;
    height: 155px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #000;
}

.reel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    display: block;
}

.reel-slide:hover .reel-img {
    transform: scale(1.03);
}

.reel-media-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.60) 100%);
    pointer-events: none;
}

.reel-badge {
    position: absolute;
    top: 7px;
    left: 8px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #10e89f;
    background: rgba(3, 7, 7, 0.90);
    border: 1px solid rgba(16, 232, 159, 0.35);
    padding: 2.5px 7px;
    border-radius: 5px;
    backdrop-filter: blur(8px);
    z-index: 3;
}

.reel-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 11px;
    background: linear-gradient(180deg, rgba(8, 14, 15, 0.96) 0%, rgba(3, 6, 7, 0.98) 100%);
    flex: 1;
    gap: 10px;
    position: relative;
    z-index: 25;
}

.reel-header {
    text-align: left;
    flex: 1;
    min-width: 0;
}

.reel-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reel-tagline {
    display: block;
    font-size: 9px;
    color: rgba(148, 163, 184, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reel-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    position: relative;
    z-index: 30;
}

.reel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4.5px 10px;
    border-radius: 6px;
    font-size: 9.5px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 40;
    touch-action: manipulation;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reel-btn span,
.screen-tab-btn span,
.strip-link span,
.reel-nav-arrow span,
.reel-play-btn span {
    pointer-events: none !important;
}

.reel-btn-primary {
    background: #10e89f;
    color: #030707;
    box-shadow: 0 2px 8px rgba(16, 232, 159, 0.28);
}

.reel-btn-primary:hover {
    background: #34d399;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 232, 159, 0.42);
}

.reel-btn-primary:active {
    transform: translateY(0) scale(0.97);
}

.reel-btn-subtle {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.reel-btn-subtle:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

.reel-btn-subtle:active {
    transform: translateY(0) scale(0.97);
}

/* REEL CONTROLS (ARROWS + SLIDE COUNTER & PROGRESS) */
.reel-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 0 2px;
    z-index: 30;
    position: relative;
}

.reel-nav-arrow {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 232, 159, 0.08);
    border: 1px solid rgba(16, 232, 159, 0.25);
    color: #10e89f;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.reel-nav-arrow:hover {
    background: #10e89f;
    color: #030707;
    transform: scale(1.12);
}

.reel-counter-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 80px;
    cursor: pointer;
    user-select: none;
}

.reel-counter-badge {
    font-size: 9.5px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: #10e89f;
    letter-spacing: 0.5px;
}

.reel-progress-track {
    width: 70px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.reel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10e89f, #34d399);
    border-radius: 2px;
    transition: width 0.35s ease;
    box-shadow: 0 0 6px rgba(16, 232, 159, 0.7);
}

.reel-play-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.75);
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.reel-play-btn:hover {
    background: rgba(16, 232, 159, 0.2);
    border-color: #10e89f;
    color: #10e89f;
}

/* MINI QUICK-CONTACT STRIP AT REEL BOTTOM */
.reel-contact-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    padding: 4px 6px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: auto !important;
}

.strip-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 8.5px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    color: rgba(148, 163, 184, 0.85);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: all 0.2s ease;
    touch-action: manipulation;
}

.strip-link:hover {
    color: #10e89f;
    background: rgba(16, 232, 159, 0.08);
}

.strip-icon {
    color: #10e89f;
    font-size: 9.5px;
}

.terminal-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    pointer-events: auto !important;
}

.terminal-cmd-row {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    color: rgba(236, 253, 245, 0.85);
    margin-bottom: 8px;
    text-align: left;
}

.term-user { color: #34d399; font-weight: 700; }
.term-tilde { color: #f5b041; }
.term-cmd { color: #ffffff; font-weight: 600; }

.terminal-channels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
    pointer-events: auto !important;
}

.term-channel-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 11px;
    background: rgba(16, 232, 159, 0.06);
    border: 1px solid rgba(16, 232, 159, 0.22);
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 50;
    touch-action: manipulation;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.term-channel-card:hover {
    background: rgba(16, 232, 159, 0.18);
    border-color: #10e89f;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.7), 0 0 16px rgba(16, 232, 159, 0.28);
}

.term-channel-card:active {
    transform: translateY(0) scale(0.98);
}

.term-channel-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.term-channel-icon svg {
    width: 15px;
    height: 15px;
}

.phone-accent { color: #34d399; }
.mail-accent { color: #f5b041; }
.git-accent { color: #e2e8f0; }
.linkedin-accent { color: #38bdf8; }

.term-channel-details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    text-align: left;
}

.channel-label {
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: rgba(148, 163, 184, 0.75);
    margin-bottom: 1px;
}

.channel-val {
    font-size: 10.5px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.channel-action {
    font-size: 9.5px;
    font-weight: 700;
    color: #10e89f;
    opacity: 0.85;
    transition: transform 0.2s ease;
}

.term-channel-card:hover .channel-action {
    transform: translateX(3px);
}

.terminal-footer-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 9px;
    color: rgba(148, 163, 184, 0.75);
}

.meta-status {
    color: #10e89f;
    font-weight: 600;
}

.screen-glare {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
    pointer-events: none;
    z-index: 15;
}

/* LID COVER BACK (WHEN CLOSED) */
.lid-cover {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(145deg, #2b323a 0%, #171c21 45%, #0d1114 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    box-shadow: 
        0 35px 90px rgba(0, 0, 0, 0.95),
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        inset 0 -1px 0 rgba(0, 0, 0, 0.9);
    backface-visibility: hidden;
    transform: rotateX(180deg) translateZ(2px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

.lid-cover-sheen {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(255, 255, 255, 0.14), transparent 65%);
    pointer-events: none;
}

.rr-logo {
    width: 135px;
    height: 105px;
    filter: drop-shadow(0 4px 16px rgba(16, 232, 159, 0.40));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.lid-cover:hover .rr-logo {
    transform: scale(1.06);
    filter: drop-shadow(0 8px 24px rgba(16, 232, 159, 0.70));
}

.lid-thumb-scoop {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 68px;
    height: 7px;
    border-radius: 6px 6px 0 0;
    background: #0d1114;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.9);
}

/* HINGE BAR */
.macbook-hinge {
    width: 82%;
    height: 8px;
    margin: -1px auto 0;
    background: linear-gradient(180deg, #181d22 0%, #101418 50%, #06090a 100%);
    border-left: 1px solid #2d3748;
    border-right: 1px solid #2d3748;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 22;
}

/* BASE / KEYBOARD HOUSING */
.macbook-base {
    position: relative;
    width: 100%;
    height: 350px;
    margin-top: -1px;
    border-radius: 4px 4px 24px 24px;
    background: linear-gradient(180deg, #232930 0%, #1a2026 40%, #111518 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 
        0 40px 95px rgba(0, 0, 0, 0.96),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
    transform-origin: top center;
    transform: rotateX(54deg);
    transform-style: preserve-3d;
    padding: 10px 14px 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* KEYBOARD LAYOUT */
.keyboard-well {
    width: 80%;
    margin: 4px auto 8px;
    background: #07090b;
    border-radius: 8px;
    padding: 5px;
    border: 1px solid rgba(0, 0, 0, 0.8);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.kb-row {
    display: flex;
    width: 100%;
    gap: 3px;
}

.key {
    flex: 1;
    height: 22px;
    background: #0f1316;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
    font-size: 7px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.85),
        inset 0 0.5px 0.5px rgba(255, 255, 255, 0.18);
    user-select: none;
    transition: background 0.15s ease, transform 0.1s ease;
}

.key:hover {
    background: #1e262c;
    color: #10e89f;
}

.key-fn { font-size: 6px; }
.key-sm { font-size: 6.5px; }
.key-tab, .key-delete, .key-caps, .key-return { font-size: 6px; flex: 1.4; }
.key-shift-l, .key-shift-r { font-size: 6px; flex: 1.8; }
.key-ctrl, .key-opt, .key-cmd { font-size: 6px; flex: 1.2; }
.key-space { flex: 4.8; }

.key-power {
    flex: 1;
    background: #090c0e;
}

.touch-id {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #334155;
    background: #020405;
}

.key-arrows {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    gap: 1.5px;
}

.arrow-up, .arrow-left, .arrow-down, .arrow-right {
    background: #0f1316;
    border-radius: 2px;
    font-size: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.arrow-up { height: 10px; width: 14px; margin: 0 auto; }
.arrow-bottom-row { display: flex; gap: 2px; height: 10.5px; }
.arrow-left, .arrow-down, .arrow-right { flex: 1; }

/* SPEAKER GRILLS */
.speaker-grill {
    position: absolute;
    top: 14px;
    width: 8%;
    height: 125px;
    background-image: radial-gradient(circle, #080b0d 0.8px, transparent 0.8px);
    background-size: 3.5px 3.5px;
    opacity: 0.85;
}

.grill-left { left: 10px; }
.grill-right { right: 10px; }

/* TRACKPAD */
.trackpad {
    width: 36%;
    height: 95px;
    margin: 4px auto 0;
    border-radius: 10px;
    background: rgba(18, 23, 27, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.6);
    transition: background 0.2s ease;
}

.trackpad:hover {
    background: rgba(25, 32, 38, 0.8);
}

.base-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 5px;
    background: #0a0d0f;
    border-radius: 0 0 6px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.key-power {
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.key-power:hover {
    background: #1e293b;
    box-shadow: 0 0 10px rgba(16, 232, 159, 0.7);
}

.key-power:active {
    transform: scale(0.90);
}

.workstation-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 36px;
    z-index: 28;
}

/* RESPONSIVE LAYOUT RULES */
@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .hero-left {
        align-items: center;
        text-align: center;
    }
    .hero-bio {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-right {
        min-height: 480px;
    }
    .macbook-chassis {
        width: clamp(320px, 92vw, 560px);
    }
}

@media (max-width: 640px) {
    .lanyard-container {
        height: 480px;
    }
    .macbook-chassis {
        width: 320px;
    }
    .macbook-lid {
        height: 200px;
    }
    .macbook-base {
        height: 200px;
    }
    .key {
        height: 14px;
        font-size: 5px;
    }
    .trackpad {
        height: 55px;
    }
}
