/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
    --bg: #0a0a0a;
    --text: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.5);
    /* Заменяем белый на неоновый голубой */
    --accent: #00F0FF; 
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
    /* Hover states used across styles */
    --glass-hover: rgba(255,255,255,0.05);
    --border-hover: rgba(0,240,255,0.18);
}

/* Добавь это, чтобы кнопки слегка подсвечивались твоим цветом */
.contact-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Не скрываем системный курсор глобально — кастомный курсор
       реализован через элемент .cursor и отключается на тач-устройствах */
}

/* Разрешаем стандартный интерактивный курсор для ссылок/кнопок */
a, button, .contact-btn, .lab-card, .hero-photo { cursor: pointer; }

html {
    scroll-behavior: smooth;
}

/* Reset default anchor styles site-wide to avoid browser-blue links */
a, a:visited {
    color: inherit;
    text-decoration: none;
}
a:hover, a:focus {
    color: var(--text);
    text-decoration: none;
}

::selection {
    background: var(--text);
    color: var(--bg);
}

body {
    font-family: 'Unbounded', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1; /* Прижимает футер (если будет) к низу */
}

/* =========================================
   2. BACKGROUND FX (Blobs & Particles)
   ========================================= */
.background-fx {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: moveBlob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes moveBlob {
    0% { transform: translate(-20%, -20%) scale(0.9); }
    100% { transform: translate(20%, 20%) scale(1.1); }
}

@keyframes float {
    0% { transform: translateY(100vh); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(-100px); opacity: 0; }
}

/* =========================================
   3. NAVIGATION
   ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo { 
    font-weight: 700; 
    font-size: 1.1rem; 
    letter-spacing: -0.5px; 
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Burger button (hidden on desktop) */
.nav-burger {
    display: none;
    background: transparent;
    border: none;
    width: 44px;
    height: 38px;
    padding: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.nav-burger .burger-line {
    display: block;
    height: 2px;
    background: #ffffff;
    margin: 4px 0;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile menu hidden by default; will be shown when nav has .nav-open */
#nav-menu { transition: transform 0.28s ease, opacity 0.28s ease; }

/* Desktop: keep inline */
@media (min-width: 901px) {
    .nav-burger { display: none; }
    #nav-menu { display: flex !important; transform: none !important; opacity: 1 !important; }
}

/* Mobile: hide inline nav and show burger */
@media (max-width: 900px) {
    .nav-burger { display: inline-flex; }
    #nav-menu {
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.95);
        padding: 20px 5%;
        display: flex;
        flex-direction: column;
        gap: 12px;
        transform: translateY(-10px) scaleY(0.98);
        opacity: 0;
        pointer-events: none;
        z-index: 1500;
        border-bottom: 1px solid rgba(255,255,255,0.03);
        border-radius: 0 0 12px 12px;
    }

    nav.nav-open #nav-menu {
        transform: translateY(0) scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    /* Animate burger to X when open */
    nav.nav-open .nav-burger .burger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    nav.nav-open .nav-burger .burger-line:nth-child(2) { opacity: 0; }
    nav.nav-open .nav-burger .burger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
/* SVG burger lines styling & animation */
.nav-burger svg { width: 22px; height: 22px; display: block; }
.nav-burger .line { fill: none; stroke: var(--text); stroke-width: 2.4; stroke-linecap: round; transition: transform 0.28s cubic-bezier(.2,.9,.2,1), opacity 0.18s ease; transform-origin: center; }
.nav-burger .line.top { transform-origin: 12px 12px; }
.nav-burger .line.middle { transform-origin: 12px 12px; }
.nav-burger .line.bottom { transform-origin: 12px 12px; }
nav.nav-open .nav-burger .line.top { transform: translateY(5px) rotate(45deg); }
nav.nav-open .nav-burger .line.middle { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-burger .line.bottom { transform: translateY(-5px) rotate(-45deg); }


.nav-links a {
    position: relative;
    transition: color 0.3s ease;
}

/* Nav buttons styled similarly to contact buttons but compact */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.nav-btn:hover {
    background: var(--glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* Active nav item */
.nav-btn[aria-current="page"] {
    background: linear-gradient(90deg, rgba(0,240,255,0.08), rgba(0,120,255,0.06));
    border-color: var(--border-hover);
    box-shadow: 0 6px 20px rgba(0,240,255,0.06);
}

/* CTA variant */
.nav-cta {
    background: linear-gradient(90deg,var(--accent), #6af0ff);
    color: #0a0a0a;
    padding: 10px 16px;
    border-radius: 18px;
    font-weight: 800;
}
.nav-cta:hover { transform: translateY(-3px) scale(1.02); }

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--text);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text) !important;
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================
   4. SECTIONS & TYPOGRAPHY
   ========================================= */
section {
    position: relative;
    z-index: 1;
    padding: 160px 5% 80px;
    max-width: 1600px;
    margin: 0 auto;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-content {
    flex: 1;
}

.hero-tag {
    display: inline-block;
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--glass);
    font-weight: 600;
}

.hero-photo-wrapper {
    flex: 0 0 420px;
    height: 560px;
    position: relative;
    perspective: 1000px;
}

/* Centered hero variant (used on index) */
.hero--centered {
    justify-content: center;
    text-align: center;
    flex-direction: column;
}

.hero-subtext {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 700px;
    margin-top: 30px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255,255,255,0.15);
}

.hero-photo:hover {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.02) rotateY(-5deg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border-color: var(--border-hover);
}

/* =========================================
   6. CARDS & GRID (Services / Team)
   ========================================= */
.lab-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 100px;
    padding-bottom: 30px;
    display: block;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 60px;
}

/* Team grid and card */
.team-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap:30px }
.team-card { background: rgba(255,255,255,0.02); border:1px solid var(--border); padding:20px; border-radius:16px; display:flex; gap:16px; align-items:center; transition: transform .28s ease, box-shadow .28s ease }
.team-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(0,0,0,0.45); border-color: var(--border-hover) }
.team-card .avatar { width:84px; height:84px; border-radius:12px; overflow:hidden; flex:0 0 84px }
.team-card .avatar img { width:100%; height:100%; object-fit:cover; display:block }
.team-card .meta { flex:1 }
.team-card .meta h3 { margin:0; font-size:1.1rem; font-weight:800 }
.team-card .meta .role { font-size:0.8rem; color:var(--text-dim); margin-bottom:6px }
.team-card .meta p { margin:0; color:var(--text-dim) }

.lab-card {
    /* Если это ссылка-карточка */
    display: block;
    text-decoration: none; 
    color: inherit;
    /* Стили */
    padding: 0;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
}

/* Panel variant for team cards */
.lab-card--panel {
    background: rgba(255,255,255,0.02);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border);
}
.lab-card--panel h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Section utility */
.section--padded-bottom { padding-bottom: 150px; }

/* Project detail layout */
.project-hero { display:flex; gap:40px; align-items:center; }
.project-hero .project-media { flex:0 0 420px }
.project-hero img { width:100%; border-radius:16px; display:block }

/* Специальный стиль для карточек на странице команды, если у них есть рамка */
a.lab-card {
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.lab-card:hover {
    transform: translateY(-15px);
    border-color: var(--border-hover) !important; /* Усиливаем рамку при наведении */
}

.lab-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
    letter-spacing: -1px;
}

.lab-card p {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.7;
    font-weight: 300;
}

/* =========================================
   7. CONTACT BUTTONS
   ========================================= */
.contacts-wrapper {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 35px;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 28px;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s ease;
}

.contact-btn:hover {
    background: var(--glass-hover);
    border-color: var(--border-hover);
    transform: scale(1.02);
}

/* Compact primary variant for hero CTA */
.contact-btn.primary-cta {
    padding: 16px 26px;
    font-size: 1rem;
    border-radius: 22px;
}

/* Primary button used in hero */
.btn { display:inline-flex; align-items:center; gap:10px; padding:14px 22px; border-radius:16px; font-weight:800; text-decoration:none }
.btn--primary { background: linear-gradient(90deg,var(--accent), #6af0ff); color: #0a0a0a; box-shadow: 0 10px 30px rgba(0,240,255,0.08); transition: transform .22s ease, box-shadow .22s ease }
.btn--ghost { background: transparent; border: 1px solid rgba(255,255,255,0.06); color: inherit }
.btn--primary:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,240,255,0.12) }
.btn:focus { outline: 3px solid rgba(0,240,255,0.12); outline-offset: 3px }

/* Reveal animation for scroll */
.reveal { opacity: 0; transform: translateY(16px) scale(0.995); transition: opacity 520ms cubic-bezier(.2,.9,.2,1), transform 520ms cubic-bezier(.2,.9,.2,1) }
.reveal.in { opacity: 1; transform: translateY(0) scale(1) }

/* ==========================
   Footer
   ========================== */
.site-footer {
    margin-top: 80px;
    padding: 50px 5%;
    background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
    border-top: 1px solid rgba(255,255,255,0.03);
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 300px;
    gap: 30px;
    align-items: start;
}
.footer-brand img { height: 36px; }
.footer-brand p { color: var(--text-dim); margin-top:8px; max-width:380px; }
.footer-contacts h4, .footer-info h4 { margin-bottom: 12px; font-size: 0.95rem; }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.18s ease, border-color 0.18s ease;
    margin-right: 8px;
}
.social-link:hover { background: var(--glass-hover); border-color: var(--border-hover); }
.social-icon { width: 20px; height: 20px; display:inline-block; fill: white; opacity: 0.95 }
.footer-info p { color: var(--text-dim); }

@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr; }
}

.contact-icon {
    width: 44px;
    height: 44px;
    fill: #fff;
    opacity: 0.9;
}

.contact-info h4 { 
    font-size: 0.75rem; 
    text-transform: uppercase; 
    opacity: 0.4; 
    margin-bottom: 6px; 
    letter-spacing: 1px;
}

.contact-info span { 
    font-size: 1.3rem; 
    font-weight: 700; 
}

/* Projects list styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.project-card { display: block; color: inherit; }

/* Hover gradient / overlay for project cards */
.project-card .media-wrap { position: relative; overflow: hidden; border-radius: 12px; }
.project-card img { display:block; width:100%; height:180px; object-fit:cover; transition: transform 0.6s cubic-bezier(.2,.9,.2,1); }
.project-card:hover img { transform: scale(1.06) translateY(-6px); }
.project-card .project-info { padding-top: 12px }
.project-card .project-title { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px }
.project-card .project-excerpt { color: var(--text-dim); font-size: 0.98rem }
.project-card .project-tags { margin-top:10px; display:flex; gap:8px; flex-wrap:wrap }
.project-card .tag { font-size:0.75rem; padding:6px 10px; border-radius:999px; background: rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.03); color:var(--text-dim) }
.project-card:hover { border-color: var(--border-hover); box-shadow: 0 20px 40px rgba(0,0,0,0.45) }
.project-card:hover { transform: translateY(-8px); border-color: var(--border-hover); }

.project-card img { width: 100%; border-radius: 12px; display:block; margin-bottom: 12px; object-fit:cover; height:180px }

/* Legal pages layout */
.legal-article {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    padding: 36px;
    border-radius: 14px;
    max-width: 980px;
    margin: 0 auto;
}
.legal-article h1 { font-size: 2.2rem; margin-bottom: 8px }
.legal-article h3 { margin-top: 20px; margin-bottom: 8px }
.legal-article p, .legal-article li { color: var(--text-dim); line-height: 1.7 }
.legal-article .muted { color: var(--text-dim); margin-bottom: 18px }

/* Legal links in footer */
.footer-legal { margin-top: 14px }
.legal-link { text-decoration: underline; color: inherit; margin-right: 12px }
.legal-link:hover { color: var(--accent); }

/* =========================================
   8. CUSTOM CURSOR
   ========================================= */
.cursor {
    width: 20px; height: 20px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out;
    mix-blend-mode: difference;
    background: white;
}

/* =========================================
   9. MEDIA QUERIES
   ========================================= */
@media (max-width: 1024px) {
    .hero { flex-direction: column-reverse; text-align: center; gap: 40px; }
    /* Keep logical order for centered hero (homepage): heading -> text -> CTAs */
    .hero--centered { flex-direction: column !important; }
    .hero-photo-wrapper { width: 100%; max-width: 400px; height: 533px; }
    h1 { font-size: 4rem; }
    .lab-grid { gap: 40px; }
}

@media (max-width: 480px) {
    h1 { font-size: 2.5rem; }
    section { padding: 120px 5% 60px; }
    .lab-card h3 { font-size: 1.8rem; }
}

/* Mobile optimizations */
@media (max-width: 900px) {
    /* compact top bar: keep items in a row, central logo */
    nav {
        padding: 10px 6%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 6px;
        height: 64px;
        position: relative;
    }

    /* Center the logo visually by absolute centering in the nav only */
    nav > .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 10px;
        z-index: 1200;
        display: block;
    }
    nav > .logo img { height: 42px; display:block }

    /* Ensure footer logo remains static and unaffected */
    .footer-brand .logo { position: static !important; transform: none !important; }
    .footer-brand .logo img { height: 36px }

    /* Burger and menu are normal flow items; place burger to the right */
    .nav-burger { order: 2; }
    #nav-menu { order: 3; }

    /* Menu dropdown positioned directly under the compact bar */
    #nav-menu {
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10,10,10,0.98);
        padding: 12px 5%;
        display: flex;
        flex-direction: column;
        gap: 10px;
        transform: translateY(-6px) scaleY(0.98);
        opacity: 0;
        pointer-events: none;
        z-index: 1100;
        border-bottom: 1px solid rgba(255,255,255,0.03);
        border-radius: 0 0 8px 8px;
    }

    nav.nav-open #nav-menu {
        transform: translateY(0) scaleY(1);
        opacity: 1;
        pointer-events: auto;
    }

    .hero { padding: 72px 5% 28px; min-height: 54vh; }
    .hero-photo-wrapper { width: 100%; max-width: 300px; height: 340px; }
    section { padding: 72px 5% 28px; }

    .lab-grid { grid-template-columns: 1fr; gap: 24px; }
    .projects-grid { grid-template-columns: 1fr; }
    .contacts-wrapper { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin: 10px 0 8px; }
    .hero-tag { display: inline-block; }
}

/* Hide heavy background FX and custom cursor on touch devices / small screens */
@media (hover: none), (max-width: 600px) {
    .cursor { display: none !important; }
    .background-fx { display: none !important; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .blob { animation: none !important; }
    .particle { animation: none !important; }
    .lab-card, .project-card { transition: none !important; }
}

/* Final mobile/menu overrides to ensure visible burger and good legal page layout */
@media (max-width: 900px) {
    nav { height: 64px; padding: 10px 6%; }
    /* center logo vertically */
    nav > .logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1250; }
    nav > .logo img { height: 42px; }

    /* burger visible on right */
    .nav-burger { display: inline-flex !important; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: var(--glass); border: 1px solid var(--border); border-radius: 10px; padding: 8px; z-index: 1300; }
    .nav-burger .burger-line { background: var(--text); width: 18px; }
    
    /* Mobile-specific simplifications and larger tap targets for small screens */
    @media (max-width: 600px) {
        nav { height: 72px; padding: 10px 4%; }
        #nav-menu { top: 72px; padding: 10px 6%; }
        .nav-btn { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
        .nav-cta { padding: 12px 16px; font-size: 1rem; }
        
        /* Reduce heavy background FX on small screens */
        .background-fx { display: none !important; }
        
        /* Bigger hero text and centered layout */
        .hero--centered h1 { font-size: 2.4rem; line-height: 1.05; }
        .hero-subtext { font-size: 1rem; padding: 0 6%; }
        
        /* Cards: single column, larger spacing and tappable area */
        .project-card, .team-card { padding: 18px; border-radius: 12px; }
        .project-card .media-wrap img { height: 220px; }
        .team-card { gap: 12px; }
        .team-card .avatar { width:72px; height:72px; }
        
        /* Make footer legal links stacked */
        .footer-legal { display:block; }
        
        /* Ensure reveal transitions are subtle on mobile */
        .reveal { transition-duration: 420ms; }
    }

    /* menu slightly inset with rounded corners */
    #nav-menu { left: 6%; right: 6%; top: calc(64px + 8px); padding: 14px; border-radius: 10px; }
    #nav-menu .nav-btn { width: 100%; text-align: center; }

    /* legal article: full width with safe padding */
    .legal-article { max-width: 100%; width: calc(100% - 32px); padding: 20px; border-radius: 10px; }
    .legal-article p, .legal-article li { color: var(--text-dim); overflow-wrap: anywhere; word-break: break-word; }
}

/* Skip link: visible on keyboard focus for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.skip-link:focus {
    position: fixed;
    left: 16px;
    top: 16px;
    width: auto;
    height: auto;
    padding: 8px 12px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    z-index: 9999;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}