:root {
    --brand: #d33139;
    --brand-rgb: 211, 49, 57;
    --brand-dark: #9e242a;
    --canvas: #e8e4f4;
    --glass: rgba(255, 255, 255, 0.22);
    --glass-strong: rgba(255, 255, 255, 0.32);
    --dock-tint: rgba(var(--brand-rgb), 0.52);
    --wave: rgba(var(--brand-rgb), 0.45);
    --ink: #ffffff;
    --shadow-soft: 0 20px 50px rgba(25, 15, 40, 0.18);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--canvas);
}

body {
    margin: 0;
    min-height: 100dvh;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 10% 0%, #3a2b52 0, #130f1c 40%, #0a0810 100%);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

.canvas {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.canvas__hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100svh;
    min-height: 100dvh;
    padding: clamp(20px, 5vw, 40px);
    box-sizing: border-box;
}

.canvas__aside {
    width: 100%;
    max-width: min(640px, calc(100vw - 32px));
    margin: 0 auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (min-width: 768px) {
    /* Stack: full-viewport hero → horizontal experience → education */
    .canvas {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 0;
        gap: 0;
        padding: 0;
        max-width: none;
        margin: 0;
        width: 100%;
    }

    .canvas__hero {
        flex: none;
        width: 100%;
        min-height: 100svh;
        min-height: 100dvh;
        height: 100svh;
        height: 100dvh;
        display: flex;
        align-items: stretch;
        justify-content: stretch;
        padding: 0;
        padding-top: env(safe-area-inset-top, 0px);
        padding-right: env(safe-area-inset-right, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        padding-left: env(safe-area-inset-left, 0px);
        box-sizing: border-box;
        position: relative;
        background: #0a0a0c;
    }

    .canvas__hero::before,
    .canvas__hero::after {
        content: none;
    }

    /* Full-viewport profile card (same layout as mobile, edge-to-edge) */
    .canvas__hero .phone {
        max-width: none;
        width: 100%;
        margin-inline: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        align-self: stretch;
    }

    .canvas__hero .phone__screen {
        flex: 1;
        border-radius: 0;
        aspect-ratio: unset;
        width: 100%;
        max-width: none;
        max-height: none;
        min-height: 0;
        container-type: normal;
    }

    /* Wide screens: keep wave height sensible (avoid huge cqw when full-width) */
    .canvas__hero .dock__wave {
        height: clamp(40px, 5.5vh, 72px);
    }
}

/* Phone chassis — fit-content so bezel tracks the screen when height caps aspect ratio */
.phone {
    width: fit-content;
    max-width: min(380px, 100%);
    margin-inline: auto;
    border-radius: 46px;
    padding: 10px;
    background: linear-gradient(145deg, #2a2830 0%, #121118 100%);
    box-shadow:
        var(--shadow-soft),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.phone__screen {
    --screen-max-h: min(82dvh, 780px);
    --screen-max-w: calc(var(--screen-max-h) * 9 / 19);
    position: relative;
    border-radius: 38px;
    overflow: hidden;
    container-type: inline-size;
    container-name: phone-screen;
    /* When max-height binds, width must shrink too or the frame (and cover image) distort */
    width: min(360px, var(--screen-max-w), calc(100vw - 2 * clamp(20px, 5vw, 40px) - 20px));
    max-width: 100%;
    aspect-ratio: 9 / 19;
    max-height: var(--screen-max-h);
    background: #0a0a0c;
}

/* Mobile: edge-to-edge fullscreen (no bezel, fills viewport) */
@media (max-width: 767px) {
    /* Overlay copy is desktop-only; inline dock block shows here */
    .dock__head--overlay {
        display: none;
    }

    html,
    body {
        background: #0a0a0c;
    }

    .canvas__hero {
        padding: 0;
        align-items: stretch;
        justify-content: stretch;
        min-height: 100dvh;
        min-height: 100svh;
    }

    .phone {
        max-width: none;
        width: 100%;
        margin-inline: 0;
        border-radius: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 100dvh;
        min-height: 100svh;
    }

    .phone__screen {
        flex: 1;
        border-radius: 0;
        aspect-ratio: unset;
        width: 100%;
        max-width: none;
        max-height: none;
        min-height: 100dvh;
        min-height: 100svh;
        container-type: normal;
    }

    .menu-wrap {
        top: max(18px, env(safe-area-inset-top, 0px));
        right: max(18px, env(safe-area-inset-right, 0px));
    }
}

.phone__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

/* Top floating chat */
.fab {
    position: absolute;
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    background: rgba(var(--brand-rgb), 0.55);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

button.fab {
    cursor: pointer;
    padding: 0;
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

.fab:hover {
    transform: scale(1.05);
    background: rgba(var(--brand-rgb), 0.7);
}

.fab:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Overflow menu (top right) */
.menu-wrap {
    position: absolute;
    z-index: 4;
    top: max(18px, env(safe-area-inset-top, 0px));
    right: max(18px, env(safe-area-inset-right, 0px));
}

.menu-wrap .fab--tr {
    position: relative;
    top: auto;
    right: auto;
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(20, 18, 24, 0.72);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.menu-dropdown[hidden] {
    display: none;
}

.menu-dropdown__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.15s ease;
}

.menu-dropdown__item:hover {
    background: rgba(255, 255, 255, 0.12);
}

.menu-dropdown__item:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.menu-dropdown__item svg {
    flex-shrink: 0;
    opacity: 0.9;
}

/* Bottom glass dock */
.dock {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    color: var(--wave);
}

.dock__wave {
    display: block;
    width: 100%;
    height: clamp(36px, 9vw, 48px);
    /* Prefer card-relative sizing when container queries apply (desktop phone frame) */
    height: clamp(36px, 11cqw, 48px);
    flex-shrink: 0;
    margin-bottom: -1px;
}

.dock__panel {
    background: var(--dock-tint);
    backdrop-filter: blur(28px) saturate(1.35);
    -webkit-backdrop-filter: blur(28px) saturate(1.35);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 18px 22px;
    padding-bottom: max(22px, env(safe-area-inset-bottom, 12px));
}

.dock__toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
    padding: 0 4px;
    margin-bottom: 14px;
}

.dock__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 auto;
    margin-top: -28px;
}

@media (min-width: 768px) {
    /* Name / title / company overlay on image (right) */
    .dock__head--overlay {
        display: block;
        position: absolute;
        z-index: 3;
        top: 50%;
        right: clamp(16px, 4vw, 52px);
        left: auto;
        transform: translateY(-50%);
        text-align: right;
        max-width: min(52%, 480px);
        padding: clamp(16px, 2.5vw, 24px) clamp(18px, 3vw, 28px);
        border-radius: 18px;
        background: linear-gradient(
            270deg,
            rgba(10, 8, 20, 0.78) 0%,
            rgba(10, 8, 20, 0.42) 55%,
            transparent 100%
        );
        pointer-events: none;
        padding-right: clamp(20px, 3.5vw, 36px);
    }

    .dock__head--overlay .dock__name {
        font-size: clamp(1.85rem, 3.4vw, 2.5rem);
    }

    .dock__head--overlay .dock__title {
        margin-top: 8px;
        font-size: clamp(1.05rem, 1.85vw, 1.28rem);
    }

    .dock__head--overlay .dock__company {
        margin-top: 6px;
        font-size: clamp(0.95rem, 1.55vw, 1.12rem);
    }

    .dock__head--inline {
        display: none;
    }

    .dock__panel {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: clamp(12px, 2vw, 18px);
        padding: 10px 22px max(26px, env(safe-area-inset-bottom, 14px));
    }

    .dock__toolbar {
        margin-bottom: 0;
        padding: 0;
        justify-content: space-between;
    }

    .dock__meta {
        text-align: center;
        padding-right: 0;
    }

    .dock__meta .logo-strip {
        margin-top: 4px;
    }
}

/* Circular controls */
.orb {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.orb:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.orb--glass {
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.orb--glass:hover {
    transform: scale(1.06);
    background: var(--glass-strong);
}

.orb--brand {
    position: relative;
    background: rgba(var(--brand-rgb), 0.85);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.orb--brand:hover {
    transform: scale(1.06);
}

.orb__dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ff3b3b;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.orb--brand-light {
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.orb--brand-light:hover {
    transform: scale(1.06);
    background: rgba(255, 255, 255, 0.24);
}

.orb--call {
    width: 74px;
    height: 74px;
    background: linear-gradient(165deg, #f0444a 0%, var(--brand) 45%, var(--brand-dark) 100%);
    border: 3px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(0, 0, 0, 0.1) inset;
}

.orb--call:hover {
    transform: scale(1.05);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 0, 0, 0.1) inset;
}

.orb--call svg {
    color: #fff;
}

/* Name block */
.dock__meta {
    text-align: right;
    padding-right: 0;
}

.dock__head {
    padding-right: 4px;
}

.dock__name {
    margin: 0;
    font-size: clamp(1.45rem, 4.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.dock__title {
    margin: 6px 0 0;
    font-size: clamp(0.95rem, 2.8vw, 1.08rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.dock__company {
    margin: 4px 0 0;
    font-size: clamp(0.88rem, 2.5vw, 1rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* Partner logos — horizontal scroll */
.logo-strip {
    margin-top: 16px;
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
    text-align: left;
}

.logo-strip__scroll {
    direction: ltr;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
    outline: none;
}

.logo-strip__scroll:focus-visible {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

.logo-strip__scroll::-webkit-scrollbar {
    height: 4px;
}

.logo-strip__scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 4px;
}

.logo-strip__track {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 6px 18px 10px 10px;
    width: max-content;
    min-height: 52px;
}

.logo-strip__track li {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.logo-strip__track img {
    display: block;
    height: 32px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    object-position: center;
}

.logo-strip__track img.logo-strip__img--petromin {
    height: 24px;
    max-width: 120px;
}

@media (min-width: 768px) {
    .logo-strip__track {
        min-height: 60px;
    }

    .logo-strip__track li {
        height: 56px;
        min-height: 56px;
        padding: 0 14px;
    }

    .logo-strip__track img {
        height: 40px;
        max-width: 200px;
    }

    .logo-strip__track img.logo-strip__img--petromin {
        height: 32px;
        max-width: 160px;
    }
}

@media (max-width: 360px) {
    .orb {
        width: 46px;
        height: 46px;
    }

    .orb--call {
        width: 66px;
        height: 66px;
    }

    .dock__toolbar {
        padding: 0;
        gap: 4px;
    }
}

/* After base .dock__wave so mobile overrides cqw-based height */
@media (max-width: 767px) {
    .dock__wave {
        height: clamp(36px, 9vw, 48px);
    }
}

/* Education — below the fold */
.education {
    width: 100%;
    margin: 0;
    padding: 8px 24px 48px;
    box-sizing: border-box;
    color: #1e1b24;
    container-type: inline-size;
    container-name: education;
}

.education__heading {
    margin: 0 0 20px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #121118;
}

.education__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.education__item {
    margin: 0;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(30, 27, 36, 0.08);
    box-shadow: 0 8px 28px rgba(25, 15, 40, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.education__logo-wrap {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(30, 27, 36, 0.07);
}

.education__logo {
    display: block;
    max-width: 86%;
    max-height: 86%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.education__body {
    flex: 1;
    min-width: 0;
}

.education__degree {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #121118;
}

.education__school {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(30, 27, 36, 0.75);
}

.education__period {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(30, 27, 36, 0.55);
}

.education__detail {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(30, 27, 36, 0.62);
    line-height: 1.4;
}

/* Experience */
.experience {
    width: 100%;
    margin: 0;
    padding: 8px 24px 0;
    box-sizing: border-box;
    color: #1e1b24;
    container-type: inline-size;
    container-name: experience;
}

.experience__heading {
    margin: 0 0 20px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #121118;
}

.experience__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}

@media (min-width: 768px) {
    .experience__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(20px, 3vw, 28px);
        padding: 0;
        overflow: visible;
        align-items: start;
        max-width: 1100px;
        margin-inline: auto;
    }
}

@container experience (max-width: 720px) {
    .experience__grid {
        grid-template-columns: 1fr;
    }
}

.experience__col {
    min-width: 0;
}

.experience__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.experience__item {
    margin: 0;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(30, 27, 36, 0.08);
    box-shadow: 0 8px 28px rgba(25, 15, 40, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

@media (min-width: 768px) {
    /* Desktop: two-column résumé-style cards */
    .experience {
        position: relative;
        padding: clamp(48px, 7vw, 88px) clamp(28px, 5vw, 56px) clamp(40px, 6vw, 72px);
        background:
            radial-gradient(ellipse 80% 50% at 100% 0%, rgba(211, 49, 57, 0.12), transparent 55%),
            radial-gradient(ellipse 60% 40% at 0% 100%, rgba(99, 85, 180, 0.08), transparent 50%),
            linear-gradient(165deg, #0b090f 0%, #15121c 42%, #0e0c12 100%);
    }

    .experience__heading {
        max-width: 1100px;
        margin-inline: auto;
        margin-bottom: clamp(28px, 4vw, 40px);
        padding-bottom: clamp(16px, 2.5vw, 22px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
    }

    .experience__heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 56px;
        height: 3px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--brand), rgba(211, 49, 57, 0.35));
    }

    .experience__col {
        display: block;
        min-width: 0;
    }

    .experience__list {
        gap: clamp(14px, 2vw, 18px);
    }

    .experience__item {
        position: relative;
        margin: 0;
        width: auto;
        max-width: none;
        transform: none;
        text-align: left;
        padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.5vw, 24px);
        padding-left: clamp(20px, 2.8vw, 26px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-left: 3px solid var(--brand);
        background: rgba(255, 255, 255, 0.06);
        box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(20px) saturate(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .experience__item:hover {
        background: rgba(255, 255, 255, 0.09);
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .experience__item::before {
        content: none;
    }

    .experience__role {
        font-size: clamp(1rem, 1.35vw, 1.12rem);
        letter-spacing: -0.02em;
    }

    .experience__org {
        font-size: clamp(0.88rem, 1.15vw, 0.98rem);
    }

    /* Education — match experience desktop treatment */
    .education {
        padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px);
        background:
            radial-gradient(ellipse 80% 50% at 0% 0%, rgba(211, 49, 57, 0.12), transparent 55%),
            radial-gradient(ellipse 60% 40% at 100% 100%, rgba(99, 85, 180, 0.08), transparent 50%),
            linear-gradient(165deg, #0e0c12 0%, #15121c 42%, #0b090f 100%);
        color: rgba(255, 255, 255, 0.92);
    }

    .education__heading {
        max-width: 1100px;
        margin-inline: auto;
        margin-bottom: clamp(28px, 4vw, 40px);
        padding-bottom: clamp(16px, 2.5vw, 22px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        position: relative;
        color: #fff;
        font-size: clamp(1.35rem, 2.4vw, 1.65rem);
        letter-spacing: -0.03em;
        font-weight: 700;
    }

    .education__heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 56px;
        height: 3px;
        border-radius: 3px;
        background: linear-gradient(90deg, var(--brand), rgba(211, 49, 57, 0.35));
    }

    .education__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(20px, 3vw, 28px);
        max-width: 1100px;
        margin-inline: auto;
        padding: 0;
    }

    .education__item {
        padding: clamp(16px, 2.2vw, 22px) clamp(18px, 2.5vw, 24px);
        padding-left: clamp(20px, 2.8vw, 26px);
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-left: 3px solid var(--brand);
        background: rgba(255, 255, 255, 0.06);
        box-shadow:
            0 4px 24px rgba(0, 0, 0, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(20px) saturate(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .education__item:hover {
        background: rgba(255, 255, 255, 0.09);
        border-color: rgba(255, 255, 255, 0.18);
        box-shadow:
            0 12px 40px rgba(0, 0, 0, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .education__logo-wrap {
        width: 56px;
        height: 56px;
        border-radius: 11px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.32);
    }

    .education__logo {
        max-width: 92%;
        max-height: 92%;
    }

    .education__degree {
        font-size: clamp(1rem, 1.35vw, 1.12rem);
        letter-spacing: -0.02em;
        color: #fff;
    }

    .education__school {
        font-size: clamp(0.88rem, 1.15vw, 0.98rem);
        color: rgba(255, 255, 255, 0.82);
    }

    .education__period,
    .education__detail {
        color: rgba(255, 255, 255, 0.65);
    }

    @container education (max-width: 720px) {
        .education__list {
            grid-template-columns: 1fr;
        }
    }
}

.experience__logo-wrap {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(30, 27, 36, 0.07);
}

.experience__logo {
    display: block;
    max-width: 86%;
    max-height: 86%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.experience__logo--petromin {
    max-width: 76%;
    max-height: 68%;
}

@media (min-width: 768px) {
    .experience__logo-wrap {
        width: 56px;
        height: 56px;
    }

    .experience__logo {
        max-width: 92%;
        max-height: 92%;
    }

    .experience__logo--petromin {
        max-width: 82%;
        max-height: 76%;
    }
}

.experience__body {
    flex: 1;
    min-width: 0;
}

.experience__role {
    margin: 0 0 6px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: #121118;
}

.experience__org {
    margin: 0;
    font-size: 0.86rem;
    font-weight: 500;
    color: rgba(30, 27, 36, 0.75);
}

html.profile-js .education:not(.is-visible),
html.profile-js .experience:not(.is-visible) {
    opacity: 0;
    transform: translateY(18px);
}

html.profile-js .education.is-visible,
html.profile-js .experience.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

@media (prefers-reduced-motion: reduce) {
    html.profile-js .education:not(.is-visible),
    html.profile-js .education.is-visible,
    html.profile-js .experience:not(.is-visible),
    html.profile-js .experience.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

@media (max-width: 767px) {
    .canvas__aside {
        max-width: 100%;
        gap: 0;
        padding: 0 0 max(40px, env(safe-area-inset-bottom, 20px));
    }

    .education {
        color: rgba(255, 255, 255, 0.92);
        padding: 8px 20px 0;
    }

    .education__heading {
        color: #fff;
    }

    .education__item {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: none;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .education__logo-wrap {
        background: rgba(255, 255, 255, 0.96);
        border-color: rgba(255, 255, 255, 0.22);
    }

    .education__degree {
        color: #fff;
    }

    .education__school {
        color: rgba(255, 255, 255, 0.78);
    }

    .education__period {
        color: rgba(255, 255, 255, 0.55);
    }

    .education__detail {
        color: rgba(255, 255, 255, 0.65);
    }

    .experience {
        color: rgba(255, 255, 255, 0.92);
        padding: 16px 20px 8px;
    }

    .experience__heading {
        color: #fff;
    }

    .experience__item {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.14);
        box-shadow: none;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .experience__logo-wrap {
        background: rgba(255, 255, 255, 0.96);
        border-color: rgba(255, 255, 255, 0.22);
    }

    .experience__role {
        color: #fff;
    }

    .experience__org {
        color: rgba(255, 255, 255, 0.78);
    }

}

@media (min-width: 768px) {
    .canvas__aside {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px);
        display: flex;
        flex-direction: column;
        gap: 0;
        box-sizing: border-box;
    }

    .canvas__aside::before,
    .canvas__aside::after {
        content: none;
    }

    .education {
        width: 100%;
    }

    .experience {
        width: 100%;
    }

    .experience__heading {
        color: #fff;
        font-size: clamp(1.35rem, 2.4vw, 1.65rem);
        letter-spacing: -0.03em;
        font-weight: 700;
    }

    .experience__logo-wrap {
        background: rgba(255, 255, 255, 0.96);
        border-color: rgba(255, 255, 255, 0.32);
    }

    .experience__role {
        color: #fff;
    }

    .experience__org {
        color: rgba(255, 255, 255, 0.82);
    }
}
