/* /Components/Sections/ArchitecturePrinciplesSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.arch-section[b-7mb27ji12n] {
    background: var(--surface);
    padding: var(--section-space) 2rem;
}

.arch-inner[b-7mb27ji12n] {
    max-width: 1300px;
    margin: 0 auto;
}

/* ── Tab bar ──────────────────────────────────────────────────────── */
.arch-tabs[b-7mb27ji12n] {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0;
}

.arch-tab[b-7mb27ji12n] {
    appearance: none;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.6rem 1.25rem;
    margin-bottom: -1px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.arch-tab:hover[b-7mb27ji12n] {
    color: var(--text);
}

.arch-tab.active[b-7mb27ji12n] {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.arch-tab:focus-visible[b-7mb27ji12n] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── Architecture card grid ───────────────────────────────────────── */
.arch-grid[b-7mb27ji12n] {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: start;
}

/* ── Individual architecture card ─────────────────────────────────── */
.arch-card[b-7mb27ji12n] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.arch-card:hover[b-7mb27ji12n] {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.arch-card:active[b-7mb27ji12n] {
    transform: scale(0.98);
    box-shadow: none;
}

.arch-card.is-open[b-7mb27ji12n] {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
}

.arch-card:focus-visible[b-7mb27ji12n] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── Card header: icon + title + chevron ──────────────────────────── */
.arch-card-header[b-7mb27ji12n] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.arch-icon[b-7mb27ji12n] {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.arch-title[b-7mb27ji12n] {
    flex: 1;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}

/* ── Chevron ──────────────────────────────────────────────────────── */
.arch-chevron[b-7mb27ji12n] {
    color: var(--muted);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.arch-chevron.is-open[b-7mb27ji12n] {
    transform: rotate(180deg);
}

/* ── Description slide-in ─────────────────────────────────────────── */
.arch-desc-wrap[b-7mb27ji12n] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.arch-desc-wrap.is-visible[b-7mb27ji12n] {
    grid-template-rows: 1fr;
}

.arch-desc-inner[b-7mb27ji12n] {
    overflow: hidden;
    min-height: 0;
    padding-top: 0;
    transition: padding-top 0.25s ease;
}

.arch-desc-wrap.is-visible .arch-desc-inner[b-7mb27ji12n] {
    padding-top: 0.9rem;
}

/* ── Description ──────────────────────────────────────────────────── */
.arch-desc[b-7mb27ji12n] {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

/* ── Skills card grid (tab panel) ─────────────────────────────────── */
.cap-grid[b-7mb27ji12n] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.cap-card[b-7mb27ji12n] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cap-card:hover[b-7mb27ji12n] {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cap-card:active[b-7mb27ji12n] {
    transform: scale(0.98);
    box-shadow: none;
}

.cap-card.is-open[b-7mb27ji12n] {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.08);
}

.cap-card:focus-visible[b-7mb27ji12n] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── Card header: text block + chevron ────────────────────────────── */
.cap-card-header[b-7mb27ji12n] {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cap-header-text[b-7mb27ji12n] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.cap-title[b-7mb27ji12n] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}

.cap-desc[b-7mb27ji12n] {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* ── Chevron ──────────────────────────────────────────────────────── */
.cap-chevron[b-7mb27ji12n] {
    color: var(--muted);
    flex-shrink: 0;
    margin-top: 0.15rem;
    transition: transform 0.25s ease;
}

.cap-chevron.is-open[b-7mb27ji12n] {
    transform: rotate(180deg);
}

/* ── Tag cloud slide-in ───────────────────────────────────────────── */
.cap-tags-wrap[b-7mb27ji12n] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.cap-tags-wrap.is-visible[b-7mb27ji12n] {
    grid-template-rows: 1fr;
}

.cap-tags-inner[b-7mb27ji12n] {
    overflow: hidden;
    min-height: 0;
    padding-top: 0;
    transition: padding-top 0.25s ease;
}

.cap-tags-wrap.is-visible .cap-tags-inner[b-7mb27ji12n] {
    padding-top: 1rem;
}

.cap-tags[b-7mb27ji12n] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: flex-start;
    align-content: flex-start;
}

/* ── Skills toolbar: counter + expand-all button ──────────────────────── */
.cap-toolbar[b-7mb27ji12n] {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.cap-open-count[b-7mb27ji12n] {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.cap-toggle-all[b-7mb27ji12n] {
    appearance: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.32rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cap-toggle-all:hover[b-7mb27ji12n] {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.cap-toggle-all:focus-visible[b-7mb27ji12n] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .arch-grid[b-7mb27ji12n] {
        grid-template-columns: repeat(2, 1fr);
    }

    .cap-grid[b-7mb27ji12n] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .arch-tabs[b-7mb27ji12n] {
        gap: 0;
    }

    .arch-tab[b-7mb27ji12n] {
        padding: 0.55rem 0.9rem;
        font-size: 0.82rem;
    }

    .cap-grid[b-7mb27ji12n] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .arch-section[b-7mb27ji12n] {
        padding: 4rem 1.25rem;
    }

    .arch-grid[b-7mb27ji12n] {
        grid-template-columns: 1fr;
    }

    .cap-grid[b-7mb27ji12n] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Sections/CapabilitiesSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.cap-section[b-5ndnznl6qx] {
    background: var(--bg);
    padding: var(--section-space) 2rem;
}

.cap-inner[b-5ndnznl6qx] {
    max-width: 1300px;
    margin: 0 auto;
}

/* ── Card grid ────────────────────────────────────────────────────── */
.cap-grid[b-5ndnznl6qx] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* ── Individual card ──────────────────────────────────────────────── */
.cap-card[b-5ndnznl6qx] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.cap-card:hover[b-5ndnznl6qx] {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── Card header ──────────────────────────────────────────────────── */
.cap-card-header[b-5ndnznl6qx] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.cap-title[b-5ndnznl6qx] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin: 0;
}

.cap-desc[b-5ndnznl6qx] {
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

/* ── Tag cloud ────────────────────────────────────────────────────── */
.cap-tags[b-5ndnznl6qx] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: flex-start;
    align-content: flex-start;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .cap-grid[b-5ndnznl6qx] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Add this tablet step */
@media (max-width: 768px) {
    .cap-grid[b-5ndnznl6qx] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .cap-section[b-5ndnznl6qx] {
        padding: 4rem 1.25rem;
    }

    .cap-grid[b-5ndnznl6qx] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Sections/CaseStudiesSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.cs-section[b-1ad3nyj4o6] {
    background: var(--surface);
    padding: var(--section-space) 2rem;
}

.cs-inner[b-1ad3nyj4o6] {
    max-width: 900px;
    margin: 0 auto;
}

/* ── Filter buttons ───────────────────────────────────────────────── */
.cs-filters[b-1ad3nyj4o6] {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.cs-filter-btn[b-1ad3nyj4o6] {
    padding: 0.4rem 1rem;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.cs-filter-btn:hover[b-1ad3nyj4o6] {
    color: var(--text);
    border-color: var(--text);
}

.cs-filter-btn.active[b-1ad3nyj4o6] {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.cs-filter-btn:focus-visible[b-1ad3nyj4o6] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── Stacked case study list ──────────────────────────────────────── */
.cs-list[b-1ad3nyj4o6] {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .cs-section[b-1ad3nyj4o6] {
        padding: 4rem 1.25rem;
    }
}
/* /Components/Sections/ContactSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.ct-section[b-5lkch539ky] {
    background: var(--surface);
    padding: var(--section-space) 2rem;
}

.ct-inner[b-5lkch539ky] {
    max-width: 900px;
    margin: 0 auto;
}

/* ── Contact link cards ───────────────────────────────────────────── */
.ct-links[b-5lkch539ky] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.ct-card[b-5lkch539ky] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ct-card:hover[b-5lkch539ky] {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── Icon ─────────────────────────────────────────────────────────── */
.ct-icon[b-5lkch539ky] {
    font-size: 1.85rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Card text ────────────────────────────────────────────────────── */
.ct-card-body[b-5lkch539ky] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ct-label[b-5lkch539ky] {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.ct-value[b-5lkch539ky] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    word-break: break-all;
    line-height: 1.4;
}

/* ── Resume CTA ───────────────────────────────────────────────────── */
.ct-actions[b-5lkch539ky] {
    display: flex;
    justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer[b-5lkch539ky] {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    text-align: center;
}

.footer-text[b-5lkch539ky] {
    font-size: 0.8rem;
    color: var(--muted);
    margin: 0;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .ct-links[b-5lkch539ky] {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ct-section[b-5lkch539ky] {
        padding: 4rem 1.25rem;
    }

    .ct-links[b-5lkch539ky] {
        grid-template-columns: repeat(2, 1fr);
    }

    .ct-value[b-5lkch539ky] {
        font-size: 0.75rem;
    }
}

@media (max-width: 400px) {
    .ct-links[b-5lkch539ky] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Sections/ExperienceTimelineSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.exp-section[b-nkjii2oxoz] {
    background: var(--surface);
    padding: var(--section-space) 2rem;
}

.exp-inner[b-nkjii2oxoz] {
    max-width: 900px;
    margin: 0 auto;
}

/* ── Timeline track ───────────────────────────────────────────────── */
.exp-timeline[b-nkjii2oxoz] {
    position: relative;
    margin-bottom: 4rem;
}

.exp-timeline[b-nkjii2oxoz]::before {
    content: '';
    position: absolute;
    top: 0.4rem;
    left: 4px;
    width: 2px;
    height: calc(100% - 1.5rem);
    background: linear-gradient(to bottom, var(--primary), var(--border));
}

/* ── Timeline entry ───────────────────────────────────────────────── */
.exp-entry[b-nkjii2oxoz] {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
}

.exp-entry:last-child[b-nkjii2oxoz] {
    margin-bottom: 0;
}

/* ── Dot on the timeline line ─────────────────────────────────────── */
.exp-dot[b-nkjii2oxoz] {
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--surface);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ── Experience card ──────────────────────────────────────────────── */
.exp-card[b-nkjii2oxoz] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem 2rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.exp-card:hover[b-nkjii2oxoz] {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* ── Card header ──────────────────────────────────────────────────── */
.exp-card-header[b-nkjii2oxoz] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.9rem;
}

.exp-role-info[b-nkjii2oxoz] {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.exp-role[b-nkjii2oxoz] {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.exp-meta[b-nkjii2oxoz] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    font-size: 0.85rem;
}

.exp-company[b-nkjii2oxoz] {
    color: var(--primary);
    font-weight: 600;
}

.exp-separator[b-nkjii2oxoz] {
    color: var(--border);
}

.exp-client[b-nkjii2oxoz] {
    color: var(--muted);
    font-style: italic;
}

.exp-duration[b-nkjii2oxoz] {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.22rem 0.65rem;
    white-space: nowrap;
    align-self: flex-start;
    flex-shrink: 0;
}

/* ── Summary ──────────────────────────────────────────────────────── */
.exp-summary[b-nkjii2oxoz] {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.72;
    margin: 0 0 1rem;
}

/* ── Accomplishment bullets ───────────────────────────────────────── */
.exp-accomplishments[b-nkjii2oxoz] {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.exp-accomplishments li[b-nkjii2oxoz] {
    position: relative;
    font-size: 0.875rem;
    color: var(--text);
    opacity: 0.88;
    line-height: 1.65;
    padding-left: 1.1rem;
}

.exp-accomplishments li[b-nkjii2oxoz]::before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--primary);
    font-size: 0.65rem;
    line-height: 1;
}

/* ── Tech tags ────────────────────────────────────────────────────── */
.exp-tech[b-nkjii2oxoz] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* ── Education divider ────────────────────────────────────────────── */
.edu-divider[b-nkjii2oxoz] {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.edu-divider[b-nkjii2oxoz]::before,
.edu-divider[b-nkjii2oxoz]::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.edu-divider-label[b-nkjii2oxoz] {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    white-space: nowrap;
}

/* ── Education grid ───────────────────────────────────────────────── */
.edu-grid[b-nkjii2oxoz] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.edu-card[b-nkjii2oxoz] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: border-color 0.2s ease;
}

.edu-card:hover[b-nkjii2oxoz] {
    border-color: var(--primary);
}

.edu-icon[b-nkjii2oxoz] {
    font-size: 1.6rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.edu-content[b-nkjii2oxoz] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.edu-degree[b-nkjii2oxoz] {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.35;
}

.edu-institution[b-nkjii2oxoz] {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 500;
    margin: 0;
}

.edu-duration[b-nkjii2oxoz] {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    color: var(--muted);
    margin: 0;
}

.edu-research[b-nkjii2oxoz] {
    font-size: 0.8rem;
    color: var(--muted);
    font-style: italic;
    margin: 0.3rem 0 0;
    line-height: 1.55;
}

/* ── Collapsible toggle button ────────────────────────────────────── */
.exp-toggle[b-nkjii2oxoz] {
    appearance: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    color: inherit;
    font: inherit;
}

.exp-toggle:focus-visible[b-nkjii2oxoz] {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

/* ── Right-side group: duration badge + chevron ───────────────────── */
.exp-toggle-right[b-nkjii2oxoz] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
    align-self: flex-start;
}

/* ── Chevron icon ─────────────────────────────────────────────────── */
.exp-chevron[b-nkjii2oxoz] {
    color: var(--muted);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.exp-chevron.is-open[b-nkjii2oxoz] {
    transform: rotate(180deg);
}

/* ── Remove header bottom-margin when card is collapsed ───────────── */
.exp-card:not(.is-expanded) .exp-card-header[b-nkjii2oxoz] {
    margin-bottom: 0;
}

/* ── Smooth height animation for details panel ────────────────────── */
.exp-details[b-nkjii2oxoz] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.exp-details.is-visible[b-nkjii2oxoz] {
    grid-template-rows: 1fr;
}

.exp-details-inner[b-nkjii2oxoz] {
    overflow: hidden;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .exp-card-header[b-nkjii2oxoz] {
        flex-direction: column;
        gap: 0.5rem;
    }

    .edu-grid[b-nkjii2oxoz] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .exp-section[b-nkjii2oxoz] {
        padding: 4rem 1.25rem;
    }

    .exp-card[b-nkjii2oxoz] {
        padding: 1.25rem 1.5rem;
    }

    .edu-card[b-nkjii2oxoz] {
        padding: 1.25rem;
    }
}
/* /Components/Sections/GithubSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.gh-section[b-6f7oh5i67p] {
    background: var(--bg);
    padding: var(--section-space) 2rem;
}

.gh-inner[b-6f7oh5i67p] {
    max-width: 900px;
    margin: 0 auto;
}

/* ── Content stack ────────────────────────────────────────────────── */
.gh-content[b-6f7oh5i67p] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* ── Profile card ─────────────────────────────────────────────────── */
.gh-profile-card[b-6f7oh5i67p] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 2.5rem;
    width: 100%;
    max-width: 680px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: border-color 0.2s ease;
}

.gh-profile-card:hover[b-6f7oh5i67p] {
    border-color: var(--primary);
}

/* ── Card header: avatar + identity ──────────────────────────────── */
.gh-card-header[b-6f7oh5i67p] {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.gh-avatar[b-6f7oh5i67p] {
    font-size: 2.75rem;
    line-height: 1;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.gh-name[b-6f7oh5i67p] {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 0.25rem;
}

.gh-handle[b-6f7oh5i67p] {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--primary);
    margin: 0;
}

/* ── Note text ────────────────────────────────────────────────────── */
.gh-note[b-6f7oh5i67p] {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    padding-top: 0.25rem;
    border-top: 1px solid var(--border);
}

/* ── Stats row ────────────────────────────────────────────────────── */
.gh-stats-row[b-6f7oh5i67p] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.gh-stat-item[b-6f7oh5i67p] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.gh-stat-value[b-6f7oh5i67p] {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
}

.gh-stat-label[b-6f7oh5i67p] {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Language badge row ───────────────────────────────────────────── */
.gh-lang-row[b-6f7oh5i67p] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.25rem;
    border-top: 1px solid var(--border);
}

.gh-lang-badge[b-6f7oh5i67p] {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
}

/* ── GitHub stats image cards ─────────────────────────────────────── */
.gh-stats-images[b-6f7oh5i67p] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    width: 100%;
    max-width: 680px;
}

.gh-stat-img-card[b-6f7oh5i67p] {
    background: #141321; /* matches github-readme-stats "radical" theme bg */
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
    line-height: 0; /* removes inline-block gap below <img> */
}

.gh-stat-img-card:hover[b-6f7oh5i67p] {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.gh-stat-img-card img[b-6f7oh5i67p] {
    display: block;
    width: 100%;
    height: auto;
}

/* ── CTA button row ───────────────────────────────────────────────── */
.gh-cta[b-6f7oh5i67p] {
    display: flex;
    justify-content: center;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .gh-section[b-6f7oh5i67p] {
        padding: 4rem 1.25rem;
    }

    .gh-profile-card[b-6f7oh5i67p] {
        padding: 1.5rem;
    }

    .gh-stats-row[b-6f7oh5i67p] {
        grid-template-columns: repeat(2, 1fr);
    }

    .gh-stats-images[b-6f7oh5i67p] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Sections/HeroSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.hero[b-mvvps30v5g] {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    padding: 5rem 2rem 4rem;
    background-color: var(--bg);
    background-image: var(--hero-bg-image, none);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Subtle ambient glow — not a noisy background */
.hero[b-mvvps30v5g]::before {
    content: '';
    position: absolute;
    top: -5%;
    left: -15%;
    width: 55%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

/* ── Two-column grid ──────────────────────────────────────────────── */
.hero-inner[b-mvvps30v5g] {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
}

/* ── Left column ──────────────────────────────────────────────────── */
.hero-eyebrow[b-mvvps30v5g] {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 1rem;
}

.hero-name[b-mvvps30v5g] {
    font-size: clamp(2.6rem, 4.5vw, 3.75rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 0.6rem;
}

.hero-role[b-mvvps30v5g] {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 1.75rem;
    letter-spacing: 0.01em;
    /* Reserve one line of height so the layout doesn't reflow
       while hero-role-typed is empty during the stagger delay  */
    min-height: 1.6rem;
}

.hero-statement[b-mvvps30v5g] {
    font-size: 1.08rem;
    color: var(--text);
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 2.25rem;
    /* opacity: 0.88 removed — hero-enter animation owns final opacity */
}

.hero-chips[b-mvvps30v5g] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2.25rem;
}

.hero-actions[b-mvvps30v5g] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* ── Right column: photo + stack panel ───────────────────────────── */
.hero-right[b-mvvps30v5g] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

/* ── Profile photo ────────────────────────────────────────────────── */
.hero-photo-wrapper[b-mvvps30v5g] {
    position: relative;
    width: 160px;
    height: 160px;
    flex-shrink: 0;
}

.hero-photo[b-mvvps30v5g] {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid var(--primary);
    box-shadow:
        0 0 0 6px rgba(59, 130, 246, 0.1),
        0 12px 40px rgba(0, 0, 0, 0.55);
    display: block;
    position: relative;
    z-index: 1;
}

/* Subtle pulsing outer ring */
.hero-photo-ring[b-mvvps30v5g] {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1.5px solid rgba(59, 130, 246, 0.3);
    animation: photo-ring-pulse-b-mvvps30v5g 3.5s ease-in-out infinite;
    pointer-events: none;
}

/* Ambient glow behind the photo */
.hero-photo-glow[b-mvvps30v5g] {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

@keyframes photo-ring-pulse-b-mvvps30v5g {
    0%,  100% { transform: scale(1);    opacity: 0.35; }
    50%        { transform: scale(1.06); opacity: 0.75; }
}

/* ── Stack panel ──────────────────────────────────────────────────── */
.stack-panel[b-mvvps30v5g] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 420px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.38);
    overflow: hidden;
}

/* macOS-style window chrome — clean editor reference, not a fake terminal */
.stack-panel-header[b-mvvps30v5g] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.65rem 1rem;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border);
}

.dot[b-mvvps30v5g] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-red[b-mvvps30v5g]    { background: #ff5f57; }
.dot-yellow[b-mvvps30v5g] { background: #febc2e; }
.dot-green[b-mvvps30v5g]  { background: #28c840; }

.panel-label[b-mvvps30v5g] {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    margin-left: 0.4rem;
    letter-spacing: 0.03em;
}

.stack-panel-body[b-mvvps30v5g] {
    padding: 1.1rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stack-group-label[b-mvvps30v5g] {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.45rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.stack-tags[b-mvvps30v5g] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .hero-inner[b-mvvps30v5g] {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero[b-mvvps30v5g] {
        padding: 4rem 2rem 3rem;
    }

    .hero-statement[b-mvvps30v5g] {
        max-width: 100%;
    }

    .hero-chips[b-mvvps30v5g],
    .hero-actions[b-mvvps30v5g] {
        justify-content: center;
    }

    .hero-right[b-mvvps30v5g] {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
    }

    .stack-panel[b-mvvps30v5g] {
        max-width: 560px;
    }
}

@media (max-width: 768px) {
    .hero-inner[b-mvvps30v5g] {
        gap: 2rem;
    }

    .hero-right[b-mvvps30v5g] {
        gap: 1.25rem;
    }

    .stack-panel[b-mvvps30v5g] {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .hero[b-mvvps30v5g] {
        padding: 3rem 1.25rem 2.5rem;
    }

    .hero-name[b-mvvps30v5g] {
        font-size: 2.2rem;
    }

    .hero-right[b-mvvps30v5g] {
        flex-direction: column;
        align-items: center;
    }

    .stack-panel[b-mvvps30v5g] {
        max-width: 100%;
    }
}

/* ════════════════════════════════════════════════════════════════════
   HERO ENTRANCE ANIMATIONS
   ════════════════════════════════════════════════════════════════════ */

/* ── Bypass global section fade — children animate individually ───── */
/* Scoped specificity (.hero[b-xxxx]) beats global (section) safely   */
.hero[b-mvvps30v5g] {
    opacity: 1;
    transform: none;
}

.hero.fade-in[b-mvvps30v5g] {
    animation: none;
}

/* ── Keyframes ────────────────────────────────────────────────────── */
@keyframes hero-enter-b-mvvps30v5g {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Right column slides in laterally on wide two-column layout */
@keyframes hero-enter-right-b-mvvps30v5g {
    from {
        opacity: 0;
        transform: translate(20px, 8px);
    }
    to {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/* ── Left column: staggered slide-up ─────────────────────────────── */
.hero-eyebrow[b-mvvps30v5g] {
    animation: hero-enter-b-mvvps30v5g 0.50s cubic-bezier(0.22, 1, 0.36, 1) 0.00s both;
}

.hero-name[b-mvvps30v5g] {
    animation: hero-enter-b-mvvps30v5g 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.10s both;
}

.hero-role[b-mvvps30v5g] {
    animation: hero-enter-b-mvvps30v5g 0.50s cubic-bezier(0.22, 1, 0.36, 1) 0.20s both;
}

.hero-statement[b-mvvps30v5g] {
    animation: hero-enter-b-mvvps30v5g 0.50s cubic-bezier(0.22, 1, 0.36, 1) 0.30s both;
}

.hero-chips[b-mvvps30v5g] {
    animation: hero-enter-b-mvvps30v5g 0.50s cubic-bezier(0.22, 1, 0.36, 1) 0.42s both;
}

.hero-actions[b-mvvps30v5g] {
    animation: hero-enter-b-mvvps30v5g 0.50s cubic-bezier(0.22, 1, 0.36, 1) 0.52s both;
}

/* ── Right column: slide from right (desktop two-column) ──────────── */
.hero-photo-wrapper[b-mvvps30v5g] {
    animation: hero-enter-right-b-mvvps30v5g 0.60s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

.stack-panel[b-mvvps30v5g] {
    animation: hero-enter-right-b-mvvps30v5g 0.60s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

/* ── Mobile: single-column — right items slide up instead ─────────── */
@media (max-width: 1100px) {
    .hero-photo-wrapper[b-mvvps30v5g] {
        animation: hero-enter-b-mvvps30v5g 0.60s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
    }

    .stack-panel[b-mvvps30v5g] {
        animation: hero-enter-b-mvvps30v5g 0.60s cubic-bezier(0.22, 1, 0.36, 1) 0.22s both;
    }
}

/* ── Accessibility: respect reduced-motion preference ─────────────── */
@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow[b-mvvps30v5g],
    .hero-name[b-mvvps30v5g],
    .hero-role[b-mvvps30v5g],
    .hero-statement[b-mvvps30v5g],
    .hero-chips[b-mvvps30v5g],
    .hero-actions[b-mvvps30v5g],
    .hero-photo-wrapper[b-mvvps30v5g],
    .stack-panel[b-mvvps30v5g] {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ════════════════════════════════════════════════════════════════════
   TYPEWRITER CURSOR
   ════════════════════════════════════════════════════════════════════ */

/* Thin primary-coloured bar that blinks while text is being typed    */
.hero-role-cursor[b-mvvps30v5g] {
    display: inline-block;
    width: 1.5px;
    height: 0.85em;
    background: var(--primary);
    margin-left: 1px;
    vertical-align: middle;
    animation: cursor-blink-b-mvvps30v5g 0.7s step-end infinite;
}

/* JS adds .typer-done when typing finishes — cursor fades out gently */
.hero-role-cursor.typer-done[b-mvvps30v5g] {
    animation: cursor-fade-out-b-mvvps30v5g 0.5s ease forwards;
}

@keyframes cursor-blink-b-mvvps30v5g {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

@keyframes cursor-fade-out-b-mvvps30v5g {
    to { opacity: 0; }
}

/* Hide cursor entirely for reduced-motion users (text shown in full) */
@media (prefers-reduced-motion: reduce) {
    .hero-role-cursor[b-mvvps30v5g] {
        display: none;
    }
}
/* /Components/Sections/MediumArticlesSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.med-section[b-ep3vt3sghh] {
    background: var(--surface);
    padding: var(--section-space) 2rem;
}

.med-inner[b-ep3vt3sghh] {
    max-width: var(--container);
    margin: 0 auto;
}

/* ── Carousel wrapper ─────────────────────────────────────────────── */
.med-carousel-wrapper[b-ep3vt3sghh] {
    position: relative;
    margin-bottom: 1.5rem;
}

/* ── Track ────────────────────────────────────────────────────────── */
.med-track[b-ep3vt3sghh] {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;        /* default: grid-like for < 3 articles */
}

/* Slider mode — enabled by Blazor when articles >= 3 */
.med-track.is-slider[b-ep3vt3sghh] {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;    /* prevent card hover box-shadow clip at bottom */
}

.med-track.is-slider[b-ep3vt3sghh]::-webkit-scrollbar {
    display: none;
}

/* Desktop: 3 cards visible at once */
.med-track.is-slider .med-card[b-ep3vt3sghh] {
    flex: 0 0 calc((100% - 2 * 1.75rem) / 3);
    scroll-snap-align: start;
}

/* Non-slider: cards fill the row like auto-fill minmax grid */
.med-track:not(.is-slider) .med-card[b-ep3vt3sghh] {
    flex: 1 1 280px;
}

/* ── Article card ─────────────────────────────────────────────────── */
.med-card[b-ep3vt3sghh] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.med-card:hover[b-ep3vt3sghh] {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--shadow);
}

/* ── Thumbnail ────────────────────────────────────────────────────── */
.med-thumb[b-ep3vt3sghh] {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.med-thumb-placeholder[b-ep3vt3sghh] {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--surface-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--muted);
}

/* ── Card body ────────────────────────────────────────────────────── */
.med-body[b-ep3vt3sghh] {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.75rem;
}

/* ── Date ─────────────────────────────────────────────────────────── */
.med-date[b-ep3vt3sghh] {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
}

/* ── Title ────────────────────────────────────────────────────────── */
.med-title[b-ep3vt3sghh] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.45;
}

/* ── Description ──────────────────────────────────────────────────── */
.med-desc[b-ep3vt3sghh] {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* ── Read more link ───────────────────────────────────────────────── */
.med-read-more[b-ep3vt3sghh] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.15s ease;
}

.med-read-more:hover[b-ep3vt3sghh] {
    gap: 0.55rem;
}

/* ── Controls row (arrows + progress bar) ────────────────────────── */
.med-controls[b-ep3vt3sghh] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.75rem;
}

/* ── Arrow buttons ────────────────────────────────────────────────── */
.med-nav-btn[b-ep3vt3sghh] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--text);
    cursor: pointer;
    padding: 0;
    transition:
        border-color 0.2s ease,
        background   0.2s ease,
        color        0.2s ease,
        transform    0.15s ease;
}

.med-nav-btn:hover:not(:disabled)[b-ep3vt3sghh] {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
    transform: scale(1.08);
}

.med-nav-btn:disabled[b-ep3vt3sghh] {
    opacity: 0.3;
    cursor: not-allowed;
}

.med-nav-btn:focus-visible[b-ep3vt3sghh] {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* ── Progress bar ─────────────────────────────────────────────────── */
.med-progress[b-ep3vt3sghh] {
    flex: 1;
    max-width: 300px;
    height: 3px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
}

.med-progress-fill[b-ep3vt3sghh] {
    height: 100%;
    background: var(--primary);
    border-radius: 99px;
    min-width: 6%;          /* shows a sliver at position 0 */
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Status message ───────────────────────────────────────────────── */
.med-status[b-ep3vt3sghh] {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

/* ── CTA row ──────────────────────────────────────────────────────── */
.med-cta[b-ep3vt3sghh] {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

/* ── Responsive: tablet (641 – 900 px) → 2 cards visible ─────────── */
@media (max-width: 900px) {
    .med-track.is-slider .med-card[b-ep3vt3sghh] {
        flex: 0 0 calc((100% - 1.75rem) / 2);
    }
}

/* ── Responsive: mobile (≤ 640 px) → always a swipe slider ──────── */
@media (max-width: 640px) {
    .med-section[b-ep3vt3sghh] {
        padding: 4rem 1.25rem;
    }

    /* Force every track into scroll-snap mode on mobile,
       even the non-slider (< 3 article) case */
    .med-track[b-ep3vt3sghh],
    .med-track.is-slider[b-ep3vt3sghh] {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1rem;
    }

    .med-track[b-ep3vt3sghh]::-webkit-scrollbar,
    .med-track.is-slider[b-ep3vt3sghh]::-webkit-scrollbar {
        display: none;
    }

    /* 1 card + peek of next — overrides both slider and non-slider widths */
    .med-track .med-card[b-ep3vt3sghh],
    .med-track.is-slider .med-card[b-ep3vt3sghh] {
        flex: 0 0 83%;
        scroll-snap-align: start;
    }

    .med-progress[b-ep3vt3sghh] {
        max-width: 160px;
    }
}

/* ── Reduced motion ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .med-track[b-ep3vt3sghh],
    .med-track.is-slider[b-ep3vt3sghh] {
        scroll-behavior: auto;
    }
}
/* /Components/Sections/SelectedImpactSection.razor.rz.scp.css */
/* ── Section wrapper ──────────────────────────────────────────────── */
.impact-section[b-xpyjma0i7y] {
    background: var(--surface);
    padding: var(--section-space) 2rem;
}

.impact-inner[b-xpyjma0i7y] {
    max-width: 1300px;
    margin: 0 auto;
}

/* ── Card grid ────────────────────────────────────────────────────── */
.impact-grid[b-xpyjma0i7y] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

/* ── Individual card ──────────────────────────────────────────────── */
.impact-card[b-xpyjma0i7y] {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.impact-card:hover[b-xpyjma0i7y] {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── Card top row: icon + metric side by side ─────────────────────── */
.impact-card-top[b-xpyjma0i7y] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.impact-icon[b-xpyjma0i7y] {
    font-size: 1.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Metric badge — only shown when backed by real data */
.impact-metric[b-xpyjma0i7y] {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-sm);
    padding: 0.2rem 0.55rem;
    white-space: nowrap;
    align-self: flex-start;
}

/* ── Card text ────────────────────────────────────────────────────── */
.impact-title[b-xpyjma0i7y] {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.impact-desc[b-xpyjma0i7y] {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.7;
    flex: 1;
}

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .impact-grid[b-xpyjma0i7y] {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Add this tablet step */
@media (max-width: 768px) {
    .impact-grid[b-xpyjma0i7y] {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .impact-section[b-xpyjma0i7y] {
        padding: 4rem 1.25rem;
    }

    .impact-grid[b-xpyjma0i7y] {
        grid-template-columns: 1fr;
    }
}
/* /Components/Shared/CaseStudyCard.razor.rz.scp.css */
/* ── Card shell ───────────────────────────────────────────────────── */
.cs-card[b-t5b2ui56be] {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem 2.25rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cs-card:hover[b-t5b2ui56be] {
    border-color: var(--primary);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* ── Header row: role badge + links ───────────────────────────────── */
.cs-card-header[b-t5b2ui56be] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}

.cs-role-badge[b-t5b2ui56be] {
    font-family: var(--font-mono);
    font-size: 0.73rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: var(--radius-sm);
    padding: 0.22rem 0.65rem;
    white-space: nowrap;
}

.cs-links[b-t5b2ui56be] {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cs-link[b-t5b2ui56be] {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.cs-link:hover[b-t5b2ui56be] {
    color: var(--primary);
}

.cs-link-award[b-t5b2ui56be] {
    color: var(--secondary);
}

.cs-link-award:hover[b-t5b2ui56be] {
    opacity: 0.75;
}

/* ── Title & context ──────────────────────────────────────────────── */
.cs-title[b-t5b2ui56be] {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.6rem;
}

.cs-context[b-t5b2ui56be] {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.72;
    margin-bottom: 1.4rem;
}

/* ── Detail blocks (architecture + outcome) ───────────────────────── */
.cs-detail-block[b-t5b2ui56be] {
    padding-left: 1rem;
    margin-bottom: 1.4rem;
}

.cs-architecture[b-t5b2ui56be] {
    border-left: 2px solid var(--border);
}

.cs-outcome[b-t5b2ui56be] {
    border-left: 2px solid rgba(34, 197, 94, 0.45);
}

.cs-detail-label[b-t5b2ui56be],
.cs-outcome-label[b-t5b2ui56be] {
    font-family: var(--font-mono);
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.cs-detail-label[b-t5b2ui56be] {
    color: var(--muted);
}

.cs-outcome-label[b-t5b2ui56be] {
    color: var(--secondary);
}

.cs-detail-text[b-t5b2ui56be] {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.68;
    opacity: 0.88;
}

/* ── Tech tags row ────────────────────────────────────────────────── */
.cs-tech-row[b-t5b2ui56be] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
}

.cs-more[b-t5b2ui56be] {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
}

/* ── Mobile ───────────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .cs-card[b-t5b2ui56be] {
        padding: 1.5rem;
    }

    .cs-card-header[b-t5b2ui56be] {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── Open card accent ─────────────────────────────────────────────── */
.cs-card.is-open[b-t5b2ui56be] {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
}

/* ── Tech preview (collapsed state) ──────────────────────────────── */
.cs-tech-preview[b-t5b2ui56be] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cs-tech-preview.is-hidden[b-t5b2ui56be] {
    display: none;
}

/* ── Expandable details (CSS grid height animation) ───────────────── */
.cs-details[b-t5b2ui56be] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.cs-details.is-visible[b-t5b2ui56be] {
    grid-template-rows: 1fr;
}

.cs-details-inner[b-t5b2ui56be] {
    overflow: hidden;
    padding-top: 0;
}

/* ── Expand / collapse button ─────────────────────────────────────── */
.cs-expand-btn[b-t5b2ui56be] {
    appearance: none;
    background: none;
    border: none;
    border-top: 1px solid var(--border);
    width: 100%;
    padding: 0.7rem 0 0;
    margin-top: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--muted);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.cs-expand-btn:hover[b-t5b2ui56be] {
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.4);
}

.cs-expand-btn:focus-visible[b-t5b2ui56be] {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

.cs-expand-chevron[b-t5b2ui56be] {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cs-expand-chevron.is-open[b-t5b2ui56be] {
    transform: rotate(180deg);
}
/* /Components/Shared/MetricChip.razor.rz.scp.css */
.metric-chip[b-1vauq5bgqc] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, background 0.2s ease;
    cursor: default;
}

.metric-chip:hover[b-1vauq5bgqc] {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.metric-chip-icon[b-1vauq5bgqc] {
    font-size: 1rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.metric-chip-text[b-1vauq5bgqc] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    white-space: nowrap;
}

/* ── Counter number ───────────────────────────────────────────────── */
/* Rendered only when Text starts with a number (e.g. "8+ Years")    */
.metric-chip-count[b-1vauq5bgqc] {
    display: inline-block;        /* required for min-width to take effect  */
    vertical-align: baseline;
    font-variant-numeric: tabular-nums; /* stable per-digit width while counting */
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 400px) {
    .metric-chip[b-1vauq5bgqc] {
        padding: 0.35rem 0.65rem;
    }

    .metric-chip-text[b-1vauq5bgqc] {
        font-size: 0.8rem;
        white-space: normal;
    }
}
/* /Components/Shared/PrimaryButton.razor.rz.scp.css */
.cta-primary[b-uee7iel0v6] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.cta-primary:hover[b-uee7iel0v6] {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
    color: #fff;
}

.cta-primary:focus-visible[b-uee7iel0v6] {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.cta-icon[b-uee7iel0v6] {
    font-size: 1em;
    line-height: 1;
    display: flex;
    align-items: center;
}
/* /Components/Shared/SecondaryButton.razor.rz.scp.css */
.cta-secondary[b-hs0q7p6p6y] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.cta-secondary:hover[b-hs0q7p6p6y] {
    border-color: var(--primary);
    background: var(--primary-soft);
    color: var(--primary);
}

.cta-secondary:focus-visible[b-hs0q7p6p6y] {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.cta-icon[b-hs0q7p6p6y] {
    font-size: 1em;
    line-height: 1;
}
/* /Components/Shared/SectionTitle.razor.rz.scp.css */
.section-title-block[b-3juurgwe3s] {
    text-align: center;
    margin-bottom: 3rem;
}

.section-heading[b-3juurgwe3s] {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subheading[b-3juurgwe3s] {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .section-heading[b-3juurgwe3s] {
        font-size: 1.75rem;
    }
}
/* /Components/Shared/TagBadge.razor.rz.scp.css */
.tag-badge[b-y9o4vxemkd] {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    letter-spacing: 0.01em;
    cursor: default;

    /* ── Hover micro-interaction ──────────────────────────────────── */
    transition:
        background      0.18s ease,
        border-color    0.18s ease,
        box-shadow      0.18s ease,
        transform       0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
                        /* ↑ spring curve: slight overshoot gives a "pop" feel */
}

.tag-badge:hover[b-y9o4vxemkd] {
    background:   rgba(59, 130, 246, 0.18);   /* deeper than --primary-soft */
    border-color: var(--primary);
    transform:    translateY(-1px) scale(1.05);
    box-shadow:   0 3px 10px rgba(59, 130, 246, 0.18);
}

/* Respect OS reduced-motion — keep colour change, remove physical motion */
@media (prefers-reduced-motion: reduce) {
    .tag-badge[b-y9o4vxemkd] {
        transition: background 0.15s ease, border-color 0.15s ease;
    }

    .tag-badge:hover[b-y9o4vxemkd] {
        transform:  none;
        box-shadow: none;
    }
}
