/* Frosted surfaces over a soft, irregular central gradient; content stays sharp.
   Scoped specificity replaces the legacy fixed-size/scaled card composition. */
html body #page-experience.experience-core-page {
    --glass-ink: #f8f8f8;
    --glass-copy: #d0d0d0;
    --glass-muted: #b8b8b8;
    --glass-surface: rgba(42, 43, 46, .58);
    --glass-edge: rgba(255, 255, 255, .25);
    --glass-shadow: rgba(0, 0, 0, .16);
    --experience-page-base: #0b0b0b;
    --experience-glow-strong: rgba(255, 110, 46, .28);
    --experience-glow-mid: rgba(255, 110, 46, .13);
    --experience-glow-soft: rgba(255, 110, 46, .04);
    --glass-highlight: rgba(255, 255, 255, .07);
    --glass-title-fill: rgba(255, 110, 46, .12);
    height: auto !important;
    min-height: calc(100svh - var(--site-footer-h, 150px)) !important;
    max-height: none !important;
    padding: calc(var(--site-header-h, 90px) + 36px) 0 48px !important;
    overflow: visible !important;
}
html body.light-mode #page-experience.experience-core-page {
    --glass-ink: #202124;
    --glass-copy: #494b50;
    --glass-muted: #696b70;
    --glass-surface: rgba(255, 255, 255, .55);
    --glass-edge: rgba(255, 255, 255, .92);
    --glass-shadow: rgba(44, 36, 30, .07);
    --experience-page-base: #fcfcfc;
    --experience-glow-strong: rgba(255, 110, 46, .42);
    --experience-glow-mid: rgba(255, 110, 46, .21);
    --experience-glow-soft: rgba(255, 110, 46, .06);
    --glass-highlight: rgba(255, 255, 255, .3);
    --glass-title-fill: rgba(255, 110, 46, .09);
}
/* Unequal overlapping lobes form one organic color field behind the glass.
   The existing theme colors and opacity remain unchanged. */
html body #page-experience.experience-core-page {
    --experience-glow-radius-x: 30%;
    background:
        radial-gradient(ellipse var(--experience-glow-radius-x) 38% at 52% 59%,
        var(--experience-glow-strong) 0%,
        var(--experience-glow-mid) 38%,
        var(--experience-glow-soft) 68%,
        transparent 100%),
        radial-gradient(ellipse 24% 25% at 67% 43%,
        var(--experience-glow-mid) 0%,
        var(--experience-glow-soft) 52%, transparent 100%),
        radial-gradient(ellipse 22% 23% at 35% 67%,
        var(--experience-glow-mid) 0%,
        var(--experience-glow-soft) 48%, transparent 100%),
        var(--experience-page-base) !important;
}
@media (max-width: 980px) {
    html body #page-experience.experience-core-page { --experience-glow-radius-x: 65%; }
}
html body #page-experience.experience-core-page .bg-aurora-base { display: none; }
html body #page-experience.experience-core-page .experience-core-layout {
    height: auto !important;
    overflow: visible !important;
}
html body #page-experience.experience-core-page .experience-core-hero {
    padding-bottom: 12px !important;
}
html body #page-experience.experience-core-page .experience-core-stack {
    flex: 0 0 auto !important;
    height: auto !important;
    min-height: 0 !important;
    align-items: center;
    padding-block: 76px 48px !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}
html body #page-experience.experience-core-page .experience-skill-section {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    opacity: 1;
    overflow: visible !important;
    background: transparent !important;
}
html body #page-experience.experience-core-page .core-skills-slide-wrapper {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    border-radius: 32px;
    background: transparent;
}
html body #page-experience.experience-core-page .core-skills-slide-wrapper::before,
html body #page-experience.experience-core-page .core-skills-slide-wrapper::after {
    content: none;
    display: none;
}
html body #page-experience.experience-core-page .core-skills-card {
    position: relative !important;
    inset: auto !important;
    z-index: 1;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 510px !important;
    max-height: none !important;
    padding: clamp(32px, 4.2vw, 64px) !important;
    transform: none !important;
    background: linear-gradient(130deg, var(--glass-highlight), transparent 65%), var(--glass-surface) !important;
    -webkit-backdrop-filter: blur(26px) saturate(115%);
    backdrop-filter: blur(26px) saturate(115%);
    border: 1px solid var(--glass-edge) !important;
    border-radius: 32px !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 14px 40px var(--glass-shadow) !important;
    transition: translate .4s cubic-bezier(.22, 1, .36, 1), border-color .4s ease, box-shadow .4s ease;
}
html body #page-experience.experience-core-page .core-skills-content {
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1.6fr) !important;
    grid-template-rows: auto !important;
    width: 100% !important;
    height: auto !important;
    gap: clamp(28px, 4vw, 56px) !important;
    text-align: left !important;
}
html body #page-experience.experience-core-page .core-skills-card :is(.skill-main-title, .skill-item-title, .title-base, .skill-description-list li) {
    color: var(--glass-ink) !important;
    -webkit-text-fill-color: currentColor;
}
html body #page-experience.experience-core-page .core-skills-card .skill-main-title {
    font-size: clamp(36px, 3.5vw, 54px) !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-main-subtitle {
    color: var(--glass-muted) !important;
    font-size: 18px !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-item-description {
    color: var(--glass-copy) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-item-description br { display: none; }
html body #page-experience.experience-core-page .core-skills-card .skill-description-list {
    gap: 20px !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-item-title {
    font-size: 19px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    text-wrap: wrap !important;
}
html body #page-experience.experience-core-page .core-skills-card :is(.title-base, .title-fill) {
    padding: 2px 6px !important;
    white-space: normal !important;
    text-wrap: wrap !important;
}
html body #page-experience.experience-core-page .core-skills-card .color-fill-title .title-fill {
    color: transparent !important;
    background: var(--glass-title-fill) !important;
    z-index: 0;
}
html body #page-experience.experience-core-page .core-skills-card .color-fill-title .title-fill::before { visibility: hidden; }
html body #page-experience.experience-core-page .core-skills-card .color-fill-title .title-base { color: #ff6e2e !important; -webkit-text-fill-color: #ff6e2e !important; }
html body #page-experience.experience-core-page .core-skills-card .skill-animated-icon {
    color: #ff6e2e !important;
}
html body #page-experience.experience-core-page .skill-animated-icon [style*="fill:white"] {
    fill: currentColor !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-action-btn {
    color: var(--glass-ink) !important;
    border-color: var(--glass-muted) !important;
    background: transparent !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-action-btn:is(:hover, :focus-visible) {
    color: #fff !important;
    background: #ff6e2e !important;
    border-color: #ff6e2e !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-action-btn .arrow {
    color: inherit !important;
    background: currentColor !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-action-btn .arrow::before {
    border-color: currentColor !important;
}
@media (hover: hover) and (pointer: fine) {
    html body #page-experience.experience-core-page .core-skills-card:hover {
        translate: 0 -5px;
        border-color: rgba(255, 255, 255, .85) !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 18px 44px var(--glass-shadow) !important;
    }
}
/* Let long content scroll normally instead of shrinking type to fit a screen. */
html:not(.mobile-navigation-open):has(#page-experience.experience-core-page),
html body:has(#page-experience.experience-core-page),
html body:has(#page-experience.experience-core-page) #app-container {
    height: auto !important;
    min-height: 0 !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
}
html body:has(#page-experience.experience-core-page) .page-footer {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
html body:has(#page-experience.experience-core-page) .page-footer-spacer { display: none !important; }
@media (max-width: 980px) {
    html body #page-experience.experience-core-page .experience-core-stack {
        gap: 60px !important;
        padding: 54px 24px 36px !important;
    }
    html body #page-experience.experience-core-page .core-skills-card {
        min-height: 0 !important;
        padding: 36px !important;
        border-radius: 26px !important;
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
    }
    html body #page-experience.experience-core-page .core-skills-content {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    html body #page-experience.experience-core-page .core-skills-card { translate: none; }
}
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .experience-core-stack { padding-inline: 20px !important; }
    html body #page-experience.experience-core-page .core-skills-card { padding: 30px 24px !important; }
    html body #page-experience.experience-core-page .core-skills-card .skill-item-title { font-size: 17px !important; }
    html body #page-experience.experience-core-page .core-skills-card .skill-item-description { font-size: 15px !important; }
}
@media (prefers-reduced-motion: reduce) {
    html body #page-experience.experience-core-page .core-skills-card { transition: none; translate: none; }
    html body #page-experience.experience-core-page .skill-animated-icon * { animation: none !important; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    html body #page-experience.experience-core-page .core-skills-card { background: rgba(35, 36, 39, .96) !important; }
    html body.light-mode #page-experience.experience-core-page .core-skills-card { background: rgba(250, 250, 250, .96) !important; }
}

/* Services stack: document scroll lifts each following card over the last. */
html body #page-experience.experience-core-page .experience-core-stack {
    display: block !important;
    width: min(1080px, 82%) !important;
    max-width: none !important;
    padding: 64px 0 120px !important;
    margin: 0 auto !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    scroll-padding: 0 !important;
    cursor: auto !important;
    user-select: auto !important;
    touch-action: pan-y pinch-zoom;
}
html body #page-experience.experience-core-page .experience-skill-section {
    position: sticky !important;
    top: var(--experience-pin-top, 120px) !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    opacity: var(--experience-stack-opacity, 1) !important;
    transition: none !important;
    scroll-snap-align: none !important;
}
html body #page-experience.experience-core-page .experience-card-gap { height: clamp(160px, 40vh, 440px); }
html body #page-experience.experience-core-page .core-skills-slide-wrapper {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    transform: scale(var(--experience-stack-scale, 1)) !important;
    transform-origin: center top !important;
}
html body #page-experience.experience-core-page .experience-skill-section .skill-action-btn {
    pointer-events: auto !important;
    cursor: pointer !important;
}
html body #page-experience.experience-core-page .experience-skill-section[inert] { pointer-events: none; }
@media (max-width: 980px) {
    html body #page-experience.experience-core-page .experience-core-stack {
        width: calc(100% - 48px) !important;
        padding: 44px 0 100px !important;
    }
    html body #page-experience.experience-core-page .experience-card-gap { height: clamp(100px, 24vh, 240px); }
}
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .experience-core-stack { width: calc(100% - 40px) !important; }
}
@media (prefers-reduced-motion: reduce) {
    html body #page-experience.experience-core-page .experience-skill-section {
        position: relative !important;
        top: auto !important;
        margin-bottom: 0 !important;
        opacity: 1 !important;
    }
    html body #page-experience.experience-core-page .core-skills-slide-wrapper { transform: none !important; }
    html body #page-experience.experience-core-page .experience-card-gap { height: 48px; }
}

/* Each card carries its own frosted orange light; the page stays neutral. */
html body #page-experience.experience-core-page {
    --glass-surface: rgba(42, 43, 46, .40);
    background: var(--experience-page-base) !important;
}
html body.light-mode #page-experience.experience-core-page { --glass-surface: rgba(255, 255, 255, .44); }
html body #page-experience.experience-core-page .experience-core-stack { padding-bottom: var(--experience-tail-space, 160px) !important; }
html body #page-experience.experience-core-page::before { content: none; display: none; }
html body #page-experience.experience-core-page .experience-core-layout { position: relative; }
html body #page-experience.experience-core-page .core-skills-card {
    border: 0 !important;
    -webkit-backdrop-filter: blur(40px) saturate(120%);
    backdrop-filter: blur(40px) saturate(120%);
    box-shadow: 0 14px 40px var(--glass-shadow) !important;
}
html body #page-experience.experience-core-page .core-skills-card:hover {
    border: 0 !important;
    box-shadow: 0 18px 44px var(--glass-shadow) !important;
}
html body #page-experience.experience-core-page .experience-skill-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}
html body #page-experience.experience-core-page .experience-skill-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 25px;
    border: 1px solid var(--glass-muted);
    border-radius: 999px;
    color: var(--glass-ink) !important;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    transition: color .25s ease, background-color .25s ease, border-color .25s ease;
}
html body #page-experience.experience-core-page .experience-skill-nav a:is(:hover, :focus-visible, [aria-current]) {
    color: #fff !important;
    background: #ff6e2e;
    border-color: #ff6e2e;
}
html body #page-experience.experience-core-page .experience-skill-nav a:focus-visible { outline: 2px solid #ff6e2e; outline-offset: 4px; }
/* Fade approaching content out before it reaches the fixed scroll cue. */
html body #page-experience.experience-core-page .experience-skill-section {
    --experience-safe-mask: linear-gradient(to bottom,
        transparent calc(var(--experience-clip-top, -10000px) - 20px),
        #000 var(--experience-clip-top, -10000px),
        #000 calc(100% - var(--experience-clip-bottom, -10000px)),
        transparent calc(100% - var(--experience-clip-bottom, -10000px) + 20px));
    -webkit-mask-image: var(--experience-safe-mask);
    mask-image: var(--experience-safe-mask);
}
html body:has(#page-experience.experience-core-page) #scroll-hint-overlay {
    display: flex !important;
    color: #fff;
    -webkit-text-fill-color: currentColor;
}
html body.light-mode:has(#page-experience.experience-core-page) #scroll-hint-overlay { color: #161616; }
html body:has(#page-experience.experience-core-page) .experience-scroll-shade {
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    height: calc(112px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, #0b0b0b 82%);
    transition: opacity .3s ease;
}
html body.light-mode:has(#page-experience.experience-core-page) .experience-scroll-shade {
    background: linear-gradient(to bottom, rgba(252, 252, 252, 0), #fcfcfc 82%);
}
html body:has(#page-experience.experience-footer-visible) .experience-scroll-shade { opacity: 0; }
html body:has(#page-experience.experience-core-page) .page-footer { transition: none !important; }
html.experience-scroll-moving { scroll-behavior: auto !important; }
/* Start the card between the second and third staggered field buttons. */
html body.preview-heading-play #page-experience.experience-core-page .preview-page-description {
    animation: previewPageDescriptionIn .55s cubic-bezier(.22, 1, .36, 1) .4s both !important;
}
html body.preview-heading-play #page-experience.experience-core-page .experience-skill-nav a {
    animation: experienceEnter .44s cubic-bezier(.22, 1, .36, 1) .6s backwards;
}
html body.preview-heading-play #page-experience.experience-core-page .experience-skill-nav a:nth-child(2) { animation-delay: .78s; }
html body.preview-heading-play #page-experience.experience-core-page .experience-skill-nav a:nth-child(3) { animation-delay: .96s; }
html body.preview-heading-play #page-experience.experience-core-page .experience-skill-nav a:nth-child(4) { animation-delay: 1.14s; }
html body.preview-heading-play #page-experience.experience-core-page .experience-skill-section.experience-entry-card .core-skills-card {
    animation: experienceEnter 1.05s cubic-bezier(.25, .55, .25, 1) .86s backwards;
}
@keyframes experienceEnter {
    from { opacity: 0; translate: 0 38px; }
    to { opacity: 1; translate: 0 0; }
}
html body #page-experience.experience-skip-intro :is(.experience-skill-nav a, .core-skills-card) { animation: none !important; }
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .experience-skill-nav { gap: 8px; }
    html body #page-experience.experience-core-page .experience-skill-nav a { padding: 10px 16px; font-size: 14px; }
    html body #page-experience.experience-core-page .core-skills-card { -webkit-backdrop-filter: blur(28px); backdrop-filter: blur(28px); }
    html body:has(#page-experience.experience-core-page) #scroll-hint-overlay { font-size: 12px; }
    html body:has(#page-experience.experience-core-page) #scroll-hint-overlay .scroll-hint-chevron { width: 17px; height: 22px; flex-basis: 17px; }
}
@media (max-height: 600px) {
    html body:has(#page-experience.experience-core-page) #scroll-hint-overlay { bottom: 18px !important; }
    html body:has(#page-experience.experience-core-page) .experience-scroll-shade { height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
    html body.preview-heading-play #page-experience.experience-core-page :is(.preview-page-description, .experience-skill-nav a, .core-skills-card) { animation: none !important; }
}

/* Keep the introduction and jump links in place while the cards scroll below. */
html body #page-experience.experience-core-page {
    padding-top: calc(var(--experience-header-height, var(--site-header-h, 90px)) + 20px) !important;
}
html body #page-experience.experience-core-page .experience-core-layout { display: block !important; }
html body #page-experience.experience-core-page .experience-core-hero {
    position: sticky;
    top: calc(var(--experience-header-height, var(--site-header-h, 90px)) + 20px);
    z-index: 20;
    padding-bottom: 20px !important;
    overflow: visible;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    background: var(--experience-page-base);
}
html body #page-experience.experience-core-page .experience-core-hero::after {
    content: "";
    position: absolute;
    inset: 100% 0 auto;
    height: 24px;
    pointer-events: none;
    background: linear-gradient(var(--experience-page-base), transparent);
}
html body #page-experience.experience-core-page .core-skills-card {
    background:
        radial-gradient(ellipse 48% 64% at 100% 0%, var(--experience-glow-strong), var(--experience-glow-mid) 34%, var(--experience-glow-soft) 64%, transparent 100%),
        radial-gradient(ellipse 24% 32% at 78% 12%, var(--experience-glow-soft), transparent 100%),
        linear-gradient(130deg, var(--glass-highlight), transparent 65%),
        var(--glass-surface) !important;
    /* External shadows clipped by the scroll mask caused the square corner marks. */
    box-shadow: none !important;
    background-clip: padding-box;
    overflow: hidden !important;
}
html body #page-experience.experience-core-page .core-skills-card:hover {
    box-shadow: none !important;
    translate: none;
}
html body #page-experience.experience-core-page .experience-card-gap { height: clamp(140px, 30vh, 340px); }
@media (min-width: 981px) {
    html body #page-experience.experience-core-page .core-skills-card { padding: clamp(32px, 3vw, 52px) !important; }
}
@media (max-height: 800px) {
    html body #page-experience.experience-core-page {
        --preview-title-size: clamp(30px, 3.6vw, 42px);
        --preview-description-size: 16px;
    }
    html body #page-experience.experience-core-page .experience-skill-nav { margin-top: 16px; }
    html body #page-experience.experience-core-page .experience-skill-nav a { min-height: 38px; padding-block: 8px; }
    html body #page-experience.experience-core-page .experience-core-hero { padding-bottom: 12px !important; }
}
@media (max-width: 980px) {
    html body #page-experience.experience-core-page .experience-card-gap { height: clamp(90px, 20vh, 200px); }
}
@media (prefers-reduced-motion: reduce) {
    html body #page-experience.experience-core-page .experience-card-gap { height: 48px; }
}

/* One measured canvas for all four fields, centered with its introduction. */
html body #page-experience.experience-core-page {
    --glass-surface: rgba(35, 36, 38, .82);
    padding-top: var(--experience-group-top, calc(var(--experience-header-height, 90px) + 20px)) !important;
}
html body.light-mode #page-experience.experience-core-page {
    --glass-surface: rgba(245, 245, 245, .94);
    --glass-highlight: rgba(255, 255, 255, .12);
}
html body #page-experience.experience-core-page .experience-core-hero {
    top: calc(var(--experience-group-top, 110px) - var(--experience-exit-offset, 0px));
}
html body #page-experience.experience-core-page .experience-core-stack {
    padding-top: 20px !important;
}
html body #page-experience.experience-core-page .core-skills-card {
    height: var(--experience-card-height, auto) !important;
    min-height: var(--experience-card-height, 510px) !important;
    -webkit-backdrop-filter: blur(56px) saturate(115%);
    backdrop-filter: blur(56px) saturate(115%);
    background:
        radial-gradient(ellipse 42% 54% at 86% 18%, var(--experience-glow-strong), var(--experience-glow-mid) 32%, var(--experience-glow-soft) 64%, transparent 100%),
        radial-gradient(ellipse 28% 40% at 74% 28%, var(--experience-glow-soft), transparent 100%),
        linear-gradient(130deg, var(--glass-highlight), transparent 65%),
        var(--glass-surface) !important;
}
html body #page-experience.experience-exiting .experience-skill-section:last-child {
    position: relative !important;
    top: 0 !important;
}
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .core-skills-card {
        -webkit-backdrop-filter: blur(36px) saturate(115%);
        backdrop-filter: blur(36px) saturate(115%);
    }
}

/* Close the button/card gap while retaining the measured group centering. */
html body #page-experience.experience-core-page {
    --glass-surface: #1f1f1f;
    --experience-fill-ink: #1f1f1f;
}
html body.light-mode #page-experience.experience-core-page {
    --glass-surface: #f5f5f5;
    --experience-fill-ink: #f5f5f5;
}
html body #page-experience.experience-core-page .experience-core-hero { padding-bottom: 10px !important; }
html body #page-experience.experience-core-page .experience-core-hero::after { height: 12px; }
html body #page-experience.experience-core-page .experience-core-stack { padding-top: 10px !important; }
html body #page-experience.experience-core-page .core-skills-card {
    background: var(--glass-surface) !important;
    isolation: isolate;
}
/* Only the light behind the content blurs and morphs; type and icons stay crisp. */
html body #page-experience.experience-core-page .core-skills-card::before {
    content: "";
    display: block;
    position: absolute;
    inset: 9% 8% 18% 40%;
    z-index: 0;
    pointer-events: none;
    border-radius: 43% 57% 61% 39% / 55% 38% 62% 45%;
    background:
        radial-gradient(ellipse at 66% 34%, var(--experience-glow-strong), var(--experience-glow-mid) 32%, transparent 70%),
        radial-gradient(ellipse at 35% 65%, var(--experience-glow-mid), var(--experience-glow-soft) 38%, transparent 72%);
    filter: blur(24px);
    transform-origin: 58% 45%;
    animation: experienceGlassDrift 11s ease-in-out infinite;
    animation-play-state: paused;
}
html body #page-experience.experience-core-page .is-current-skill .core-skills-card::before { animation-play-state: running; }
@keyframes experienceGlassDrift {
    0%, 100% { transform: translate(-2%, 1%) rotate(-8deg) scale(1, .94); border-radius: 43% 57% 61% 39% / 55% 38% 62% 45%; }
    36% { transform: translate(3%, 5%) rotate(7deg) scale(.94, 1.08); border-radius: 61% 39% 43% 57% / 39% 59% 41% 61%; }
    70% { transform: translate(-5%, -2%) rotate(-3deg) scale(1.06, .98); border-radius: 38% 62% 55% 45% / 62% 43% 57% 38%; }
}
/* A clipped duplicate paints the background and text together from the left. */
html body #page-experience.experience-core-page .core-skills-card .color-fill-title .title-fill {
    color: var(--experience-fill-ink) !important;
    -webkit-text-fill-color: var(--experience-fill-ink) !important;
    background: #ff6e2e !important;
    z-index: 2;
    clip-path: inset(0 100% 0 0);
    -webkit-clip-path: inset(0 100% 0 0);
    transition: none;
}
html body #page-experience.experience-core-page .core-skills-card .color-fill-title .title-fill::before {
    visibility: visible;
    display: block;
    color: inherit;
    -webkit-text-fill-color: inherit;
}
html body #page-experience.experience-core-page :is(.is-current-skill, .has-revealed-titles) .color-fill-title.animated .title-fill {
    clip-path: inset(0 0 0 0);
    -webkit-clip-path: inset(0 0 0 0);
    transition: clip-path .9s cubic-bezier(.25, .1, .25, 1), -webkit-clip-path .9s cubic-bezier(.25, .1, .25, 1);
}
@media (max-height: 800px) {
    html body #page-experience.experience-core-page .experience-core-hero { padding-bottom: 6px !important; }
}
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .core-skills-card::before { inset: 8% 7% 35% 24%; filter: blur(20px); animation-duration: 14s; }
}
@media (prefers-reduced-motion: reduce) {
    html body #page-experience.experience-core-page .core-skills-card::before { animation: none; }
    html body #page-experience.experience-core-page :is(.is-current-skill, .has-revealed-titles) .color-fill-title.animated .title-fill { transition: none; }
}
/* The shared mobile sub-header added a second gap below these buttons. */
html body #page-experience.experience-core-page .experience-core-hero .content-wrapper.sub-header {
    margin-bottom: 0 !important;
}

/* Neutral light diffuses across two frosted planes, including the gray areas. */
html body #page-experience.experience-core-page {
    --experience-neutral-light: rgba(255, 255, 255, .09);
    --experience-neutral-shade: rgba(0, 0, 0, .10);
    --experience-frost: rgba(31, 31, 31, .65);
    --experience-icon: #fcfcfc;
    --experience-tab-hover: #292929;
}
html body.light-mode #page-experience.experience-core-page {
    --experience-neutral-light: rgba(255, 255, 255, .74);
    --experience-neutral-shade: rgba(120, 126, 134, .07);
    --experience-frost: rgba(245, 245, 245, .68);
    --experience-icon: #0b0b0b;
    --experience-tab-hover: #ebebeb;
}
html body #page-experience.experience-core-page .core-skills-slide-wrapper {
    position: relative;
    isolation: isolate;
    transform: translateY(var(--experience-stack-lift, 0px)) scale(var(--experience-stack-scale, 1)) rotate(var(--experience-stack-tilt, 0deg)) !important;
}
html body #page-experience.experience-core-page .core-skills-slide-wrapper::before {
    content: "";
    display: block;
    position: absolute;
    inset: 3px 5px 0;
    border-radius: inherit;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 10% 16%, var(--experience-neutral-light), transparent 68%),
        radial-gradient(ellipse at 66% 92%, var(--experience-neutral-shade), transparent 72%),
        var(--glass-surface);
}
html body #page-experience.experience-core-page .core-skills-card {
    background:
        linear-gradient(135deg, var(--experience-neutral-light), transparent 42%, var(--experience-neutral-shade) 80%, transparent),
        var(--experience-frost) !important;
    -webkit-backdrop-filter: blur(48px) saturate(112%);
    backdrop-filter: blur(48px) saturate(112%);
}
html body #page-experience.experience-core-page .core-skills-card::before {
    inset: 2% 1% 28% 48%;
    filter: blur(30px);
    background:
        radial-gradient(ellipse at 64% 30%, var(--experience-glow-strong), var(--experience-glow-mid) 32%, transparent 72%),
        radial-gradient(ellipse at 38% 58%, var(--experience-glow-mid), var(--experience-glow-soft) 40%, transparent 75%);
}
html body #page-experience.experience-core-page .experience-skill-nav a {
    border: 0;
    background: var(--glass-surface);
    color: var(--experience-icon) !important;
    transition: background-color .32s ease, color .32s ease;
    -webkit-text-fill-color: currentColor !important;
}
html body #page-experience.experience-core-page .experience-skill-nav a:is(:hover, :focus-visible):not([aria-current]) {
    background: var(--experience-tab-hover);
    color: var(--experience-icon) !important;
}
html body #page-experience.experience-core-page .experience-skill-nav a[aria-current] {
    background: #ff6e2e;
    color: #fff !important;
}
html body #page-experience.experience-core-page .core-skills-card .skill-animated-icon { color: var(--experience-icon) !important; }
html body #page-experience.experience-core-page .anim-pulse-ui { animation: none; }
html body #page-experience.experience-core-page .anim-cursor-move {
    fill: var(--glass-surface);
    stroke: currentColor;
    transform-box: view-box;
    transform-origin: 14px 14px;
    animation: experienceCursorMove 2.8s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes experienceCursorMove {
    0%, 100% { transform: translate(0, 0); }
    38%, 52% { transform: translate(-5px, -3px); }
    46% { transform: translate(-5px, -3px) scale(.92); }
    76% { transform: translate(-1px, -1px); }
}
@media (max-width: 980px) {
    html body #page-experience.experience-core-page .core-skills-slide-wrapper,
    html body #page-experience.experience-core-page .core-skills-slide-wrapper::before { border-radius: 26px; }
}
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .core-skills-card::before { inset: 3% 0 42% 30%; filter: blur(22px); }
    html body #page-experience.experience-core-page .core-skills-card { -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
}
@media (prefers-reduced-motion: reduce) {
    html body #page-experience.experience-core-page .core-skills-slide-wrapper { transform: none !important; }
    html body #page-experience.experience-core-page .anim-cursor-move { animation: none !important; }
}

/* A width-driven light field stays round even on tall, narrow cards. */
html body #page-experience.experience-core-page {
    --experience-surface-shadow: rgba(0, 0, 0, .2);
}
html body.light-mode #page-experience.experience-core-page {
    --experience-surface-shadow: rgba(45, 51, 61, .085);
}
html body #page-experience.experience-core-page .core-skills-card::before {
    inset: -28px -32px auto auto;
    width: clamp(180px, 54%, 520px);
    max-width: 90%;
    height: auto;
    aspect-ratio: 1.12;
    filter: blur(clamp(18px, 2.4vw, 30px));
}
html body #page-experience.experience-core-page .core-skills-card,
html body #page-experience.experience-core-page .core-skills-card:hover {
    box-shadow: 0 8px 24px var(--experience-surface-shadow), inset 0 -8px 24px var(--experience-neutral-shade) !important;
}
/* Compact view: one card in normal document flow; buttons alone change cards. */
html body #page-experience.experience-compact-cards .experience-core-hero {
    position: relative;
    top: auto;
}
html body #page-experience.experience-compact-cards .experience-core-hero::after { display: none; }
html body #page-experience.experience-compact-cards .experience-core-stack {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    width: min(1124px, 100%) !important;
    padding: 10px 22px 36px !important;
    gap: 0 !important;
    overflow: clip !important;
}
html body #page-experience.experience-compact-cards .experience-card-gap { display: none; }
html body #page-experience.experience-compact-cards .experience-skill-section {
    grid-area: 1 / 1;
    position: relative !important;
    top: auto !important;
    align-self: start;
    visibility: hidden;
    opacity: 0 !important;
    pointer-events: none;
    -webkit-mask-image: none !important;
    mask-image: none !important;
}
html body #page-experience.experience-compact-cards .experience-skill-section:is(.is-current-skill, .is-horizontal-leaving) {
    visibility: visible;
    opacity: 1 !important;
}
html body #page-experience.experience-compact-cards .experience-skill-section.is-current-skill { pointer-events: auto; }
html body #page-experience.experience-compact-cards .core-skills-slide-wrapper { transform: none !important; }
@media (max-width: 767px) {
    html body #page-experience.experience-core-page .core-skills-card { padding: 24px !important; }
    html body #page-experience.experience-core-page .core-skills-left {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 56px;
        grid-template-rows: auto auto auto;
        align-items: start;
        text-align: left !important;
    }
    html body #page-experience.experience-core-page .core-skills-left > :is(.skill-main-title, .skill-main-subtitle, .skill-action-btn) {
        grid-column: 1;
        justify-self: start;
    }
    html body #page-experience.experience-core-page .core-skills-left .skill-animated-icon {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: start;
        width: 56px;
        height: 56px;
        margin: 0 !important;
    }
    html body #page-experience.experience-core-page .core-skills-content { gap: 26px !important; }
    html body #page-experience.experience-compact-cards .experience-core-stack { padding-inline: 20px !important; }
}
/* Let the rounded shadow paint outside the card, without square mask corners. */
html body #page-experience.experience-core-page:not(.experience-compact-cards) .experience-skill-section {
    --experience-safe-mask: linear-gradient(to bottom,
        transparent calc(var(--experience-clip-top, -10000px) + 12px),
        #000 calc(var(--experience-clip-top, -10000px) + 32px),
        #000 calc(100% - var(--experience-clip-bottom, -10000px) - 32px),
        transparent calc(100% - var(--experience-clip-bottom, -10000px) - 12px));
    -webkit-mask-size: calc(100% + 64px) calc(100% + 64px);
    mask-size: calc(100% + 64px) calc(100% + 64px);
    -webkit-mask-position: -32px -32px;
    mask-position: -32px -32px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-clip: no-clip;
    mask-clip: no-clip;
}

@media (max-width: 767px) {
    html body #page-experience.experience-core-page .core-skills-card { display: block !important; }
    html body #page-experience.experience-core-page .core-skills-content {
        height: 100% !important;
        grid-template-rows: auto minmax(0, 1fr) !important;
    }
    html body #page-experience.experience-core-page .core-skills-left { align-self: start !important; }
    html body #page-experience.experience-core-page .core-skills-right { align-self: stretch !important; }
    html body #page-experience.experience-core-page .skill-description-list {
        height: 100%;
        justify-content: space-between;
    }
    html body #page-experience.experience-core-page .skill-description-list > li { flex: 0 0 auto; }
}

/* Native scrolling still keeps text clear of the fixed SCROLL DOWN cue. */
html body #page-experience.experience-compact-cards .experience-skill-section {
    --experience-compact-mask: linear-gradient(to bottom,
        #000 calc(100% - var(--experience-clip-bottom, -10000px) - 32px),
        transparent calc(100% - var(--experience-clip-bottom, -10000px) - 12px));
    -webkit-mask-image: var(--experience-compact-mask) !important;
    mask-image: var(--experience-compact-mask) !important;
    -webkit-mask-size: calc(100% + 64px) calc(100% + 64px);
    mask-size: calc(100% + 64px) calc(100% + 64px);
    -webkit-mask-position: -32px -32px;
    mask-position: -32px -32px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-clip: no-clip;
    mask-clip: no-clip;
}
html body #page-experience.experience-compact-cards.experience-footer-visible .experience-skill-section {
    -webkit-mask-image: none !important;
    mask-image: none !important;
}

/* All decorative paint belongs to the animated card, so no backing appears early. */
html body #page-experience.experience-core-page .core-skills-slide-wrapper {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
html body #page-experience.experience-core-page .core-skills-slide-wrapper::before,
html body #page-experience.experience-core-page .core-skills-slide-wrapper::after,
html body #page-experience.experience-core-page .core-skills-card::after {
    content: none !important;
    display: none !important;
}
html body #page-experience.experience-core-page {
    --experience-neutral-light: rgba(255, 255, 255, .055);
    --experience-neutral-shade: rgba(0, 0, 0, .08);
    --experience-frost: rgba(31, 31, 31, .9);
    --experience-surface-shadow: rgba(255, 255, 255, .075);
    --experience-glow-strong: rgba(255, 110, 46, .20);
    --experience-glow-mid: rgba(255, 110, 46, .095);
    --experience-glow-soft: rgba(255, 110, 46, .03);
}
html body.light-mode #page-experience.experience-core-page {
    --experience-neutral-light: rgba(255, 255, 255, .4);
    --experience-neutral-shade: rgba(120, 126, 134, .04);
    --experience-frost: rgba(245, 245, 245, .9);
    --experience-surface-shadow: rgba(45, 51, 61, .06);
    --experience-glow-strong: rgba(255, 110, 46, .30);
    --experience-glow-mid: rgba(255, 110, 46, .15);
    --experience-glow-soft: rgba(255, 110, 46, .04);
}
html body #page-experience.experience-core-page .core-skills-card,
html body #page-experience.experience-core-page .core-skills-card:hover {
    border: 0 !important;
    outline: 0 !important;
    /* Broad light/shade fields replace the inset shadow's visible bottom rim. */
    background:
        radial-gradient(ellipse 85% 90% at 12% 10%, var(--experience-neutral-light), transparent 80%),
        radial-gradient(ellipse 70% 60% at 66% 78%, var(--experience-neutral-shade), transparent 80%),
        var(--experience-frost) !important;
    box-shadow: 0 8px 28px var(--experience-surface-shadow) !important;
}
html body #page-experience.experience-core-page .core-skills-card::before {
    inset: -42px -46px auto auto;
    width: clamp(160px, 46%, 440px);
}
html body #page-experience.experience-core-page .core-skills-card :is(.color-fill-title, .title-base, .title-fill),
html body #page-experience.experience-core-page .core-skills-card .title-fill::before {
    font-weight: 600 !important;
}
/* Clip backdrop sampling to the rounded surface, separate from its outer shadow.
   A backdrop filter on the shadow-bearing card produced a rectangular white seam. */
html body #page-experience.experience-core-page .core-skills-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
html body #page-experience.experience-core-page .core-skills-card::after {
    content: "" !important;
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    border: 0;
    outline: 0;
    box-shadow: none;
    border-radius: inherit;
    clip-path: inset(0 round 32px);
    -webkit-backdrop-filter: blur(32px) saturate(112%);
    backdrop-filter: blur(32px) saturate(112%);
}
@media (max-width: 980px) {
    html body #page-experience.experience-core-page .core-skills-card::after { clip-path: inset(0 round 26px); }
}
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .core-skills-card::after {
        -webkit-backdrop-filter: blur(24px);
        backdrop-filter: blur(24px);
    }
}

/* Match the space above and below the field buttons at every breakpoint. */
html body #page-experience.experience-core-page {
    --experience-nav-space: 26px;
    --experience-frost-glint: rgba(255, 255, 255, .075);
    --experience-frost-cloud: rgba(0, 0, 0, .11);
}
html body.light-mode #page-experience.experience-core-page {
    --experience-frost-glint: rgba(255, 255, 255, .68);
    --experience-frost-cloud: rgba(118, 127, 139, .065);
}
html body #page-experience.experience-core-page .experience-skill-nav {
    margin-top: var(--experience-nav-space) !important;
}
html body #page-experience.experience-core-page .experience-core-hero {
    padding-bottom: calc(var(--experience-nav-space) / 2) !important;
}
html body #page-experience.experience-core-page .experience-core-stack {
    padding-top: calc(var(--experience-nav-space) / 2) !important;
}
@media (max-height: 800px) {
    html body #page-experience.experience-core-page { --experience-nav-space: 16px; }
}
@media (min-width: 981px) {
    html body #page-experience.experience-core-page .core-skills-content {
        grid-template-columns: minmax(180px, .68fr) minmax(0, 1.6fr) !important;
        gap: clamp(24px, 3vw, 40px) !important;
    }
}
/* Transformed, masked backdrop surfaces can cache a rectangular sampling edge.
   Use self-contained blurred light fields so no moving layer samples that edge. */
html body #page-experience.experience-core-page .core-skills-card::after {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    inset: 0;
    clip-path: none;
    background:
        radial-gradient(ellipse 44% 38% at 18% 24%, var(--experience-frost-glint), transparent 80%),
        radial-gradient(ellipse 46% 40% at 49% 57%, var(--experience-frost-cloud), transparent 80%),
        radial-gradient(ellipse 36% 46% at 77% 74%, var(--experience-frost-glint), transparent 80%),
        radial-gradient(ellipse 32% 28% at 12% 88%, var(--experience-frost-cloud), transparent 85%);
    filter: blur(22px);
    border-radius: inherit;
}
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .core-skills-card::after { filter: blur(16px); }
}

/* Keep all four animated illustrations slightly larger, including compact cards. */
html body #page-experience.experience-core-page .core-skills-card .skill-animated-icon {
    width: 88px !important;
    height: 88px !important;
    opacity: .7;
}
@media (max-width: 980px) {
    html body #page-experience.experience-core-page .core-skills-card .skill-animated-icon {
        width: 60px !important;
        height: 60px !important;
    }
}
@media (max-width: 767px) {
    html body #page-experience.experience-core-page .core-skills-left {
        grid-template-columns: minmax(0, 1fr) 60px;
    }
}

/* The rounded card stays shadow-free. Only the inner surface blurs. */
html body #page-experience.experience-core-page { --experience-card-radius: 32px; }
@media (max-width: 980px) {
    html body #page-experience.experience-core-page { --experience-card-radius: 26px; }
}
html body #page-experience.experience-core-page .core-skills-slide-wrapper {
    filter: none !important;
}
html body #page-experience.experience-core-page .core-skills-card,
html body #page-experience.experience-core-page .core-skills-card:hover {
    clip-path: none !important;
    -webkit-clip-path: none !important;
    contain: none;
    border-radius: var(--experience-card-radius) !important;
    overflow: hidden !important;
    background:
        radial-gradient(ellipse 85% 90% at 12% 10%, var(--experience-neutral-light), transparent 80%),
        radial-gradient(ellipse 70% 60% at 66% 78%, var(--experience-neutral-shade), transparent 80%),
        var(--experience-frost) !important;
    box-shadow: none !important;
}
html body #page-experience.experience-core-page .core-skills-card::before,
html body #page-experience.experience-core-page .core-skills-card::after {
    content: none !important;
    display: none !important;
    filter: none !important;
}
html body #page-experience.experience-core-page .experience-card-surface {
    position: absolute;
    inset: 1px;
    z-index: 0;
    pointer-events: none;
    border: 0;
    outline: 0;
    box-shadow: none;
    border-radius: calc(var(--experience-card-radius) - 1px);
    overflow: hidden;
    contain: paint;
    clip-path: inset(0 round calc(var(--experience-card-radius) - 1px));
    -webkit-clip-path: inset(0 round calc(var(--experience-card-radius) - 1px));
}
html body #page-experience.experience-core-page .experience-card-surface::before {
    content: "";
    position: absolute;
    inset: -42px -60px auto auto;
    width: clamp(160px, 46%, 440px);
    max-width: 90%;
    aspect-ratio: 1.12;
    border-radius: 43% 57% 61% 39% / 55% 38% 62% 45%;
    background:
        radial-gradient(ellipse at 64% 30%, var(--experience-glow-strong), var(--experience-glow-mid) 32%, transparent 72%),
        radial-gradient(ellipse at 38% 58%, var(--experience-glow-mid), var(--experience-glow-soft) 40%, transparent 75%);
    filter: blur(clamp(18px, 2.4vw, 30px));
    animation: experienceGlassDrift 11s ease-in-out infinite paused;
}
html body #page-experience.experience-core-page .is-current-skill .experience-card-surface::before {
    animation-play-state: running;
}
html body #page-experience.experience-core-page .experience-card-surface::after {
    content: "";
    position: absolute;
    /* Keep the rectangular blur texture boundary well outside the visible crop. */
    inset: -48px;
    background:
        radial-gradient(ellipse 44% 38% at 18% 24%, var(--experience-frost-glint), transparent 80%),
        radial-gradient(ellipse 46% 40% at 49% 57%, var(--experience-frost-cloud), transparent 80%),
        radial-gradient(ellipse 36% 46% at 77% 74%, var(--experience-frost-glint), transparent 80%),
        radial-gradient(ellipse 32% 28% at 12% 88%, var(--experience-frost-cloud), transparent 85%);
    background-size: calc(100% - 96px) calc(100% - 96px);
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(22px);
}
@media (max-width: 599px) {
    html body #page-experience.experience-core-page .experience-card-surface::before { animation-duration: 14s; }
    html body #page-experience.experience-core-page .experience-card-surface::after { filter: blur(16px); }
}
@media (prefers-reduced-motion: reduce) {
    html body #page-experience.experience-core-page .experience-card-surface::before { animation: none; }
}

/* Alpha masks on transformed, blurred cards expose rectangular texture seams.
   Use a geometric reading-window clip; the fixed shade supplies the soft fade. */
html body #page-experience.experience-core-page .experience-skill-section.experience-skill-section {
    -webkit-mask-image: none !important;
    mask-image: none !important;
    clip-path: inset(
        max(-48px, calc(var(--experience-clip-top, -10000px) - 32px))
        -64px
        max(-48px, calc(var(--experience-clip-bottom, -10000px) - 24px))
        -64px);
}
html body #page-experience.experience-compact-cards .experience-skill-section.experience-skill-section {
    clip-path: inset(-48px -64px max(-48px, calc(var(--experience-clip-bottom, -10000px) - 24px)) -64px);
}
html body #page-experience.experience-footer-visible .experience-skill-section.experience-skill-section {
    clip-path: none;
}
html body:has(#page-experience.experience-core-page) .experience-scroll-shade {
    height: calc(180px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(to bottom, transparent, #0b0b0b 55%);
}
html body.light-mode:has(#page-experience.experience-core-page) .experience-scroll-shade {
    background: linear-gradient(to bottom, rgba(252, 252, 252, 0), #fcfcfc 55%);
}

/* Match integration support's complete neutral frosted card surface. */
html body #page-experience.experience-core-page .core-skills-card,
html body #page-experience.experience-core-page .core-skills-card:hover {
 background:var(--identity-card-paint)!important;
}
html body #page-experience.experience-core-page .experience-card-surface {display:none!important}
