/* /Features/Home/Home.razor.rz.scp.css */
.hero-section[b-hknxeb7p0j] {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--navbar-h));
    margin-top: var(--navbar-h);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0 4.5rem;
}

/* Dotted grid, faded out towards the edges */
.hero-bg[b-hknxeb7p0j] {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.08) 1px, transparent 1px) 0 0 / 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 42%, #000 25%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 42%, #000 25%, transparent 78%);
}

/* Slow-drifting colour blobs */
.hero-blob[b-hknxeb7p0j] {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.hero-blob-1[b-hknxeb7p0j] {
    width: 36rem;
    height: 36rem;
    top: -10rem;
    right: -8rem;
    background: radial-gradient(circle at 30% 30%,
    rgba(99, 102, 241, 0.30), rgba(14, 165, 233, 0.14) 55%, transparent 72%);
    animation: home-blob-a-b-hknxeb7p0j 21s ease-in-out infinite alternate;
}

.hero-blob-2[b-hknxeb7p0j] {
    width: 30rem;
    height: 30rem;
    bottom: -12rem;
    left: -9rem;
    background: radial-gradient(circle at 65% 60%,
    rgba(14, 165, 233, 0.28), rgba(79, 70, 229, 0.13) 55%, transparent 72%);
    animation: home-blob-b-b-hknxeb7p0j 26s ease-in-out infinite alternate;
}

@keyframes home-blob-a-b-hknxeb7p0j {
    to {
        transform: translate(-4.5rem, 3rem) scale(1.15);
    }
}

@keyframes home-blob-b-b-hknxeb7p0j {
    to {
        transform: translate(3.5rem, -2.5rem) scale(1.1);
    }
}

/* Fade into the page background at the bottom */
.hero-section[b-hknxeb7p0j]::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 6rem;
    background: linear-gradient(to bottom, transparent, var(--bg-base));
    z-index: 0;
    pointer-events: none;
}

.hero-content[b-hknxeb7p0j] {
    position: relative;
    z-index: 1;
    max-width: 46rem;
    padding: 0 1.5rem;
    margin: 0 auto;
    text-align: center;
}

/* Staggered entrance on load — wider gaps between steps so the
   cascade actually reads instead of arriving all at once.
   7 children when the availability badge is shown: photo / eyebrow /
   name / tagline / availability badge / cta / social. (If the badge
   is hidden — Profile.IsAvailableForFreelance false — everything
   after it shifts up one nth-child slot and just reuses the next
   rule's delay; a one-step timing wobble, not a layout break.) */
.hero-content > *[b-hknxeb7p0j] {
    animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content > :nth-child(1)[b-hknxeb7p0j] {
    animation-delay: 0.05s;
}

.hero-content > :nth-child(2)[b-hknxeb7p0j] {
    animation-delay: 0.23s;
}

.hero-content > :nth-child(3)[b-hknxeb7p0j] {
    animation-delay: 0.41s;
}

.hero-content > :nth-child(4)[b-hknxeb7p0j] {
    animation-delay: 0.59s;
}

.hero-content > :nth-child(5)[b-hknxeb7p0j] {
    animation-delay: 0.77s;
}

.hero-content > :nth-child(6)[b-hknxeb7p0j] {
    animation-delay: 0.95s;
}

.hero-content > :nth-child(7)[b-hknxeb7p0j] {
    animation-delay: 1.13s;
}

.availability-badge[b-hknxeb7p0j] {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.28);
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: #16a34a;
}

.availability-dot[b-hknxeb7p0j] {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.availability-dot[b-hknxeb7p0j]::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, 0.5);
    animation: availability-ping-b-hknxeb7p0j 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes availability-ping-b-hknxeb7p0j {
    0%        { transform: scale(0.7); opacity: 1; }
    70%, 100% { transform: scale(1.7); opacity: 0; }
}

.hero-photo-wrap[b-hknxeb7p0j] {
    width: 9.5rem;
    height: 9.5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: var(--brand-gradient);
    box-shadow: 0 14px 32px rgba(var(--brand-primary-rgb), 0.25);
}

.hero-photo[b-hknxeb7p0j] {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-base);
}

.hero-eyebrow[b-hknxeb7p0j] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

/* Terminal-style typing — width/steps depend on text length,
   so the steps() timing function is set inline from Blazor.
   letter-spacing must stay at normal: the 1ch-based width math
   doesn't account for extra tracking. */
.hero-typed-wrap[b-hknxeb7p0j] {
    display: inline-block;
    width: calc(var(--chars) * 1ch + 8px);
    max-width: 100%;
    text-align: left;
    letter-spacing: normal;
}

.hero-typed[b-hknxeb7p0j] {
    display: inline-block;
    box-sizing: content-box;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    max-width: calc(var(--chars) * 1ch + 6px);
    padding-right: 3px;
    border-right: 2px solid var(--brand-primary);
    animation-name: home-typing-b-hknxeb7p0j, home-caret-b-hknxeb7p0j;
    animation-duration: 1.4s, 1.1s;
    animation-delay: 0.85s, 0.85s;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: both, none;
}

@keyframes home-typing-b-hknxeb7p0j {
    from {
        max-width: 0;
    }
    to {
        max-width: calc(var(--chars) * 1ch + 6px);
    }
}

@keyframes home-caret-b-hknxeb7p0j {
    0%, 100% {
        border-color: var(--brand-primary);
    }
    50% {
        border-color: transparent;
    }
}

.hero-name[b-hknxeb7p0j] {
    /* Routes.razor's <FocusOnNavigate Selector="h1"/> programmatically
       focuses this heading after every navigation (for screen readers),
       which paints the browser's default focus ring around it. It's not
       a real interactive/keyboard-focusable element, so the ring is just
       visual noise for sighted users — suppress it. */
    outline: none;
    font-family: "Sora", sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.1;
    background: var(--brand-gradient);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 1rem;
    /* Explicit delay here: this rule's specificity ties with the
       .hero-content > :nth-child(3) stagger rule, and — being later
       in the cascade — would otherwise win and silently drop that
       delay, making the name pop in before the eyebrow/photo above it. */
    animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 0.41s both,
    home-gradient-pan-b-hknxeb7p0j 9s ease-in-out infinite alternate;
}

@keyframes home-gradient-pan-b-hknxeb7p0j {
    from {
        background-position: 0% center;
    }
    to {
        background-position: 100% center;
    }
}

.hero-tagline[b-hknxeb7p0j] {
    font-family: "Inter", sans-serif;
    font-size: 1.25rem;
    color: var(--text-secondary) !important;
    max-width: 34rem;
    margin: 0 auto;
    line-height: 1.55;
}

.hero-cta[b-hknxeb7p0j] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.hero-social[b-hknxeb7p0j] {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-social-icon[b-hknxeb7p0j] {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 1.15rem;
    text-decoration: none;
    transition: color var(--motion-base) ease, border-color var(--motion-base) ease,
                transform var(--motion-base) ease, box-shadow var(--motion-base) ease;
    box-shadow: var(--card-shadow);
}

.hero-social-icon:hover[b-hknxeb7p0j] {
    color: var(--brand-primary);
    border-color: rgba(79, 70, 229, 0.35);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.18);
}

/* Scroll-down hint */
.hero-scroll-hint[b-hknxeb7p0j] {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    animation: fade-up 1s cubic-bezier(0.22, 1, 0.36, 1) 1.6s both,
    home-hint-bob-b-hknxeb7p0j 2.4s ease-in-out 2.6s infinite;
}

.hero-scroll-mouse[b-hknxeb7p0j] {
    display: block;
    width: 25px;
    height: 40px;
    border: 2px solid rgba(71, 85, 105, 0.45);
    border-radius: 999px;
    position: relative;
    transition: border-color var(--motion-base) ease;
}

.hero-scroll-wheel[b-hknxeb7p0j] {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 4px;
    height: 8px;
    margin-left: -2px;
    border-radius: 999px;
    background: var(--brand-primary);
    animation: home-wheel-b-hknxeb7p0j 1.9s ease-in-out infinite;
}

.hero-scroll-hint:hover .hero-scroll-mouse[b-hknxeb7p0j] {
    border-color: var(--brand-primary);
}

@keyframes home-hint-bob-b-hknxeb7p0j {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 7px;
    }
}

@keyframes home-wheel-b-hknxeb7p0j {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    65% {
        transform: translateY(12px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 0;
    }
}

/* ═══════════════════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════════════════ */

.about-intro[b-hknxeb7p0j] {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto 2.5rem;
    padding: 0 1.5rem;
}

.about-lead[b-hknxeb7p0j] {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Stats with pure-CSS count-up (typed custom property) ── */

@property --stat-n {
    syntax: '<integer>';
    inherits: false;
    initial-value: 0;
}

.stats-row[b-hknxeb7p0j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 44rem;
    margin: 0 auto 2.75rem;
    padding: 0 1.5rem;
}

.stat[b-hknxeb7p0j] {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    box-shadow: var(--card-shadow);
    padding: 1.6rem 1rem 1.4rem;
}

.stat-value[b-hknxeb7p0j] {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: "Sora", sans-serif;
    font-weight: 800;
    font-size: 2.3rem;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-num[b-hknxeb7p0j] {
    counter-reset: stat var(--stat-n);
}

.stat-num[b-hknxeb7p0j]::after {
    content: counter(stat);
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-plus[b-hknxeb7p0j] {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.js .stat.revealed .stat-num[b-hknxeb7p0j] {
    animation: home-stat-count-b-hknxeb7p0j 2.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* Without JS the reveal never fires — show the target value directly */
html:not(.js) .stat-num[b-hknxeb7p0j] {
    counter-reset: stat var(--stat-target);
}

@keyframes home-stat-count-b-hknxeb7p0j {
    from {
        --stat-n: 0;
    }
    to {
        --stat-n: var(--stat-target);
    }
}

.stat-label[b-hknxeb7p0j] {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: 0.01em;
}

/* ── Pillars ── */

.pillars-grid[b-hknxeb7p0j] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem 1.5rem;
}

.pillar[b-hknxeb7p0j] {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    box-shadow: var(--card-shadow);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: transform var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

/* Gradient accent bar sliding in along the top edge */
.pillar[b-hknxeb7p0j]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--motion-slow) ease;
}

.pillar:hover[b-hknxeb7p0j] {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-0.25rem);
}

.pillar:hover[b-hknxeb7p0j]::after {
    transform: scaleX(1);
}

.pillar-icon[b-hknxeb7p0j] {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform var(--motion-base) var(--ease-bounce);
}

.pillar:hover .pillar-icon[b-hknxeb7p0j] {
    transform: translateY(-4px) scale(1.1);
}

.pillar-title[b-hknxeb7p0j] {
    font-size: 1.05rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.pillar-desc[b-hknxeb7p0j] {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ── B2B / JDG callout (Services section) ── */

.b2b-note[b-hknxeb7p0j] {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 44rem;
    margin: 1.75rem auto 0;
    padding: 1.1rem 1.5rem;
    border-radius: 1rem;
    background: rgba(var(--brand-primary-rgb), 0.05);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.18);
}

.b2b-note-icon[b-hknxeb7p0j] {
    flex-shrink: 0;
    font-size: 1.3rem;
    color: var(--brand-primary);
}

.b2b-note p[b-hknxeb7p0j] {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════
   SKILLS
   ═══════════════════════════════════════════════════════ */

.skills-grid[b-hknxeb7p0j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.25rem;
    padding: 0 1.5rem 1.5rem;
}

.skill-group[b-hknxeb7p0j] {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    box-shadow: var(--card-shadow);
    padding: 1.5rem 1.5rem 1.75rem;
}

.skill-group-title[b-hknxeb7p0j] {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-secondary);
    margin-bottom: 1rem;
}

.skill-list[b-hknxeb7p0j] {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.skill-list-item[b-hknxeb7p0j] {
    position: relative;
    padding-left: 1.15rem;
    font-family: "Inter", sans-serif;
    font-size: 0.87rem;
    color: var(--text-secondary);
    transition: color var(--motion-base) ease, translate var(--motion-base) ease;
}

.skill-list-item[b-hknxeb7p0j]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-gradient);
}

.skill-list-item:hover[b-hknxeb7p0j] {
    color: var(--text-primary);
    translate: 3px 0;
}

/* ═══════════════════════════════════════════════════════
   EXPERIENCE / EDUCATION TIMELINE
   ═══════════════════════════════════════════════════════ */

.timeline-subheading[b-hknxeb7p0j] {
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
    color: var(--text-primary);
    padding: 0 1.5rem;
    margin-bottom: 1.25rem;
}

.timeline[b-hknxeb7p0j] {
    max-width: 46rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════
   PROJECTS GRID
   ═══════════════════════════════════════════════════════ */

.projects-grid[b-hknxeb7p0j] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
    gap: 1.5rem;
    padding: 0.5rem 1.5rem 1.5rem;
}

.empty-state[b-hknxeb7p0j] {
    color: var(--text-secondary);
    padding: 1rem 0 2rem;
}

/* ═══════════════════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════════════════ */

[b-hknxeb7p0j] .contact-tile {
    max-width: 34rem;
    margin: 1.5rem auto;
}

.contact-profile[b-hknxeb7p0j] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--card-border);
}

.contact-avatar[b-hknxeb7p0j] {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--card-bg);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.contact-profile-name[b-hknxeb7p0j] {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    margin: 0 0 0.1rem;
}

.contact-profile-role[b-hknxeb7p0j] {
    font-family: "Inter", sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-secondary);
    margin: 0;
}

.contact-info-list[b-hknxeb7p0j] {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.contact-info-row[b-hknxeb7p0j] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    padding: 0.7rem 0.9rem;
    border-radius: 0.65rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    transition: background var(--motion-base) ease, border-color var(--motion-base) ease, translate var(--motion-base) ease;
}

.contact-info-row:hover[b-hknxeb7p0j] {
    background: rgba(79, 70, 229, 0.07);
    border-color: rgba(79, 70, 229, 0.25);
    translate: 4px 0;
}

.contact-info-static[b-hknxeb7p0j] {
    cursor: default;
}

.contact-info-static:hover[b-hknxeb7p0j] {
    background: var(--bg-alt);
    border-color: var(--card-border);
    translate: 0 0;
}

.contact-info-icon[b-hknxeb7p0j] {
    font-size: 1.1rem;
    color: var(--brand-primary);
    width: 1.4rem;
    text-align: center;
    flex-shrink: 0;
}

.contact-info-text[b-hknxeb7p0j] {
    font-family: "Inter", sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .pillars-grid[b-hknxeb7p0j] {
        grid-template-columns: 1fr;
    }

    .hero-name[b-hknxeb7p0j] {
        font-size: 2.3rem;
    }

    .about-lead[b-hknxeb7p0j] {
        font-size: 1rem;
    }

    .stat-value[b-hknxeb7p0j] {
        font-size: 1.9rem;
    }
}

@media (max-width: 576px) {
    .hero-photo-wrap[b-hknxeb7p0j] {
        width: 7rem;
        height: 7rem;
        margin-bottom: 1.1rem;
    }

    /* The typed eyebrow is one unbreakable 44-char line — shrink it to fit */
    .hero-eyebrow[b-hknxeb7p0j] {
        font-size: 0.72rem;
    }

    .hero-name[b-hknxeb7p0j] {
        font-size: 1.9rem;
    }

    .hero-tagline[b-hknxeb7p0j] {
        font-size: 1.05rem !important;
    }

    .stats-row[b-hknxeb7p0j] {
        gap: 0.6rem;
        padding: 0 1rem;
    }

    .stat[b-hknxeb7p0j] {
        padding: 1.1rem 0.5rem 1rem;
    }

    .stat-value[b-hknxeb7p0j] {
        font-size: 1.6rem;
    }

    .stat-label[b-hknxeb7p0j] {
        font-size: 0.68rem;
    }
}

@media (max-width: 576px), (max-height: 640px) {
    .hero-scroll-hint[b-hknxeb7p0j] {
        display: none;
    }
}
/* /Features/Projects/ProjectDetail.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   NOT FOUND
   ═══════════════════════════════════════════════════════ */

.pd-not-found[b-4kbj773jhz] {
    animation: fade-up 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    min-height: calc(100vh - var(--navbar-h));
    margin-top: var(--navbar-h);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
}

.pd-not-found i[b-4kbj773jhz] {
    font-size: 3rem;
    color: var(--text-muted);
}

.pd-not-found h1[b-4kbj773jhz] {
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════════════
   SHELL
   ═══════════════════════════════════════════════════════ */

.pd-wrap[b-4kbj773jhz] {
    min-height: 100vh;
    margin-top: var(--navbar-h);
    padding: 3rem 1.5rem 4rem;
}

.pd-container[b-4kbj773jhz] {
    max-width: 44rem;
    margin: 0 auto;
}

.pd-back-link[b-4kbj773jhz] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--motion-base) ease;
}

.pd-back-link:hover[b-4kbj773jhz] {
    color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════════
   ARTICLE HEADER
   ═══════════════════════════════════════════════════════ */

.pd-article-header[b-4kbj773jhz] {
    margin: 1.75rem 0 2.5rem;
}

.pd-meta[b-4kbj773jhz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-bottom: 0.75rem;
}

.pd-meta-item[b-4kbj773jhz] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pd-title[b-4kbj773jhz] {
    font-size: 2rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.pd-tags[b-4kbj773jhz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.5rem;
}

.pd-tag[b-4kbj773jhz] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    border-radius: 0.35rem;
    padding: 0.25em 0.65em;
}

.pd-links[b-4kbj773jhz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* ═══════════════════════════════════════════════════════
   ARTICLE CONTENT (rendered Markdown)
   ═══════════════════════════════════════════════════════ */

.pd-content[b-4kbj773jhz] {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

.pd-content[b-4kbj773jhz]  h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 2rem 0 0.85rem;
}

.pd-content[b-4kbj773jhz]  h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.6rem;
}

.pd-content[b-4kbj773jhz]  p {
    margin: 0 0 1rem;
}

.pd-content[b-4kbj773jhz]  ul,
.pd-content[b-4kbj773jhz]  ol {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.pd-content[b-4kbj773jhz]  li {
    margin-bottom: 0.4rem;
}

.pd-content[b-4kbj773jhz]  strong {
    color: var(--text-primary);
    font-weight: 700;
}

.pd-content[b-4kbj773jhz]  code {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.85em;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    border-radius: 0.3rem;
    padding: 0.1em 0.4em;
    color: var(--brand-primary);
}

.pd-content[b-4kbj773jhz]  a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-decoration-color: rgba(79, 70, 229, 0.3);
    transition: text-decoration-color var(--motion-base) ease;
}

.pd-content[b-4kbj773jhz]  a:hover {
    text-decoration-color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════════
   FOOTER NAV
   ═══════════════════════════════════════════════════════ */

.pd-footer[b-4kbj773jhz] {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--card-border);
}

@media (max-width: 576px) {
    .pd-title[b-4kbj773jhz] { font-size: 1.6rem; }
}
/* /Shared/Components/Footer.razor.rz.scp.css */
/* ═══════════════════════════════════════════════════════
   SHELL
   ═══════════════════════════════════════════════════════ */

.site-footer[b-17jqm7okw8] {
    position: relative;
    background: var(--bg-mid);
    margin-top: 3rem;
    padding: 1.75rem 2rem 1.5rem;
    user-select: none;
}

/* Gradient hairline instead of a flat border */
.site-footer[b-17jqm7okw8]::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(var(--brand-primary-rgb), 0.4) 30%,
        rgba(var(--brand-secondary-rgb), 0.4) 70%,
        transparent);
}

.footer-inner[b-17jqm7okw8] {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* ═══════════════════════════════════════════════════════
   BRAND ROW
   ═══════════════════════════════════════════════════════ */

.footer-brand-row[b-17jqm7okw8] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
}

.footer-brand[b-17jqm7okw8] {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-copy[b-17jqm7okw8] {
    font-family: "Inter", sans-serif;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════
   DIVIDER
   ═══════════════════════════════════════════════════════ */

.footer-divider[b-17jqm7okw8] {
    height: 1px;
    background: var(--card-border);
}

/* ═══════════════════════════════════════════════════════
   LINKS ROW
   ═══════════════════════════════════════════════════════ */

.footer-links-row[b-17jqm7okw8] {
    display: flex;
    align-items: center;
    gap: 0.5rem 1.75rem;
    flex-wrap: wrap;
}

.footer-link[b-17jqm7okw8] {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--motion-base) ease;
    user-select: text;
}

.footer-link:hover[b-17jqm7okw8] {
    color: var(--brand-primary);
}

/* ═══════════════════════════════════════════════════════
   CREDIT ROW
   ═══════════════════════════════════════════════════════ */

.footer-credit-row[b-17jqm7okw8] {
    display: flex;
}

.footer-credit[b-17jqm7okw8] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .footer-brand-row[b-17jqm7okw8]  { flex-direction: column; align-items: flex-start; }
}
/* /Shared/Components/PageSection.razor.rz.scp.css */
.page-section[b-6w5tul7j7s] {
    padding: 4rem 0 2rem;
    scroll-margin-top: calc(var(--navbar-h) + 8px);
}

.page-header[b-6w5tul7j7s] {
    text-align: center;
    margin: 0 auto 1.5rem;
    width: 75%;
}

.page-header-title[b-6w5tul7j7s] {
    font-size: 1.6rem;
    letter-spacing: 0.02em;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Gradient accent bar under the section title */
.page-header-title[b-6w5tul7j7s]::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    margin: 0.65rem auto 0;
    border-radius: 999px;
    background: var(--brand-gradient);
}

.page-header-description[b-6w5tul7j7s] {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.page-section-content[b-6w5tul7j7s] {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .page-section[b-6w5tul7j7s] { padding: 2.5rem 0 1rem; }
    .page-header[b-6w5tul7j7s]  { width: 92%; }
    .page-header-title[b-6w5tul7j7s] { font-size: 1.3rem; }
}
/* /Shared/Components/ProjectCard.razor.rz.scp.css */
.pcard[b-rne8184qav] {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    box-shadow: var(--card-shadow);
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

/* Gradient border ring, revealed on hover (masked to the edge only) */
.pcard[b-rne8184qav]::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--brand-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--motion-base) ease;
    pointer-events: none;
}

.pcard:hover[b-rne8184qav] {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-0.3rem);
}

.pcard:hover[b-rne8184qav]::before { opacity: 1; }

.pcard-top[b-rne8184qav] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.pcard-badge[b-rne8184qav] {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(79, 70, 229, 0.1);
    color: var(--brand-primary);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 999px;
    padding: 0.2em 0.75em;
}

/* Periodic light sweep across the featured badge */
.pcard-badge[b-rne8184qav]::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    animation: pcard-shine-b-rne8184qav 4.2s ease-in-out 1.6s infinite;
}

@keyframes pcard-shine-b-rne8184qav {
    0%        { left: -150%; }
    55%, 100% { left: 150%; }
}

.pcard-period[b-rne8184qav] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-left: auto;
}

.pcard-title[b-rne8184qav] {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.pcard-title a[b-rne8184qav] {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--motion-base) ease;
}

.pcard-title a:hover[b-rne8184qav] {
    color: var(--brand-primary);
}

.pcard-role[b-rne8184qav] {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-secondary);
    margin-bottom: 0.75rem;
}

.pcard-excerpt[b-rne8184qav] {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.pcard-tags[b-rne8184qav] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.pcard-tag[b-rne8184qav] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.72rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    border-radius: 0.3rem;
    padding: 0.2em 0.6em;
}

.pcard-actions[b-rne8184qav] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--card-border);
}

.pcard-link[b-rne8184qav] {
    text-decoration: none;
    transition: color var(--motion-base) ease, background var(--motion-base) ease, border-color var(--motion-base) ease;
}

.pcard-link-primary[b-rne8184qav] {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-right: auto;
}

.pcard-link-primary:hover[b-rne8184qav] {
    color: var(--brand-secondary);
}

.pcard-link-primary i[b-rne8184qav] { transition: transform var(--motion-fast) ease; }
.pcard-link-primary:hover i[b-rne8184qav] { transform: translateX(4px); }

.pcard-link-icon[b-rne8184qav] {
    width: 2.1rem;
    height: 2.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.pcard-link-icon:hover[b-rne8184qav] {
    background: rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.3);
    color: var(--brand-primary);
}
/* /Shared/Components/Tile.razor.rz.scp.css */
.tile[b-dftd58iz7h] {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.25rem;
    box-shadow: var(--card-shadow);
    margin: 1.5rem;
    padding: 3.5rem 4.5rem;
    color: var(--text-primary);
    transition: transform var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

.tile:hover[b-dftd58iz7h] {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-0.2rem);
}

.tile-title[b-dftd58iz7h] {
    font-family: "Inter", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

/* Gradient header text */
.tile-header[b-dftd58iz7h] {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.tile-content[b-dftd58iz7h] {
    margin: 0 0.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.tile-content p[b-dftd58iz7h] { margin-bottom: 1rem; }
.tile-content p:last-child[b-dftd58iz7h] { margin-bottom: 0; }

@media (max-width: 768px) {
    .tile[b-dftd58iz7h] {
        padding: 2.5rem 2.5rem;
        margin: 0.75rem;
    }
}

@media (max-width: 560px) {
    .tile[b-dftd58iz7h] {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }
}
/* /Shared/Components/TimelineItem.razor.rz.scp.css */
.titem[b-ftjsi14xfu] {
    display: flex;
    gap: 1.25rem;
}

.titem-marker[b-ftjsi14xfu] {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 1rem;
}

.titem-dot[b-ftjsi14xfu] {
    position: relative;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: var(--brand-gradient);
    margin-top: 0.35rem;
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

/* Dot pops in once the item is revealed (guarded by html.js so it
   stays visible without JS) */
html.js .titem-dot[b-ftjsi14xfu] {
    scale: 0;
    transition: scale 0.6s var(--ease-bounce) 0.2s;
}

html.js .titem.revealed .titem-dot[b-ftjsi14xfu] { scale: 1; }

/* Ping ring on the highlighted (current) entry */
.dot-pulse[b-ftjsi14xfu]::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(79, 70, 229, 0.4);
    animation: titem-ping-b-ftjsi14xfu 2.4s cubic-bezier(0, 0, 0.2, 1) 1s infinite;
}

@keyframes titem-ping-b-ftjsi14xfu {
    0%        { transform: scale(0.65); opacity: 1; }
    70%, 100% { transform: scale(1.55); opacity: 0; }
}

.titem-line[b-ftjsi14xfu] {
    flex: 1;
    width: 2px;
    background: var(--card-border);
    margin-top: 0.35rem;
}

/* Line draws downwards after the dot appears */
html.js .titem-line[b-ftjsi14xfu] {
    scale: 1 0;
    transform-origin: top center;
    transition: scale 1.1s ease 0.35s;
}

html.js .titem.revealed .titem-line[b-ftjsi14xfu] { scale: 1 1; }

.titem-body[b-ftjsi14xfu] {
    flex: 1;
    padding-bottom: 2.25rem;
}

.titem-header[b-ftjsi14xfu] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.titem-role[b-ftjsi14xfu] {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.titem-org[b-ftjsi14xfu] {
    font-family: "Inter", sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--brand-secondary);
    margin: 0;
}

.titem-org-link[b-ftjsi14xfu] {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: color var(--motion-base) ease;
}

.titem-org-link:hover[b-ftjsi14xfu] {
    color: var(--brand-primary);
}

.titem-org-icon[b-ftjsi14xfu] {
    font-size: 0.7em;
    opacity: 0.7;
}

.titem-period[b-ftjsi14xfu] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    padding-top: 0.2rem;
}

.titem-highlights[b-ftjsi14xfu] {
    margin: 0.5rem 0 0.85rem;
    padding-left: 1.1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.titem-highlights li[b-ftjsi14xfu] {
    margin-bottom: 0.2rem;
}

.titem-tags[b-ftjsi14xfu] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.titem-tag[b-ftjsi14xfu] {
    font-family: "JetBrains Mono", monospace;
    font-size: 0.7rem;
    background: var(--bg-alt);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    border-radius: 0.3rem;
    padding: 0.2em 0.6em;
}

@media (max-width: 576px) {
    .titem-header[b-ftjsi14xfu] { flex-direction: column; gap: 0.15rem; }
}
/* /Shared/Components/TopNavBar.razor.rz.scp.css */
/* ── Fixed light navbar ────────────────────────────── */

.top-navbar[b-her9hurn0x] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-h);
    z-index: 9000;

    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border-bottom: 1px solid var(--card-border);

    display: flex;
    align-items: center;
    transition: background var(--motion-slow) ease, box-shadow var(--motion-slow) ease;
}

/* Added by site.js once the page scrolls */
.top-navbar.scrolled[b-her9hurn0x] {
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
}

.navbar-inner[b-her9hurn0x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 2rem;
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
}

/* ── Brand ─────────────────────────────────────────── */

.brand-btn[b-her9hurn0x] {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    line-height: 1;
    font-family: "Sora", sans-serif;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-size: 1.15rem;
    user-select: none;
}

.brand-name[b-her9hurn0x] {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-accent[b-her9hurn0x] {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
}

/* ── Nav links ─────────────────────────────────────── */

.nav-links[b-her9hurn0x] {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li[b-her9hurn0x] {
    position: relative;
    font-family: "Inter", sans-serif;
    font-size: 0.86rem;
    letter-spacing: 0.01em;
    color: var(--text-secondary);
    padding: 0.45rem 0.8rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: color var(--motion-base) ease;
    white-space: nowrap;
    user-select: none;
}

.nav-links li:hover[b-her9hurn0x] {
    color: var(--brand-primary);
}

/* Animated gradient underline */
.nav-links li:not(.lang-toggle)[b-her9hurn0x]::after {
    content: '';
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.18rem;
    height: 2px;
    border-radius: 999px;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--motion-base) var(--ease-out);
}

.nav-links li:not(.lang-toggle):hover[b-her9hurn0x]::after {
    transform: scaleX(1);
}

/* Language toggle */
.lang-toggle[b-her9hurn0x] {
    color: var(--brand-primary) !important;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.25) !important;
    margin-left: 0.5rem;
    font-size: 0.8rem !important;
    font-weight: 600;
    transition: background var(--motion-base) ease, border-color var(--motion-base) ease;
}

.lang-toggle:hover[b-her9hurn0x] {
    background: rgba(var(--brand-primary-rgb), 0.1) !important;
    border-color: rgba(var(--brand-primary-rgb), 0.5) !important;
}

/* ── Mobile: hide nav links, keep brand + lang toggle ── */

@media (max-width: 768px) {
    .navbar-inner[b-her9hurn0x] {
        padding: 0 1.25rem;
    }

    .nav-links li:not(.lang-toggle)[b-her9hurn0x] {
        display: none;
    }

    .lang-toggle[b-her9hurn0x] {
        margin-left: 0 !important;
    }
}
/* /Shared/Layouts/MainLayout.razor.rz.scp.css */
/* ── Scroll progress bar (width driven by site.js) ── */

#scroll-progress[b-j7o0g4rmqm] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 9500;
    background: var(--brand-gradient);
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

/* ── Back-to-top button (visibility driven by site.js) ── */

#back-to-top[b-j7o0g4rmqm] {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 8500;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(var(--brand-primary-rgb), 0.35);
    opacity: 0;
    translate: 0 12px;
    pointer-events: none;
    transition: opacity var(--motion-slow) ease, translate var(--motion-slow) ease,
                scale var(--motion-base) ease, box-shadow var(--motion-base) ease;
}

#back-to-top.visible[b-j7o0g4rmqm] {
    opacity: 1;
    translate: 0 0;
    pointer-events: auto;
}

#back-to-top:hover[b-j7o0g4rmqm] {
    scale: 1.08;
    box-shadow: 0 10px 26px rgba(var(--brand-primary-rgb), 0.45);
}

#back-to-top:focus-visible[b-j7o0g4rmqm] {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

/* ── Blazor error banner ── */

#blazor-error-ui[b-j7o0g4rmqm] {
    color-scheme: light only;
    background: #fff8dc;
    border-top: 1px solid #f0d878;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-family: "Inter", sans-serif;
    color: #713f12;
}

    #blazor-error-ui .dismiss[b-j7o0g4rmqm] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

    #blazor-error-ui .reload[b-j7o0g4rmqm] {
        color: var(--brand-primary);
        font-weight: 600;
    }
/* /Shared/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-swklsmquez],
.components-reconnect-repeated-attempt-visible[b-swklsmquez],
.components-reconnect-failed-visible[b-swklsmquez],
.components-pause-visible[b-swklsmquez],
.components-resume-failed-visible[b-swklsmquez],
.components-rejoining-animation[b-swklsmquez] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-swklsmquez],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-swklsmquez],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-swklsmquez],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-swklsmquez],
#components-reconnect-modal.components-reconnect-retrying[b-swklsmquez],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-swklsmquez],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-swklsmquez],
#components-reconnect-modal.components-reconnect-failed[b-swklsmquez],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-swklsmquez] {
    display: block;
}


#components-reconnect-modal[b-swklsmquez] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.75rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-swklsmquez 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-swklsmquez 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-swklsmquez 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-swklsmquez]::backdrop {
    background-color: rgba(15, 23, 42, 0.35);
    animation: components-reconnect-modal-fadeInOpacity-b-swklsmquez 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-swklsmquez {
    0% {
        transform: translateY(30px) scale(0.95);
    }

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

@keyframes components-reconnect-modal-fadeInOpacity-b-swklsmquez {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-swklsmquez {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-swklsmquez] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-swklsmquez] {
    margin: 0;
    text-align: center;
    color: #0f172a;
    font-family: "Inter", sans-serif;
}

#components-reconnect-modal button[b-swklsmquez] {
    border: 0;
    background-color: #4F46E5;
    color: white;
    padding: 4px 24px;
    border-radius: 6px;
    font-family: "Inter", sans-serif;
}

    #components-reconnect-modal button:hover[b-swklsmquez] {
        background-color: #4338ca;
    }

    #components-reconnect-modal button:active[b-swklsmquez] {
        background-color: #4F46E5;
    }

.components-rejoining-animation[b-swklsmquez] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-swklsmquez] {
        position: absolute;
        border: 3px solid #4F46E5;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-swklsmquez 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-swklsmquez] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-swklsmquez {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
