/* ============================================
   INDEX PAGE SPECIFIC STYLES
   Landing page with typewriter effect
   ============================================ */

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    /* Ensure background extends behind status bar on iOS */
    background-attachment: fixed;
    /* Let html handle vertical scrolling, but never allow horizontal panning */
    overflow-y: visible;
    overflow-x: hidden;
    /* Ensure typewriter starts centered in viewport */
    position: relative;
}

/* Prevent initial scroll on mobile - ensure page starts at top */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* Only html should scroll */
    overflow-y: auto;
}

/* On mobile, ensure page doesn't start scrollable when empty */
@media (max-width: 768px) {
    body {
        /* Mobile: simple document flow (single, native scroll on html) */
        display: block !important;
        /* Use global content well gutter via .container (var(--padding)) */
        padding: 0;
        overflow-x: hidden;
        margin: 0;
    }
    
    main {
        width: 100% !important;
        margin: 0;
        padding: 0;
    }
    
    .container {
        width: 100% !important;
        max-width: 100% !important;
        /* Mobile: start at top of page, with a consistent 30px content well */
        padding: calc(30px + env(safe-area-inset-top, 0px)) var(--padding) 2rem var(--padding) !important;
        margin: 0 !important;
    }
    
    /* Ensure typewriter text starts centered on mobile */
    .typewriter-text {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        /* Don't reserve a large block on mobile (was pushing/overlapping tiles) */
        min-height: 0 !important;
        width: 100%;
        text-align: left;
    }
    
    /* Hide video showcase initially on mobile - it will appear after typing */
    .video-showcase {
        margin-top: 0;
        display: none; /* Will be shown after typing completes */
        /* Prevent invisible (opacity 0) tiles from being tappable */
        pointer-events: none;
        /* Mobile: full-width tiles stacked vertically */
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        gap: 20px !important;
        /* Ensure tiles span the full content well (no accidental inset) */
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    /* Mobile: full-width tiles */
    .video-showcase-item {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    /* No layout-mode switching on mobile; keep one clean scroll surface. */
}

.typewriter-text {
    font-size: 48px;
    font-weight: 450;
    line-height: 1.48; /* 148% - slightly more compact */
    min-height: 300px;
    position: relative;
    transition: color var(--transition-slow);
    font-family: var(--font-primary);
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Center typewriter in viewport on desktop */
    width: 100%;
    max-width: 100%;
    /* Ensure it doesn't block scrolling */
    pointer-events: auto;
    /* Keep typewriter above any transformed/filtered elements (e.g. video showcase on resize) */
    z-index: 2;
}

/* Mobile responsive - font sizes */
@media (max-width: 768px) {
    .typewriter-text {
        font-size: 40px;
        line-height: 1.48; /* 148% - slightly more compact */
    }
}

@media (max-width: 480px) {
    .typewriter-text {
        font-size: 28px;
        line-height: 1.48; /* 148% - slightly more compact */
    }
}

/* ============================================
   VIDEO SHOWCASE
   ============================================ */
.video-showcase {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    margin-top: 2rem;
    max-width: 100%;
    box-sizing: border-box;
    /* Prevent clicks on invisible tiles - will be enabled when revealed */
    pointer-events: none;
    /* Keep showcase beneath the typewriter block in stacking order */
    position: relative;
    z-index: 1;
}

.video-showcase-item {
    position: relative;
    flex: 1;
    min-width: 0;
    border-radius: var(--radius-sm);
    overflow: visible;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    /* Allow scrolling on all devices - don't block touch/wheel events */
    touch-action: pan-y pan-x;
    /* Disabled until visible - JS will enable when animation starts */
    pointer-events: none;
    /* Initial state: subtle (no pop, no rotation) */
    opacity: 0;
    transform: translate3d(0, -18px, 0);
    transition: box-shadow 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
    /* Subtle drop shadow */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
                0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Desktop: reveal animation - sequential from left to right, each with pop animation */
.video-showcase.video-showcase--revealed {
    /* Enable pointer events on container once revealed */
    pointer-events: auto;
}

.video-showcase.video-showcase--revealed .video-showcase-item {
    /* Keep opacity 0 initially, animation will handle visibility */
    opacity: 0;
    /* Premium: fade + settle down with a tiny bounce (transform+opacity only) */
    animation: tileRevealDown 620ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
    /* Items remain non-interactive until animation makes them visible - JS handles this */
    pointer-events: none;
}

.video-showcase.video-showcase--revealed .video-showcase-item:nth-child(1) {
    animation-delay: 0ms;
}

.video-showcase.video-showcase--revealed .video-showcase-item:nth-child(2) {
    animation-delay: 120ms;
}

.video-showcase.video-showcase--revealed .video-showcase-item:nth-child(3) {
    animation-delay: 240ms;
}

.video-showcase.video-showcase--revealed .video-showcase-item:nth-child(4) {
    animation-delay: 360ms;
}

.video-container-16-9 {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: var(--radius-sm);
    border: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04),
                0 1px 1px rgba(0, 0, 0, 0.02),
                /* Top-left light sheen - realistic Apple effect */
                inset 0 1px 1px rgba(255, 255, 255, 0.4),
                inset 1px 0 1px rgba(255, 255, 255, 0.35),
                /* Bottom-right subtle shadow - not really dark */
                inset 0 -1px 1px rgba(0, 0, 0, 0.05),
                inset -1px 0 1px rgba(0, 0, 0, 0.06);
}

/* Add gradient border using pseudo-element - lighter top-left, darker bottom-right */
.video-container-16-9::before {
    content: '';
    position: absolute;
    top: -0.5px;
    left: -0.5px;
    right: -0.5px;
    bottom: -0.5px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.28) 25%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0.1) 75%,
        rgba(0, 0, 0, 0.1) 100%
    );
    pointer-events: none;
    z-index: -1;
}

/* Video glow background (desktop hover) */
/* IMPORTANT: keep this OUTSIDE the tile container so Safari can’t clip it to a tile’s bounds
   and so it can’t overlap neighboring tiles (we render it behind all tiles). */
.video-showcase {
    position: relative;
}

.video-showcase-item {
    position: relative;
    z-index: 1;
}

.video-showcase .video-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 420ms cubic-bezier(0.12, 1.25, 0.18, 1);
    overflow: visible;
    contain: none;
}

.video-showcase .video-glow-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Match Vanguard/Pangea hero glow treatment */
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 0;
    display: block;
    visibility: visible;
    /* Avoid hard clip edges; rely on the glow wrapper sizing instead */
    clip-path: none;
    -webkit-clip-path: none;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    -webkit-mask-image: none;
    mask-image: none;
}


.video-container-16-9 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 1;
    /* Ensure smooth corner rounding - prevent white pixels */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    isolation: isolate;
    /* Additional clipping to prevent white bleed */
    clip-path: inset(0 round var(--radius-sm));
    -webkit-clip-path: inset(0 round var(--radius-sm));
    /* iOS Safari: allow page scrolling even when the gesture starts on the video element */
    pointer-events: none;
}

/* Desktop hover effects */
@media (min-width: 769px) {
    .video-showcase-item:hover {
        transform: scale(1.04);
        /* More subtle drop shadow on hover */
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12),
                    0 4px 8px rgba(0, 0, 0, 0.08);
        /* Ensure hover doesn't block scrolling */
        pointer-events: auto;
    }

    .video-showcase-item:hover .video-container-16-9::before {
        /* Enhanced gradient border on hover - brighter top-left */
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.5) 0%,
            rgba(255, 255, 255, 0.35) 25%,
            rgba(255, 255, 255, 0.22) 50%,
            rgba(255, 255, 255, 0.12) 75%,
            rgba(0, 0, 0, 0.12) 100%
        );
    }
    
    .video-showcase-item:hover .video-container-16-9 {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
                    0 2px 6px rgba(0, 0, 0, 0.04),
                    /* Top-left enhanced light sheen */
                    inset 0 1px 2px rgba(255, 255, 255, 0.5),
                    inset 1px 0 2px rgba(255, 255, 255, 0.45),
                    /* Bottom-right subtle shadow - not really dark */
                    inset 0 -1px 2px rgba(0, 0, 0, 0.08),
                    inset -1px 0 2px rgba(0, 0, 0, 0.1);
    }

    /* Glow is activated via JS (because it’s no longer a child of the hovered tile). */

    .video-showcase-item:hover .video-container-16-9 video {
        /* Ensure video stays above the glow layer */
        position: relative;
        z-index: 1;
    }
}

.video-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(17px) saturate(180%);
    -webkit-backdrop-filter: blur(17px) saturate(180%);
    color: #ffffff;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    padding: 8px 14px;
    border-radius: 999px;
    font-optical-sizing: auto;
    font-variation-settings: "slnt" 0, "wdth" 100, "GRAD" 0, "ROND" 0;
    pointer-events: none;
    white-space: nowrap;
    /* Subtle dimensional outline - lighter top-left, darker bottom-right */
    border: 0.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12),
                0 1px 2px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.2),
                inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

@keyframes tileRevealDown {
    0%   { opacity: 0; transform: translate3d(0, -18px, 0); }
    70%  { opacity: 1; transform: translate3d(0, 6px, 0); }
    88%  { opacity: 1; transform: translate3d(0, -2px, 0); }
    100% { opacity: 1; transform: translate3d(0, 0px, 0); }
}

/* Mobile responsive */
@media (max-width: 768px) {
    .video-showcase {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 20px;
        margin-top: 2rem;
        opacity: 0;
        transform: translateY(20px) scale(0.94);
        filter: blur(2px);
        transition: opacity 480ms cubic-bezier(0.2, 0.9, 0.2, 1),
                    transform 480ms cubic-bezier(0.2, 0.9, 0.2, 1),
                    filter 480ms cubic-bezier(0.2, 0.9, 0.2, 1);
        /* Still not tappable until revealed */
        pointer-events: none;
    }

    .video-showcase.video-showcase--revealed {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
        /* Container can receive pointer events once revealed (items are gated in JS) */
        pointer-events: auto;
    }

    .video-showcase-item {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        opacity: 0;
        /* Same subtle initial state (no pop, no rotation) */
        transform: translate3d(0, -18px, 0);
        filter: blur(0px);
        transition: none;
        /* Will use animation instead of transition */
        /* Subtle drop shadow for mobile */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08),
                    0 2px 4px rgba(0, 0, 0, 0.04);
    }

    .video-showcase.video-showcase--revealed .video-showcase-item {
        /* Keep opacity 0 initially, animation will handle visibility */
        opacity: 0;
        animation: tileRevealDown 520ms cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
    }

    .video-showcase.video-showcase--revealed .video-showcase-item:nth-child(1) {
        animation-delay: 0ms;
    }

    .video-showcase.video-showcase--revealed .video-showcase-item:nth-child(2) {
        animation-delay: 120ms;
    }

    .video-showcase.video-showcase--revealed .video-showcase-item:nth-child(3) {
        animation-delay: 240ms;
    }
    
    .video-showcase.video-showcase--revealed .video-showcase-item:nth-child(4) {
        animation-delay: 360ms;
    }

    /* Mobile video container outline - subtle dimensional effect */
    .video-container-16-9 {
        border: none;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05),
                    0 1px 1px rgba(0, 0, 0, 0.03),
                    /* Top-left light sheen */
                    inset 0 1px 1px rgba(255, 255, 255, 0.35),
                    inset 1px 0 1px rgba(255, 255, 255, 0.3),
                    /* Bottom-right subtle shadow - not really dark */
                    inset 0 -1px 1px rgba(0, 0, 0, 0.04),
                    inset -1px 0 1px rgba(0, 0, 0, 0.05);
    }
    
    .video-container-16-9::before {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0.24) 25%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.08) 75%,
            rgba(0, 0, 0, 0.08) 100%
        );
    }
}

@media (max-width: 480px) {
    .video-showcase {
        gap: 20px;
        margin-top: 1.5rem;
    }
    
    .video-flag {
        top: 8px;
        left: 8px;
        font-size: 14px;
        padding: 8px 14px;
    }
}

/* ============================================
   CLICKABLE LINKS - AI AGENT STYLE
   ============================================ */
/* Clickable links - AI agent style with animated circular element */
.typewriter-text .clickable-link {
    text-decoration: none !important;
    color: inherit !important;
    line-height: inherit !important; /* Inherit exact line-height from parent to prevent expansion */
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                padding-right 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                background 0.3s ease,
                backdrop-filter 0.3s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer !important;
    position: relative;
    z-index: 1000 !important;
    pointer-events: auto !important;
    display: inline-block !important;
    /* 2px less vertical padding vs prior (2px -> 0px) */
    padding: 1px 16px; /* Balanced horizontal padding */
    margin: 1px 2px; /* 2px vertical gap between backgrounds in different lines */
    border-radius: 999px; /* Fully rounded background */
    background: rgba(119, 122, 129, 0.33) !important; /* #777A81 with 33% opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Ensure links are always on top */
    isolation: isolate;
    vertical-align: baseline; /* Consistent baseline alignment */

    /* Circular element sizing/placement (kept INSIDE the pill background) */
    --orbit-size: 28px;  /* desktop default */
    --orbit-inset: 10px;  /* padding between circle and right edge of pill (added 2px) */
    --orbit-gap: 0px;   /* space between text and circle (reduced by 4px from 2px) */
}

/* Circular animated element - appears on hover/touch */
.typewriter-text .clickable-link::before {
    content: '';
    position: absolute;
    right: var(--orbit-inset);
    top: 50%;
    transform: translateY(-50%) scale(0);
    width: var(--orbit-size);
    height: var(--orbit-size);
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease,
                width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    pointer-events: none;
    will-change: transform, opacity;
}

/* Rotating gradient band inside circular element */
.typewriter-text .clickable-link::after {
    content: '';
    position: absolute;
    right: var(--orbit-inset);
    top: 50%;
    transform: translateY(-50%) scale(0) rotate(0deg);
    width: var(--orbit-size);
    height: var(--orbit-size);
    border-radius: 50%;
    /* Lighter "AI spectrum" band colors */
    background: conic-gradient(
        from 0deg,
        rgb(0, 255, 255),  /* cyan - more vibrant */
        rgb(0, 100, 255),   /* blue - more saturated */
        rgb(150, 0, 255),   /* violet - more vibrant */
        rgb(255, 0, 150),   /* pink - more saturated */
        rgb(255, 200, 0),   /* warm yellow - more vibrant */
        rgb(0, 255, 150),   /* mint - more saturated */
        rgb(0, 255, 255)   /* cyan loop */
    );
    /* Band mask tuned for 28px circle */
    mask: radial-gradient(circle, transparent 10px, black 10.5px, black 12.5px, transparent 13px);
    -webkit-mask: radial-gradient(circle, transparent 10px, black 10.5px, black 12.5px, transparent 13px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s ease,
                width 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                height 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: -1;
    pointer-events: none;
    animation: rotateGradient 3s linear infinite;
    animation-play-state: paused;
    will-change: transform, opacity;
    filter: saturate(1.15) brightness(1.05);
}

/* Connect link: replace spinner with emoji animation */
.typewriter-text .clickable-link.connect-link::after {
    content: '';
    background: none;
    mask: none;
    -webkit-mask: none;
    border-radius: 0;
    width: 32px;
    height: 32px;
    /* Use animated gif emoji - call me hand */
    background-image: url('https://fonts.gstatic.com/s/e/notoemoji/latest/1f919/512.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: none;
    filter: none;
    image-rendering: auto;
}

@keyframes rotateGradient {
    from {
        transform: translateY(-50%) scale(1) rotate(0deg);
    }
    to {
        transform: translateY(-50%) scale(1) rotate(360deg);
    }
}

.typewriter-text .clickable-link:hover,
.typewriter-text .clickable-link:active,
.typewriter-text .clickable-link.touching {
    text-decoration: none !important;
    color: inherit !important;
    /* Don't translate - keep left side fixed to avoid background moving right */
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    padding-left: 16px !important;
    /* Reduce extension to avoid pushing into next line */
    padding-right: calc(16px + var(--orbit-size) + var(--orbit-gap) + var(--orbit-inset) - 4px) !important;
    background: rgba(119, 122, 129, 0.35) !important; /* #777A81 with 35% opacity on hover */
}

/* Connect link: adjust padding for fixed emoji size */
.typewriter-text .clickable-link.connect-link:hover,
.typewriter-text .clickable-link.connect-link:active,
.typewriter-text .clickable-link.connect-link.touching {
    padding-right: calc(16px + 32px + var(--orbit-gap) + var(--orbit-inset) - 4px) !important;
}

.typewriter-text .clickable-link:hover::before,
.typewriter-text .clickable-link:active::before,
.typewriter-text .clickable-link.touching::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
    width: var(--orbit-size);
    height: var(--orbit-size);
}.typewriter-text .clickable-link:hover::after,
.typewriter-text .clickable-link:active::after,
.typewriter-text .clickable-link.touching::after {
    transform: translateY(-50%) scale(1) rotate(0deg);
    opacity: 1;
    width: var(--orbit-size);
    height: var(--orbit-size);
    animation-play-state: running;
}

/* Connect link: emoji doesn't rotate */
.typewriter-text .clickable-link.connect-link:hover::after,
.typewriter-text .clickable-link.connect-link:active::after,
.typewriter-text .clickable-link.connect-link.touching::after {
    transform: translateY(-50%) scale(1);
    animation-play-state: paused;
    width: 32px;
    height: 32px;
}

.typewriter-text .clickable-link:active {
    transform: translateX(4px) scale(0.98);
}

/* Desktop hover states */
@media (min-width: 769px) {
    .typewriter-text .clickable-link {
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    .typewriter-text .clickable-link:hover {
        text-decoration: none !important;
    }
}

/* Mobile touch states */
@media (max-width: 768px) {
    .typewriter-text .clickable-link:active {
        transform: translateX(4px);
    }

    /* Scale down circular element for 36px type */
    .typewriter-text .clickable-link {
        --orbit-size: 21px;
        --orbit-inset: 7px;
        --orbit-gap: 0px; /* Reduced by 4px from desktop */
    }

    .typewriter-text .clickable-link::after {
        mask: radial-gradient(circle, transparent 7.5px, black 8px, black 9.5px, transparent 10px);
        -webkit-mask: radial-gradient(circle, transparent 7.5px, black 8px, black 9.5px, transparent 10px);
    }

    /* Connect link emoji on mobile */
    .typewriter-text .clickable-link.connect-link::after {
        width: 24px;
        height: 24px;
    }

    .typewriter-text .clickable-link.connect-link:hover::after,
    .typewriter-text .clickable-link.connect-link:active::after,
    .typewriter-text .clickable-link.connect-link.touching::after {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    /* Scale down circular element for 28px type */
    .typewriter-text .clickable-link {
        --orbit-size: 16px;
        --orbit-inset: 6px;
        --orbit-gap: 0px; /* Reduced by 4px from desktop */
    }

    .typewriter-text .clickable-link::after {
        mask: radial-gradient(circle, transparent 5.5px, black 6px, black 7px, transparent 7.5px);
        -webkit-mask: radial-gradient(circle, transparent 5.5px, black 6px, black 7px, transparent 7.5px);
    }

    /* Connect link emoji on small mobile */
    .typewriter-text .clickable-link.connect-link::after {
        width: 20px;
        height: 20px;
    }

    .typewriter-text .clickable-link.connect-link:hover::after,
    .typewriter-text .clickable-link.connect-link:active::after,
    .typewriter-text .clickable-link.connect-link.touching::after {
        width: 20px;
        height: 20px;
    }

    .typewriter-text .clickable-link.connect-link:hover,
    .typewriter-text .clickable-link.connect-link:active,
    .typewriter-text .clickable-link.connect-link.touching {
        padding-right: calc(16px + 20px + var(--orbit-gap) + var(--orbit-inset) - 4px) !important;
    }
}
