: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;
}

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;
}

.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: 30;
    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: 35;
    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);
}

.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;
}

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

.drawer-nav button {
    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 {
    color: var(--accent);
    transform: translateX(3px);
    background: rgba(104, 207, 255, 0.1);
}

.drawer-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 999px;
    transition: transform 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.4rem;
    flex-shrink: 0;
}

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

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

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

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

.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-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::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-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-description {
    margin-top: 0.85rem;
    max-width: 34rem;
    color: var(--muted);
    line-height: 1.7;
}

.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: "↗";
    color: var(--accent);
    font-size: 0.9rem;
}

.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;
}

.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;
    }

    .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;
    }
}

.contact-card {
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: 1.2rem;
    padding: 2.5rem;
    max-width: 48rem;
    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;
}

.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);
}
