:root {
    --bg: #050507;
    --surface: #0a0b0f;
    --surface-2: #0f1015;
    --line: rgba(255, 255, 255, 0.09);
    --text: #f4f5f7;
    --muted: #afb3bd;
    --accent: #a78bfa;
    --content-width: min(1180px, calc(100vw - 72px));
    --content-width-tight: min(1180px, calc(100vw - 72px));
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: -4;
    background-image: linear-gradient(transparent 97%, rgba(255, 255, 255, 0.03) 100%);
    background-size: 100% 46px;
    pointer-events: none;
}

.bg-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(110px);
    z-index: -3;
    pointer-events: none;
    animation: glowFloat 12s ease-in-out infinite alternate;
    will-change: transform;
}

.bg-glow-one {
    top: 40px;
    left: -140px;
    background: rgba(91, 63, 222, 0.25);
    animation-duration: 13s;
}

.bg-glow-two {
    top: 240px;
    right: -170px;
    background: rgba(52, 77, 190, 0.2);
    animation-duration: 16s;
    animation-delay: -2s;
}

#cursor-glow {
    position: fixed;
    left: 0;
    top: 0;
    width: 340px;
    height: 340px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    background: radial-gradient(circle, rgba(164, 123, 255, 0.24) 0%, rgba(124, 83, 233, 0.13) 36%, rgba(70, 41, 141, 0) 74%);
    mix-blend-mode: screen;
    filter: blur(20px);
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease;
}

#cursor-glow.is-active {
    opacity: 0.54;
}

header,
main,
footer {
    position: relative;
    z-index: 2;
}

@keyframes glowFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(18px, -14px, 0) scale(1.04);
    }
}

.skip-link {
    position: absolute;
    top: -50px;
    left: 1rem;
    z-index: 200;
    background: #fff;
    color: #000;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
}

.skip-link:focus {
    top: 0.8rem;
}

.progress-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    z-index: 150;
}

.progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #8f73eb, #b8a7ff);
}

.container {
    width: var(--content-width);
    margin: 0 auto;
}

.section {
    padding: 5.25rem 0;
}

.section-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
    position: sticky;
    top: 10px;
    z-index: 100;
    padding-top: 0.45rem;
}

.nav-pill {
    min-height: 46px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(10, 11, 15, 0.8);
    backdrop-filter: blur(14px);
    padding: 0.3rem 0.74rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    text-decoration: none;
    color: var(--text);
    font-size: 0.76rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    white-space: nowrap;
}

.brand-logo {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 3px 12px rgba(111, 82, 223, 0.26);
}

.nav-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: #d1d3d9;
    text-decoration: none;
    font-size: 0.72rem;
    position: relative;
    transition: color 0.24s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: rgba(165, 146, 248, 0.95);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover {
    color: #eef1f9;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a.is-active {
    color: #f7f8ff;
}

.nav-links a.is-active::after {
    transform: scaleX(1);
}

.btn-linkedin {
    text-decoration: none;
    color: #0d0d0d;
    background: #f7f7f8;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.hero {
    padding-top: 4.8rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(280px, 0.94fr);
    gap: clamp(2rem, 5vw, 4.6rem);
    align-items: center;
}

.hero-content {
    min-width: 0;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
}

.hero-portrait-shell {
    position: relative;
    width: min(100%, 460px);
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-portrait-shell::after {
    content: "";
    position: absolute;
    inset: auto 50% 14px;
    transform: translateX(-50%);
    width: 84%;
    height: 140px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(128, 96, 241, 0.45) 0%, rgba(128, 96, 241, 0.12) 45%, rgba(128, 96, 241, 0) 78%);
    filter: blur(14px);
    pointer-events: none;
    z-index: 0;
}

.hero-portrait {
    width: min(100%, 420px);
    height: auto;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 28px 44px rgba(0, 0, 0, 0.52));
}

.status-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(143, 115, 235, 0.45);
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #a997ff;
    background: rgba(103, 80, 214, 0.08);
    margin-bottom: 0.25rem;
}

h1 {
    margin: 1.15rem 0 1.2rem;
    font-size: clamp(2.9rem, 6.4vw, 5.35rem);
    line-height: 0.99;
    letter-spacing: -0.02em;
}

.hero-title {
    max-width: 13ch;
    margin: 0 0 1.3rem;
    font-size: clamp(3rem, 8vw, 6.1rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.hero-title span {
    display: block;
}

.hero-type-line {
    width: fit-content;
    min-height: 1em;
    position: relative;
    white-space: nowrap;
}

.hero-type-line.is-typing::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 0.86em;
    margin-left: 0.08em;
    background: rgba(240, 243, 255, 0.95);
    vertical-align: -0.06em;
    animation: caretBlink 0.8s steps(1, end) infinite;
}

@keyframes caretBlink {
    50% {
        opacity: 0;
    }
}

.hero-title-accent {
    background: linear-gradient(120deg, #8f73eb 8%, #b589d8 48%, #f09871 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: accentShift 5.2s ease-in-out infinite;
}

@keyframes accentShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

h2 {
    margin: 0;
    font-size: clamp(1.95rem, 3.2vw, 2.95rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
}

h3 {
    margin: 0.35rem 0 0.6rem;
    font-size: 1.02rem;
}

p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.hero-copy {
    width: min(600px, 100%);
    margin-bottom: 1.9rem;
    font-size: 1.03rem;
    line-height: 1.65;
    color: #8f96aa;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 2.95rem;
    padding: 0.42rem;
    border-radius: 1.15rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    text-decoration: none;
    border-radius: 999px;
    padding: 0.86rem 1.45rem;
    font-size: 1.03rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease,
        color 0.22s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #9b7ef8 0%, #7f5fe8 48%, #b08cff 100%);
    color: #f9f7ff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 10px 28px rgba(124, 92, 232, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    color: #eceff7;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(12, 13, 18, 0.55);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-2px);
}

.btn-primary:hover {
    box-shadow:
        0 14px 34px rgba(124, 92, 232, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(18, 19, 26, 0.82);
    box-shadow:
        0 8px 22px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 0.9rem 1.55rem;
}

.hero-btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.16) 50%,
        transparent 62%
    );
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.hero-btn-primary:hover::after {
    transform: translateX(120%);
}

.hero-btn-arrow {
    font-size: 1.05em;
    opacity: 0.92;
    transition: transform 0.22s ease;
}

.hero-btn-primary:hover .hero-btn-arrow {
    transform: translateX(4px);
}

.hero-btn-secondary,
.hero-btn-cv {
    padding: 0.84rem 1.25rem;
    font-size: 0.98rem;
}

.hero-btn-cv {
    color: #ddd2ff;
    border-color: rgba(167, 139, 250, 0.32);
    background: linear-gradient(145deg, rgba(167, 139, 250, 0.14), rgba(12, 13, 18, 0.6));
}

.hero-btn-cv:hover {
    border-color: rgba(196, 171, 255, 0.5);
    color: #f0eaff;
    background: linear-gradient(145deg, rgba(167, 139, 250, 0.22), rgba(16, 17, 24, 0.85));
}

.hero-btn-icon {
    flex-shrink: 0;
    opacity: 0.9;
}

.hero-btn-cv-extra {
    margin-left: 0.2rem;
    font-weight: 500;
    color: rgba(221, 210, 255, 0.82);
}

.hero-facts {
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.2rem;
    padding-top: 1.1rem;
    padding-bottom: 0.2rem;
}

.hero-facts span {
    display: block;
    font-size: 0.72rem;
    color: #8d93a2;
    margin-bottom: 0.3rem;
}

.hero-facts strong {
    font-size: 0.96rem;
    font-weight: 500;
}

.two-col {
    display: grid;
    grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
    gap: clamp(3rem, 5vw, 5.4rem);
    align-items: start;
}

.section-label {
    margin-bottom: 0.7rem;
    color: #c8b5ff;
    font-size: 0.78rem;
}

.section-title-small {
    font-size: clamp(1.9rem, 4vw, 2.9rem);
}

.about-title {
    max-width: 13ch;
    line-height: 1.07;
    overflow-wrap: normal;
    word-break: normal;
}

.section-head {
    margin-bottom: 2rem;
}

.section-intro {
    max-width: 600px;
    padding-top: 0.35rem;
}

.surface-card {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.01);
    border-radius: 10px;
    padding: 0.95rem 1rem;
    min-height: 112px;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.surface-card span {
    display: block;
    font-size: 0.72rem;
    color: #c9cfdb;
    margin-bottom: 0.5rem;
}

.now-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.text-flow {
    display: grid;
    gap: 1rem;
}

.about-stats {
    display: flex;
    gap: 2.4rem;
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-stats strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.about-stats span {
    color: #8f95a5;
    font-size: 0.78rem;
}

.experience-card {
    border-top: none;
    border-bottom: none;
    background: transparent;
    border-radius: 0;
    padding: 1.55rem 0;
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 2.4rem;
    position: relative;
}

.experience-card::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 16px;
    width: 260px;
    height: 220px;
    background: radial-gradient(circle, rgba(106, 76, 226, 0.18), transparent 70%);
    filter: blur(30px);
    z-index: -1;
    pointer-events: none;
}

.exp-meta {
    font-size: 0.75rem;
    color: #bcc2d0;
}

.active-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    background: #1de0a3;
    margin-bottom: 0.6rem;
}

.exp-status {
    color: #7ae7c4;
    margin-bottom: 0.3rem;
}

.exp-date {
    color: #afb6c6;
}

.exp-company {
    margin-bottom: 0.9rem;
}

.exp-content {
    display: grid;
    gap: 0.65rem;
    max-width: 760px;
}

.experience-section .container {
    width: var(--content-width);
}

.experience-head {
    margin-bottom: 1.2rem;
}

.experience-head h2 {
    max-width: 11ch;
    font-size: clamp(2.4rem, 4.3vw, 4rem);
    line-height: 1.04;
}

.experience-head .section-intro {
    padding-top: 0.15rem;
}

.experience-rule {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
}

.exp-tag {
    width: fit-content;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.35rem 0.65rem;
    font-size: 0.75rem;
    color: #c9cfde;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.work-card {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.015);
    padding: 1.1rem;
    min-height: 222px;
    display: grid;
    gap: 0.75rem;
    transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.work-kicker {
    font-size: 0.72rem;
    color: #bbb2d7;
}

.case-open-btn {
    width: fit-content;
    margin-top: 0.2rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    background: rgba(255, 255, 255, 0.02);
    color: #ecefff;
    border-radius: 999px;
    padding: 0.46rem 0.8rem;
    font-size: 0.78rem;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.case-open-btn:hover {
    border-color: rgba(177, 158, 249, 0.55);
    transform: translateY(-1px);
}

.stack-grid {
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
}

.stack-card {
    padding: 1.3rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.01);
    min-height: 248px;
    transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.stack-card:nth-child(2n) {
    border-right: none;
}

.stack-card:nth-last-child(-n + 2) {
    border-bottom: none;
}

.stack-num {
    font-size: 0.72rem;
    margin-bottom: 0.7rem;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.8rem;
}

.chips span {
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 0.67rem;
    padding: 0.22rem 0.45rem;
    color: #cdd2df;
    background: var(--surface-2);
}

.topics-grid {
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
}

.topic-card {
    padding: 1.25rem;
    border-right: 1px solid var(--line);
    min-height: 210px;
    transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.topic-card:last-child {
    border-right: none;
}

.topic-card span {
    display: block;
    color: #c6cad6;
    font-size: 0.76rem;
    margin-bottom: 0.9rem;
}

.faq-list {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.01);
}

.faq-list details:last-child {
    border-bottom: none;
}

.faq-list summary {
    list-style: none;
    min-height: 60px;
    padding: 1rem 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    color: #f0f2f8;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background-color 0.22s ease;
}

.faq-list summary span {
    color: #a4aabc;
    transition: transform 0.24s ease, color 0.24s ease;
}

.faq-list p {
    padding: 0 1.05rem 1rem;
    font-size: 0.92rem;
}

.faq-list details[open] summary span {
    transform: rotate(45deg);
    color: #d9dff2;
}

.contact-wrap {
    max-width: 760px;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    position: relative;
}

.contact-wrap::before {
    content: "";
    position: absolute;
    left: -30px;
    top: -40px;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(90, 64, 219, 0.22), transparent 70%);
    filter: blur(34px);
    z-index: -1;
    pointer-events: none;
}

.contact-copy {
    margin: 1.05rem 0 1.35rem;
    max-width: 620px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.contact-card {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.01);
    padding: 0.85rem;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.24s ease, border-color 0.24s ease, background-color 0.24s ease;
}

.contact-card span {
    display: block;
    color: #9fa6b7;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.contact-card strong {
    font-size: 0.9rem;
}

.case-modal[hidden] {
    display: none;
}

.case-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
}

.case-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 4, 8, 0.72);
    backdrop-filter: blur(4px);
}

.case-modal-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(680px, calc(100vw - 32px));
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(140deg, rgba(30, 22, 56, 0.95), rgba(12, 12, 18, 0.95));
    padding: 1.25rem 1.25rem 1.15rem;
    box-shadow: 0 22px 60px rgba(4, 4, 12, 0.62);
}

.case-close-btn {
    position: absolute;
    right: 0.7rem;
    top: 0.6rem;
    border: 0;
    background: transparent;
    color: #e9ecfa;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.case-kicker {
    color: #bcacd9;
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
}

.case-modal-dialog h3 {
    margin: 0 0 0.55rem;
    font-size: 1.45rem;
}

.case-modal-dialog p {
    margin-bottom: 0.8rem;
}

.case-points {
    margin: 0;
    padding-left: 1.2rem;
    color: #d8dbe9;
    display: grid;
    gap: 0.42rem;
}

.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.3rem 0 2.4rem;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer p,
.footer a {
    margin: 0;
    font-size: 0.74rem;
    color: #8d93a3;
    text-decoration: none;
}

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.surface-card:hover,
.stack-card:hover,
.topic-card:hover,
.contact-card:hover,
.work-card:hover {
    transform: translateY(-4px);
    border-color: rgba(182, 167, 245, 0.34);
}

.surface-card:hover,
.contact-card:hover {
    box-shadow: 0 10px 30px rgba(98, 76, 192, 0.16);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media (hover: none), (pointer: coarse) {
    #cursor-glow {
        display: none;
    }
}

@media (max-width: 900px) {
    :root {
        --content-width: min(100%, calc(100vw - 32px));
        --content-width-tight: min(100%, calc(100vw - 32px));
    }

    .nav-links {
        display: none;
    }

    .hero-facts,
    .hero-layout,
    .two-col,
    .now-grid,
    .work-grid,
    .stack-grid,
    .topics-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        justify-content: flex-start;
    }

    .hero-portrait-shell {
        width: min(100%, 380px);
        min-height: 420px;
    }

    .hero-facts {
        gap: 0.75rem;
        padding-top: 1rem;
    }

    .experience-card {
        grid-template-columns: 1fr;
    }

    .stack-card,
    .topic-card {
        border-right: none;
        border-bottom: 1px solid var(--line);
    }

    .stack-card:last-child,
    .topic-card:last-child {
        border-bottom: none;
    }

    .about-stats {
        gap: 1.2rem;
    }

    .section {
        padding: 4.2rem 0;
    }

    .about-title {
        max-width: none;
    }

    .experience-section .container {
        width: var(--content-width);
    }

    .experience-head h2 {
        max-width: none;
        font-size: clamp(2rem, 8.8vw, 3.1rem);
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(2.7rem, 12vw, 4.6rem);
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        max-width: 100%;
        gap: 0.5rem;
        padding: 0.5rem;
        margin-bottom: 2.2rem;
        border-radius: 1rem;
    }

    .hero-btn-primary {
        grid-column: 1 / -1;
        width: 100%;
        padding: 0.88rem 1.2rem;
        font-size: 0.95rem;
    }

    .hero-btn-secondary,
    .hero-btn-cv {
        width: 100%;
        min-width: 0;
        padding: 0.8rem 0.75rem;
        font-size: 0.88rem;
    }

    .hero-btn-cv-extra {
        display: none;
    }
}

@media (max-width: 380px) {
    .hero-btn-secondary,
    .hero-btn-cv {
        font-size: 0.82rem;
        padding: 0.76rem 0.55rem;
    }
}
