:root {
    --bg: #202020;
    --bg-soft: #303030;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-strong: rgba(255, 255, 255, 0.06);
    --text: #dddddd;
    --muted: #a8a8a8;
    --border: rgba(255, 255, 255, 0.12);
    --accent: #68cfff;
    --accent-2: #8fe2ff;
    --container: 1148px;
    --anton: "Anton", sans-serif;
    --body: "Roboto Flex", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background:
        radial-gradient(circle at top left, rgba(104, 207, 255, 0.1), transparent 24rem),
        radial-gradient(circle at 90% 16%, rgba(143, 226, 255, 0.08), transparent 18rem),
        linear-gradient(180deg, #212121 0%, #1d1d1d 100%);
    color: var(--text);
    font-family: var(--body);
    min-height: 100vh;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

body.intro-active {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    color: inherit;
    font: inherit;
    background: none;
    border: 0;
}

.page-shell {
    position: relative;
    isolation: isolate;
}

.particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.intro-loader {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    overflow: hidden;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}

.intro-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-loader::before,
.intro-loader::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000000;
    transform: translateY(0);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-loader::after {
    background: #111111;
    transition-delay: 0.08s;
}

.intro-loader.is-hidden::before {
    transform: translateY(-100%);
}

.intro-loader.is-hidden::after {
    transform: translateY(100%);
}

.intro-name {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.03em;
    font-family: var(--anton);
    font-size: clamp(4.5rem, 18vw, 12rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #d9d9d9;
    white-space: nowrap;
    overflow: hidden;
    max-width: calc(100vw - 2rem);
    justify-content: center;
}

.intro-name span {
    display: inline-block;
    transform: translateY(110%);
    animation: introLetterIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: calc(var(--intro-index) * 0.05s);
}

@keyframes introLetterIn {
    to {
        transform: translateY(0);
    }
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
    padding: 1.25rem 0 0;
}

.brand {
    font-family: var(--anton);
    font-size: 1.45rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.92);
}

.menu-toggle {
    position: relative;
    width: 3.3rem;
    height: 3.3rem;
    z-index: 45;
    border-radius: 999px;
    cursor: pointer;
}

.menu-toggle span {
    position: absolute;
    left: 50%;
    width: 46%;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.28s ease, opacity 0.25s ease, width 0.25s ease;
}

.menu-toggle span:nth-child(1) {
    top: calc(50% - 8px);
    transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
    top: calc(50% + 8px);
    transform: translate(-50%, -50%);
}

.menu-open .menu-toggle {
    opacity: 0;
    pointer-events: none;
}

.drawer-close {
    position: absolute;
    top: 1.4rem;
    right: 1.6rem;
    width: 3.3rem;
    height: 3.3rem;
    z-index: 46;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.drawer-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.drawer-close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46%;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
}

.drawer-close span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.drawer-close span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 50;
    backdrop-filter: blur(2px);
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(40rem, calc(100vw - 2rem));
    height: 100dvh;
    padding: 8.2rem 2.2rem 3rem;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 50%, #1a1a1a 100%);
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 55;
    overflow: hidden;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
}

.drawer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(104, 207, 255, 0.05) 0%, transparent 50%);
    z-index: -1;
}

.menu-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.menu-open .drawer {
    transform: translateX(0);
}

.menu-open .site-header {
    pointer-events: none;
}

.drawer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-content: start;
    height: 100%;
    max-width: 28rem;
    margin: 0 auto;
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

.drawer-label {
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.drawer-list {
    list-style: none;
    display: grid;
    gap: 0.4rem;
}

.drawer-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0.4rem 0.6rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 400;
    letter-spacing: 0.02em;
    border-radius: 0.4rem;
    margin: -0.1rem 0;
    overflow-wrap: anywhere;
}

.drawer-link:hover {
    color: var(--accent);
    transform: translateX(3px);
    background: rgba(104, 207, 255, 0.1);
}

.drawer-nav button,
.drawer-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 0.4rem 0.6rem;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    width: 100%;
    font-weight: 400;
    letter-spacing: 0.02em;
    border-radius: 0.4rem;
    margin: -0.1rem 0;
}

.drawer-nav button:hover,
.drawer-nav a:hover {
    color: var(--accent);
    transform: translateX(3px);
    background: rgba(104, 207, 255, 0.1);
}

.drawer-dot {
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.6rem;
    transition: transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.drawer-dot svg {
    width: 1.05rem;
    height: 1.05rem;
}

.drawer-nav button:hover .drawer-dot,
.drawer-nav a:hover .drawer-dot,
.drawer-nav button.is-active .drawer-dot {
    transform: scale(1.12);
}

.drawer-dot--home {
    background: #f1c40f;
    color: #111;
}

.drawer-dot--about {
    background: #3498db;
    color: #fff;
}

.drawer-dot--experience {
    background: #15b8a6;
    color: #fff;
}

.drawer-dot--projects {
    background: #6366f1;
    color: #fff;
}

.drawer-dot--contact {
    background: #1cff68;
    color: #111;
}

.fixed-mail {
    position: fixed;
    left: 0;
    bottom: 8rem;
    padding: 0.25rem 0.85rem;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.08em;
    color: var(--muted);
    z-index: 12;
    transition: color 0.2s ease;
}

.fixed-mail:hover {
    color: var(--text);
}

.progress-rail {
    position: fixed;
    right: 2%;
    top: 50vh;
    transform: translateY(-50%);
    width: 0.38rem;
    height: 6.25rem;
    border-radius: 999px;
    background: var(--bg-soft);
    overflow: hidden;
    z-index: 12;
}

.progress-fill {
    width: 100%;
    height: 0%;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--accent) 0%, #2da7ff 100%);
    transition: height 0.15s linear;
}

.ambient-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(12px);
    opacity: 0.18;
    z-index: -2;
}

.ambient-orb--one {
    top: 12%;
    left: -4rem;
    width: 9rem;
    height: 9rem;
    background: rgba(255, 255, 255, 0.16);
}

.ambient-orb--two {
    top: 36%;
    right: 7%;
    width: 4rem;
    height: 4rem;
    background: rgba(104, 207, 255, 0.18);
}

.ambient-orb--three {
    bottom: 18%;
    left: 20%;
    width: 5rem;
    height: 5rem;
    background: rgba(66, 215, 255, 0.16);
}

.hero {
    position: relative;
    min-height: 100svh;
    padding: 5rem 0 2.5rem;
    overflow: hidden;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-stats {
    z-index: 2;
}

.hero-grid {
    min-height: calc(100svh - 5rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.hero-copy {
    max-width: 34rem;
}

.eyebrow-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.status-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: #fff;
}

.hero-title {
    font-family: var(--anton);
    font-size: clamp(3.8rem, 9vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-title .offset {
    display: inline-block;
    margin-left: 1rem;
}

.hero-description {
    margin-top: 1.5rem;
    max-width: 33rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
}

.hero-description strong {
    color: var(--text);
    font-weight: 500;
}

.hero-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 2.25rem;
    min-height: 3rem;
    padding: 0.8rem 2rem;
    background: var(--accent);
    color: #111;
    text-transform: uppercase;
    font-family: var(--anton);
    letter-spacing: 0.13em;
    font-size: 1rem;
}

.hero-cta span {
    position: relative;
    z-index: 1;
}

.hero-cta::before {
    content: "";
    position: absolute;
    top: 180%;
    left: 0;
    right: 0;
    height: 100%;
    background: #fff;
    border-radius: 50%;
    transform: scale(1.45);
    transition: top 0.4s ease;
}

.hero-cta:hover::before {
    top: 0;
}

.hero-stats {
    position: absolute;
    right: 4%;
    bottom: 10%;
    display: grid;
    gap: 1.5rem;
    text-align: right;
}

.hero-stat-number {
    font-family: var(--anton);
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.hero-stat-label {
    color: var(--muted);
    font-size: 1rem;
}

.hero-arrow {
    position: absolute;
    left: 50%;
    bottom: 4.7rem;
    transform: translateX(-50%);
    width: min(23.5rem, 58vw);
    height: auto;
    opacity: 0.92;
}

.section {
    padding: 0 0 14rem;
}

.lead-section h2 {
    max-width: 50rem;
    font-size: clamp(2.5rem, 7vw, 4rem);
    font-weight: 100;
    line-height: 1.1;
    margin-bottom: 5rem;
}

.micro-label {
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.split-copy {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 2rem;
    margin-top: 2.25rem;
}

.split-copy h3 {
    font-size: clamp(2.4rem, 5vw, 3rem);
    line-height: 1.05;
}

.split-copy p {
    max-width: 28rem;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.split-copy p+p {
    margin-top: 0.75rem;
}

.section-kicker {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.stack-mark {
    color: rgba(255, 255, 255, 0.82);
    font-size: 2.45rem;
    line-height: 1;
    display: inline-block;
    animation: stackSpin 10s linear infinite;
    transform-origin: center;
}

@keyframes stackSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.section-kicker h2,
.section-heading {
    font-family: var(--anton);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stack-section {
    position: relative;
    overflow: hidden;
}

.stack-section::before {
    content: "";
    position: absolute;
    inset: 5rem 0 2rem 0;
    background-image:
        radial-gradient(circle at 12% 22%, rgba(255, 255, 255, 0.45) 0 2px, transparent 2.5px),
        radial-gradient(circle at 34% 40%, rgba(255, 255, 255, 0.28) 0 1.5px, transparent 2px),
        radial-gradient(circle at 65% 28%, rgba(255, 255, 255, 0.22) 0 1.5px, transparent 2px),
        radial-gradient(circle at 82% 62%, rgba(255, 255, 255, 0.3) 0 2px, transparent 2.5px),
        radial-gradient(circle at 52% 78%, rgba(255, 255, 255, 0.2) 0 1.5px, transparent 2px);
    opacity: 0.35;
    pointer-events: none;
    animation: particleDrift 12s ease-in-out infinite alternate;
}

@keyframes particleDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(0, -18px, 0);
    }
}

.stack-stream {
    position: relative;
    z-index: 1;
    display: grid;
}

.stack-row {
    display: grid;
    grid-template-columns: minmax(12rem, 18rem) 1fr;
    gap: 2.75rem;
    align-items: start;
    padding: 2rem 0 2.4rem;
    border-top: 1px solid var(--border);
}

.stack-row:last-child {
    border-bottom: 1px solid var(--border);
}

.stack-title {
    font-family: var(--anton);
    font-size: clamp(2.7rem, 5vw, 3.65rem);
    line-height: 0.96;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    padding-top: 0.15rem;
}

.stack-skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.55rem 2.5rem;
    max-width: 48rem;
    min-height: 4rem;
}

.stack-skill {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    line-height: 1.3;
    transform: translateY(0);
    transition: transform 0.25s ease, color 0.25s ease;
    animation: badgeFloat 3.8s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.stack-skill:hover {
    color: #ffffff;
    transform: translateY(-4px);
}

@keyframes badgeFloat {

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

    50% {
        transform: translateY(-4px);
    }
}

.stack-skill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.2rem;
    height: 3.2rem;
    padding: 0 0.5rem;
    border-radius: 0.8rem;
    background: var(--badge-color, #ffffff);
    color: var(--badge-text, #111111);
    font-weight: 800;
    letter-spacing: -0.04em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 2rem;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
    position: relative;
    overflow: hidden;
}

.stack-skill-badge i {
    font-size: 2rem;
}

.stack-skill-badge-text {
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
}

.stack-skill-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0.6;
}

.stack-skill-name {
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
}

.experience-list {
    display: grid;
    gap: 2rem;
    border-top: 1px solid var(--border);
}

.experience-item {
    padding-top: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2rem;
}

.experience-company {
    color: var(--muted);
    font-size: 1.2rem;
}

.experience-role {
    font-family: var(--anton);
    font-size: clamp(2.7rem, 5vw, 3.6rem);
    line-height: 0.98;
    margin: 0.9rem 0 0.6rem;
}

.experience-period {
    color: var(--muted);
    font-size: 1.05rem;
}

.project-list {
    display: grid;
    gap: 1rem;
}

.project-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.4rem;
    align-items: start;
    padding: 1.8rem 0;
    border-top: 1px solid var(--border);
    transition: opacity 0.28s ease;
}

.project-row > div {
    min-width: 0;
}

.project-list:hover .project-row {
    opacity: 0.36;
}

.project-list:hover .project-row:hover {
    opacity: 1;
}

.project-index {
    font-family: var(--anton);
    color: var(--muted);
    font-size: 1.1rem;
    min-width: 3rem;
}

.project-title {
    font-family: var(--anton);
    font-size: clamp(2.5rem, 5vw, 3.9rem);
    line-height: 0.98;
    background: linear-gradient(90deg, var(--accent) 0 50%, var(--text) 50% 100%);
    background-size: 200% 100%;
    background-position: right;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position 0.55s ease;
}

.project-row:hover .project-title {
    background-position: left;
}

.project-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 340px;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface-strong);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 90;
    opacity: 0;
    transform: scale(0.94);
    transition: opacity 0.22s ease, transform 0.22s ease;
    will-change: opacity;
}

.project-preview.is-visible {
    opacity: 1;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.project-preview img.is-loaded {
    opacity: 1;
}

@media (hover: none), (pointer: coarse) {
    .project-preview {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-preview,
    .project-preview img {
        transition: none;
    }
}

.project-description {
    margin-top: 0.85rem;
    max-width: 34rem;
    color: var(--muted);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1rem;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--muted);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.project-tag::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--bg-soft);
    flex-shrink: 0;
}

.project-link-note {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.72rem;
    white-space: nowrap;
    margin-top: 0.45rem;
}

.project-link-note::after {
    content: "";
    width: 0.85em;
    height: 0.85em;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
}

.contact-footer {
    padding-bottom: 2.5rem;
}

.footer-shell {
    padding-top: 2rem;
    min-height: 20rem;
}

.footer-main {
    text-align: center;
    max-width: 78rem;
    margin: 0 auto;
}

.contact-footer p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-mail {
    display: block;
    margin: 1.1rem auto 0;
    font-family: var(--anton);
    font-size: clamp(2.35rem, 4.9vw, 4.15rem);
    line-height: 0.98;
    max-width: 26ch;
    width: 100%;
    overflow-wrap: anywhere;
}

.contact-mail:hover {
    text-decoration: underline;
}

.credit {
    position: static;
    align-items: center;
    text-align: center;
    display: inline-flex;
    flex-direction: column;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.95rem;
    margin: 2rem auto 0;
    width: 100%;
}

.credit:hover {
    color: var(--text);
}

.credit-metrics {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.84rem;
}

.contribution-graph-container {
    margin-top: 2rem;
    transform: scale(1.1);
    transform-origin: top center;
}

.contribution-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.contributions-count {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
}

.year-selector {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.year-btn {
    padding: 0.4rem 0.8rem;
    background: var(--bg-soft);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 0.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.year-btn:hover {
    background: var(--surface-strong);
    border-color: var(--accent);
    color: var(--accent);
}

.year-btn.active {
    background: var(--accent);
    color: #111;
    border-color: var(--accent);
}

.contribution-graph {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-rows: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 1rem;
    padding: 1.2rem;
    background: var(--surface);
    border-radius: 0.8rem;
    overflow: hidden;
}

.contribution-day {
    width: 100%;
    height: 15px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.contribution-day:hover {
    transform: scale(1.2);
    border: 1px solid var(--accent);
    z-index: 10;
}

.contribution-day.box-0 {
    background: var(--bg);
}

.contribution-day.box-1 {
    background: #9be9a8;
}

.contribution-day.box-2 {
    background: #40c463;
}

.contribution-day.box-3 {
    background: #30a14e;
}

.contribution-day.box-4 {
    background: #216e39;
}

.contributions-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
}

.legend-colors {
    display: flex;
    gap: 2px;
}

.legend-color-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color-box.box-0 {
    background: var(--bg);
    border: 1px solid var(--border);
}

.legend-color-box.box-1 {
    background: #9be9a8;
}

.legend-color-box.box-2 {
    background: #40c463;
}

.legend-color-box.box-3 {
    background: #30a14e;
}

.legend-color-box.box-4 {
    background: #216e39;
}

.contribution-tooltip {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-soft);
    color: var(--text);
    padding: 0.8rem 1.2rem;
    border-radius: 0.6rem;
    font-size: 1rem;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--accent);
    min-width: 180px;
    text-align: center;
    line-height: 1.4;
}

.contribution-day:hover .contribution-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .contribution-graph-container {
        transform: scale(1.05);
    }

    .contribution-graph {
        grid-template-columns: repeat(53, 1fr);
        gap: 3px;
        padding: 0.8rem;
    }

    .contribution-day {
        height: 12px;
    }

    .contribution-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .year-selector {
        order: -1;
        justify-content: flex-start;
    }

    .contributions-count {
        font-size: 1.2rem;
    }
}

.credit-metric {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

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

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero-grid {
        align-items: flex-start;
        padding-top: 4rem;
    }

    .hero-stats {
        position: static;
        margin-top: 2.5rem;
        text-align: left;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-arrow {
        bottom: 2.5rem;
    }

    .stack-mark {
        font-size: 2rem;
    }

    .stack-title {
        font-size: clamp(2.2rem, 14vw, 3rem);
    }

    .stack-skill {
        font-size: 1.05rem;
    }

    .stack-skill-badge {
        min-width: 2.7rem;
        height: 2.7rem;
        border-radius: 0.8rem;
        font-size: 0.9rem;
    }

    .project-row {
        grid-template-columns: auto 1fr;
    }

    .project-link-note {
        grid-column: 2;
    }
}

@media (max-width: 900px) {
    .section {
        padding-bottom: 9rem;
    }

    .split-copy {
        grid-template-columns: 1fr;
    }

    .stack-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stack-skill-list {
        gap: 1.25rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding-top: 1rem;
    }

    .fixed-mail,
    .progress-rail {
        display: none;
    }

    .hero {
        padding-top: 4.4rem;
    }

    .hero-grid {
        min-height: auto;
        display: block;
        padding-bottom: 4rem;
    }

    .hero-title .offset {
        margin-left: 0.5rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .hero-arrow {
        width: 78vw;
        bottom: 1rem;
    }

    .drawer {
        width: calc(100vw - 1.5rem);
        max-width: none;
        padding-top: 6.25rem;
    }

    .drawer::before {
        inset: -8% -10% -8% 10%;
        border-radius: 2.4rem 0 0 2.4rem;
    }

    .lead-section h2 {
        margin-bottom: 3rem;
    }

    .footer-shell {
        min-height: auto;
        padding-top: 1rem;
    }

    .footer-main {
        text-align: center;
    }

    .credit {
        position: static;
        align-items: center;
        text-align: center;
        margin-top: 1.5rem;
    }

    .credit-metrics {
        justify-content: center;
    }

    .project-row {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .project-link-note {
        grid-column: auto;
        justify-self: flex-start;
    }
}

@media (max-width: 640px) {
    .container,
    .site-header {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .intro-name {
        font-size: clamp(3rem, 14vw, 4.75rem);
        line-height: 0.95;
        white-space: normal;
        flex-wrap: wrap;
    }

    .brand {
        font-size: 1.25rem;
    }

    .menu-toggle,
    .drawer-close {
        width: 3rem;
        height: 3rem;
    }

    .drawer {
        width: 100vw;
        padding: 5.75rem 1rem 2rem;
    }

    .drawer-close {
        top: 0.9rem;
        right: 1rem;
    }

    .drawer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: none;
        padding-top: 0;
        overflow-y: auto;
        padding-right: 0.25rem;
    }

    .hero {
        min-height: auto;
        padding: 4rem 0 2rem;
    }

    .hero-title {
        font-size: clamp(3rem, 17vw, 4.15rem);
    }

    .hero-title .offset {
        margin-left: 0;
    }

    .hero-description,
    .split-copy p {
        font-size: 1rem;
    }

    .hero-arrow {
        display: none;
    }

    .section {
        padding-bottom: 7rem;
    }

    .lead-section h2 {
        margin-bottom: 2.5rem;
    }

    .section-kicker {
        align-items: flex-start;
    }

    .stack-skill-list {
        gap: 1rem;
    }

    .stack-skill {
        align-items: flex-start;
        font-size: 1rem;
    }

    .stack-skill-name {
        white-space: normal;
    }

    .project-title {
        font-size: clamp(2rem, 11vw, 2.8rem);
    }

    .project-description {
        max-width: none;
        font-size: 0.98rem;
    }

    .contact-card {
        padding: 1.5rem;
        border-radius: 1rem;
    }

    .contact-card-subtitle {
        font-size: 0.95rem;
    }

    .contribution-graph-container {
        transform: none;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .contribution-graph {
        width: max-content;
        min-width: 100%;
        grid-auto-columns: 0.72rem;
        gap: 3px;
        padding: 0.85rem;
    }

    .contribution-day {
        width: 0.72rem;
        height: 0.72rem;
        border-radius: 2px;
    }

    .contribution-tooltip {
        display: none;
    }

    .contributions-count {
        font-size: 1rem;
    }

    .year-btn {
        padding: 0.35rem 0.65rem;
        font-size: 0.82rem;
    }

    .credit {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .contact-submit {
        width: 100%;
    }
}

@media (hover: none) and (pointer: coarse) {
    .project-list:hover .project-row,
    .project-list:hover .project-row:hover {
        opacity: 1;
    }

    .project-row:hover .project-title {
        background-position: right;
    }

    .stack-skill:hover,
    .contribution-day:hover {
        transform: none;
    }
}

.contact-card {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    padding: 2.5rem;
    max-width: 48rem;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.contact-card-title {
    font-family: var(--anton);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.contact-card-subtitle {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 0.6rem;
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--body);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface-strong);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-submit {
    background: var(--accent);
    color: #111;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.6rem;
    font-family: var(--anton);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.contact-submit:hover {
    background: var(--accent-2);
    transform: translateY(-2px);
}

.contact-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-status {
    min-height: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--muted);
}

.contact-status.is-success {
    color: #1cff68;
}

.contact-status.is-error {
    color: #ff8a8a;
}

.recaptcha-note {
    margin: 0.5rem 0;
    color: var(--muted);
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: left;
}

.recaptcha-note a {
    color: var(--accent);
}

.error-page {
    min-height: 100vh;
}

.error-shell {
    min-height: 100vh;
}

.error-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 3.75rem 3.75rem;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 90%);
    pointer-events: none;
    z-index: -1;
}

.error-header {
    padding-bottom: 1rem;
}

.error-main {
    display: flex;
    align-items: center;
    min-height: calc(100svh - 6rem);
    padding: 3rem 0 4rem;
}

.error-hero {
    width: 100%;
}

.error-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.error-copy {
    margin: 0 auto;
    text-align: center;
}

.error-kicker {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
}

.error-code {
    margin-top: 1.5rem;
    font-family: var(--anton);
    font-size: clamp(5rem, 16vw, 10rem);
    line-height: 1;
    color: var(--accent);
}

.error-title {
    margin: 2rem auto 0;
    font-family: var(--anton);
    font-size: clamp(2.8rem, 8vw, 5rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .error-main {
        min-height: calc(100svh - 7rem);
        padding-top: 1rem;
    }

    .error-code {
        font-size: clamp(4.5rem, 24vw, 7rem);
    }

    .error-title {
        font-size: clamp(2.4rem, 11vw, 4rem);
    }

    .error-header {
        justify-content: space-between;
    }
}

.ip-page {
    min-height: 100vh;
}

.ip-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.ip-back {
    color: var(--muted);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    padding: 0.4rem 0.6rem;
    border-radius: 0.4rem;
    transition: all 0.2s ease;
}

.ip-back:hover {
    color: var(--accent);
    background: rgba(104, 207, 255, 0.1);
}

.ip-main {
    flex: 1;
    padding: 5rem 0 4rem;
}

.ip-kicker {
    margin-bottom: 2rem;
}

.ip-title {
    font-family: var(--anton);
    font-size: clamp(3rem, 9vw, 6rem);
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ip-description {
    max-width: 34rem;
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 1.5rem;
}

.ip-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.ip-cta {
    margin-top: 0;
}

.ip-viewer {
    border: 1px solid var(--border);
    border-radius: 1rem;
    overflow: hidden;
    background: var(--surface);
}

.ip-frame {
    display: block;
    width: 100%;
    height: 78vh;
    border: 0;
}

.ip-fallback {
    padding: 3rem 2rem;
    color: var(--muted);
    text-align: center;
}

.ip-fallback a {
    color: var(--accent);
}

.credentials {
    margin-top: 5rem;
}

.credentials-title {
    font-family: var(--anton);
    font-size: clamp(2.5rem, 7vw, 4rem);
    line-height: 1;
    text-transform: uppercase;
    margin-top: 2rem;
}

.ip-mobile-card {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid var(--border);
    border-radius: 1rem;
    background: var(--surface);
    transition: border-color 0.2s ease;
}

.ip-mobile-card:hover {
    border-color: var(--accent);
}

.ip-mobile-card-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.7rem;
    background: var(--accent);
    color: #111;
    font-family: var(--anton);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.ip-mobile-card-body {
    flex: 1;
    min-width: 0;
}

.ip-mobile-card-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

.ip-mobile-card-meta {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    margin-top: 0.25rem;
}

.ip-mobile-card-arrow {
    width: 1.05em;
    height: 1.05em;
    background: var(--accent);
    flex-shrink: 0;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E") no-repeat center / contain;
}

.ip-footer {
    padding-bottom: 2.5rem;
}

/* Legal / privacy page */
.legal-content {
    max-width: 46rem;
    margin-top: 2.5rem;
}

.legal-section {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.legal-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.legal-section h2 {
    font-family: var(--anton);
    font-size: 1.35rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.legal-section p,
.legal-section li {
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.legal-section p + p {
    margin-top: 0.6rem;
}

.legal-section ul {
    margin: 0.6rem 0 0 1.1rem;
    display: grid;
    gap: 0.4rem;
}

.legal-link {
    color: var(--accent);
    text-decoration: none;
}

.legal-link:hover {
    text-decoration: underline;
}

.footer-legal {
    color: var(--muted);
    font-size: 0.85rem;
    text-decoration: none;
    margin-left: 1.25rem;
    transition: color 0.25s ease;
}

.footer-legal:hover {
    color: var(--accent);
}

.drawer-dot--ip {
    background: #f97316;
    color: #fff;
}

.drawer-dot--fb {
    background: #1877f2;
    color: #fff;
}

.drawer-dot--legal {
    background: #8b5cf6;
    color: #fff;
}

@media (max-width: 768px) {
    .ip-main {
        padding-top: 3rem;
    }

    .credentials {
        margin-top: 3.5rem;
    }

    .ip-viewer {
        display: none;
    }

    .ip-mobile-card {
        display: flex;
    }

    .ip-actions {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .ip-title {
        font-size: clamp(2.2rem, 12vw, 3rem);
    }

    .credentials-title {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .ip-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .ip-cta {
        width: 100%;
    }

    .ip-back {
        font-size: 0.82rem;
    }
}

/* ============================================ */
/* Global responsive hardening — all breakpoints */
/* ============================================ */

@media (max-width: 1100px) {
    /* Fixed edge elements overlap content once container margins shrink */
    .fixed-mail,
    .progress-rail {
        display: none;
    }
}

@media (max-width: 900px) {
    /* Base clamp is too wide on tablets — let the name wrap instead of clip */
    .intro-name {
        font-size: clamp(2.75rem, 15vw, 6rem);
        line-height: 0.95;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Prevent iOS auto-zoom on focus — needs 16px minimum */
    .form-group input,
    .form-group textarea {
        font-size: 1rem;
    }

    /* Menu must scroll on short/landscape screens */
    .drawer {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Comfortable touch targets (44px guideline) */
    .drawer-nav button,
    .drawer-nav a,
    .drawer-link {
        padding: 0.65rem 0.75rem;
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .experience-role {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .lead-section h2 {
        font-size: clamp(1.85rem, 7.5vw, 3rem);
    }

    .hero-cta {
        width: 100%;
    }

    .stack-skill-badge {
        min-width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.65rem;
    }

    .stack-skill-badge i {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .year-btn {
        padding: 0.45rem 0.8rem;
    }

    .project-index {
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(2.4rem, 15vw, 3rem);
    }

    .project-title {
        font-size: clamp(1.75rem, 10vw, 2.2rem);
    }

    .credentials-title {
        font-size: 1.75rem;
    }

    .ip-title {
        font-size: 2rem;
    }

    .experience-role {
        font-size: 1.75rem;
    }
}

/* Notched devices — respect safe-area insets */
@supports (padding: max(0px)) {
    .contact-footer {
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    }

    .ip-footer {
        padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
    }

    .drawer {
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .fixed-mail {
        left: env(safe-area-inset-left);
    }
}

/* ============================================ */
/* Theme toggle                                 */
/* ============================================ */

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.theme-toggle {
    width: 3.3rem;
    height: 3.3rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.theme-toggle:hover {
    background: var(--surface-strong);
}

.theme-icon {
    width: 1.3rem;
    height: 1.3rem;
}

.theme-icon--moon {
    display: none;
}

[data-theme="light"] .theme-icon--sun {
    display: none;
}

[data-theme="light"] .theme-icon--moon {
    display: block;
}

@media (max-width: 640px) {
    .theme-toggle {
        width: 3rem;
        height: 3rem;
    }
}

/* ============================================ */
/* Light theme                                  */
/* Activated by data-theme="light" on <html>,   */
/* set by the head script (saved or OS setting) */
/* ============================================ */

[data-theme="light"] {
    --bg: #f4f4f2;
    --bg-soft: #e7e7e4;
    --surface: rgba(20, 20, 20, 0.04);
    --surface-strong: rgba(20, 20, 20, 0.07);
    --text: #1d1d1d;
    --muted: #5d5d5d;
    --border: rgba(20, 20, 20, 0.14);
    --accent: #0f86cf;
    --accent-2: #38a3dd;
}

[data-theme="light"] body {
    background:
        radial-gradient(circle at top left, rgba(15, 134, 207, 0.14), transparent 24rem),
        radial-gradient(circle at 90% 16%, rgba(56, 163, 221, 0.1), transparent 18rem),
        linear-gradient(180deg, #f8f8f6 0%, #ececea 100%);
}

[data-theme="light"] .intro-loader,
[data-theme="light"] .intro-loader::before {
    background: #f4f4f2;
}

[data-theme="light"] .intro-loader::after {
    background: #e4e4e1;
}

[data-theme="light"] .intro-name {
    color: #1d1d1d;
}

[data-theme="light"] .brand {
    color: #161616;
}

[data-theme="light"] .status-dot {
    background: var(--accent);
}

[data-theme="light"] .ambient-orb--one {
    background: rgba(15, 134, 207, 0.14);
}

[data-theme="light"] .ambient-orb--two {
    background: rgba(15, 134, 207, 0.16);
}

[data-theme="light"] .ambient-orb--three {
    background: rgba(56, 163, 221, 0.14);
}

[data-theme="light"] .hero-arrow path {
    stroke: #c9c9c6;
}

[data-theme="light"] .hero-cta {
    color: #ffffff;
}

[data-theme="light"] .hero-cta::before {
    background: #141414;
}

[data-theme="light"] .stack-mark {
    color: rgba(20, 20, 20, 0.6);
}

[data-theme="light"] .stack-title {
    color: rgba(20, 20, 20, 0.75);
}

[data-theme="light"] .stack-skill,
[data-theme="light"] .stack-skill-name {
    color: #1d1d1d;
}

[data-theme="light"] .stack-skill:hover {
    color: #000000;
}

[data-theme="light"] .stack-section::before {
    background-image:
        radial-gradient(circle at 12% 22%, rgba(20, 20, 20, 0.28) 0 2px, transparent 2.5px),
        radial-gradient(circle at 34% 40%, rgba(20, 20, 20, 0.18) 0 1.5px, transparent 2px),
        radial-gradient(circle at 65% 28%, rgba(20, 20, 20, 0.14) 0 1.5px, transparent 2px),
        radial-gradient(circle at 82% 62%, rgba(20, 20, 20, 0.2) 0 2px, transparent 2.5px),
        radial-gradient(circle at 52% 78%, rgba(20, 20, 20, 0.14) 0 1.5px, transparent 2px);
}

[data-theme="light"] .drawer {
    background: linear-gradient(135deg, #ffffff 0%, #f4f4f2 50%, #e9e9e6 100%);
}

[data-theme="light"] .drawer-overlay {
    background: rgba(0, 0, 0, 0.45);
}

[data-theme="light"] .drawer-close {
    background: rgba(20, 20, 20, 0.06);
}

[data-theme="light"] .drawer-close:hover {
    background: rgba(20, 20, 20, 0.12);
}

[data-theme="light"] .drawer-link:hover,
[data-theme="light"] .drawer-nav button:hover,
[data-theme="light"] .drawer-nav a:hover {
    background: rgba(15, 134, 207, 0.1);
}

[data-theme="light"] .contact-footer p {
    color: rgba(20, 20, 20, 0.85);
}

[data-theme="light"] .contact-submit {
    color: #ffffff;
}

[data-theme="light"] .contact-submit:hover {
    background: #0a6aa5;
}

[data-theme="light"] .year-btn.active {
    color: #ffffff;
}

[data-theme="light"] .contribution-tooltip {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .ip-mobile-card-badge {
    color: #ffffff;
}

[data-theme="light"] .ip-back:hover {
    background: rgba(15, 134, 207, 0.1);
}

[data-theme="light"] .error-shell::before {
    background:
        linear-gradient(rgba(20, 20, 20, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 20, 20, 0.05) 1px, transparent 1px);
    background-size: 3.75rem 3.75rem;
}


