﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-base: #eef5ff;
    --bg-strong: #d8ecff;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-solid: #ffffff;
    --ink: #04162e;
    --ink-soft: #2c4466;
    --line: rgba(4, 22, 46, 0.14);
    --accent: #00c8ff;
    --accent-deep: #0096cf;
    --accent-alt: #ff6f3c;
    --accent-ok: #00b970;
    --status-pilot: #f6b400;
    --shadow-soft: 0 20px 45px rgba(0, 74, 127, 0.12);
    --shadow-strong: 0 28px 60px rgba(0, 55, 100, 0.2);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    --max-width: 1200px;
    --transition: 0.28s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--ink);
    background: linear-gradient(160deg, #f7fbff 0%, #ecf7ff 52%, #fef3ea 100%);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

.bg-grid,
.bg-noise,
.bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.bg-grid {
    background-image: linear-gradient(rgba(0, 88, 142, 0.09) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 88, 142, 0.09) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at 50% 40%, black 30%, transparent 84%);
}

.bg-noise {
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.42) 0 2px, transparent 3px), radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.4) 0 2px, transparent 3px);
    background-size: 140px 140px;
    opacity: 0.34;
}

.bg-glow {
    filter: blur(68px);
    opacity: 0.46;
}

.bg-glow-a {
    background: radial-gradient(circle at 25% 25%, rgba(0, 200, 255, 0.5), transparent 52%);
}

.bg-glow-b {
    background: radial-gradient(circle at 75% 75%, rgba(255, 111, 60, 0.43), transparent 52%);
}

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

.section-block {
    padding: 6rem 0;
}

.section-heading {
    margin-bottom: 2.4rem;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 700;
    color: var(--accent-deep);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.navbar {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--max-width), calc(100% - 2.5rem));
    z-index: 1000;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-strong);
    transform: translateX(-50%) translateY(-2px);
}

.nav-container {
    min-height: 68px;
    padding: 0 1.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
}

.nav-logo {
    text-decoration: none;
    color: var(--ink);
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.35rem;
    letter-spacing: 0.06em;
    font-weight: 700;
}

.nav-logo span {
    color: var(--accent-alt);
}

.nav-menu {
    display: flex;
    gap: 1.15rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--ink-soft);
    font-weight: 600;
    font-size: 0.93rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
    background: rgba(0, 200, 255, 0.16);
}

.hamburger {
    display: none;
    border: none;
    background: transparent;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--ink);
    transition: var(--transition);
}

.hero {
    padding-top: 9rem;
    position: relative;
}

.hero-shell {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.2rem;
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(0, 200, 255, 0.16);
    color: var(--accent-deep);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    margin-bottom: 1rem;
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--accent-ok);
    box-shadow: 0 0 0 0 rgba(0, 185, 112, 0.5);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 185, 112, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 185, 112, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 185, 112, 0);
    }
}

.hero-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(2.5rem, 7vw, 4.4rem);
    line-height: 1.05;
    letter-spacing: 0.015em;
}

.hero-title span {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 9px 34px rgba(255, 111, 60, 0.28);
}

.hero-subtitle {
    margin-top: 1rem;
    font-size: 1.07rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.hero-description {
    margin-top: 1.15rem;
    color: var(--ink-soft);
    max-width: 62ch;
    font-size: 1.03rem;
}

.hero-buttons {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn {
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.8rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), #29dbff);
    color: #04324a;
    box-shadow: 0 16px 32px rgba(0, 150, 207, 0.27);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 38px rgba(0, 150, 207, 0.3);
}

.btn-secondary {
    color: var(--ink);
    border: 1px solid rgba(0, 150, 207, 0.26);
    background: rgba(255, 255, 255, 0.58);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.btn-resume {
    color: #fff;
    background: linear-gradient(120deg, var(--accent-alt), #ff8f51);
    box-shadow: 0 16px 32px rgba(255, 111, 60, 0.25);
}

.btn-resume:hover {
    transform: translateY(-2px);
}

.hero-metrics {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    list-style: none;
}

.hero-metrics li {
    padding: 0.95rem;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: var(--shadow-soft);
}

.hero-metrics strong {
    display: block;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.4rem;
    color: var(--ink);
}

.hero-metrics span {
    color: var(--ink-soft);
    font-size: 0.85rem;
}

.hero-visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
    align-items: end;
    padding-top: 1rem;
}

.avatar-frame {
    width: min(390px, 85vw);
    aspect-ratio: 1;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(0, 200, 255, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    position: relative;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.orbit {
    position: absolute;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: var(--surface-solid);
    border: 1px solid rgba(0, 150, 207, 0.25);
    box-shadow: var(--shadow-soft);
    animation: floatTag 5s ease-in-out infinite;
}

.orbit-one {
    top: 6%;
    right: 0;
}

.orbit-two {
    bottom: 12%;
    left: 0;
    animation-delay: -1.3s;
}

.orbit-three {
    top: 55%;
    right: -4%;
    animation-delay: -2.6s;
}

.orbit-four {
    top: -1%;
    left: 2%;
    animation-delay: -0.8s;
}

.orbit-five {
    bottom: -2%;
    right: 15%;
    animation-delay: -1.8s;
}

.orbit-six {
    bottom: 32%;
    left: -8%;
    animation-delay: -3.1s;
}

@keyframes floatTag {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.2rem;
}

.about-card,
.fact-card,
.skill-card,
.project-card,
.status-panel,
.status-timeline,
.achievement-card,
.education-card,
.contact-item,
.contact-form,
.footer-shell {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.about-card {
    padding: 1.6rem;
}

.about-card h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.8rem;
}

.about-card p + p {
    margin-top: 0.8rem;
}

#about-text p + p {
    margin-top: 0.8rem;
}

.about-facts {
    display: grid;
    gap: 0.95rem;
}

.fact-card {
    padding: 1.15rem;
}

.fact-card h4 {
    font-family: 'Chakra Petch', sans-serif;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
}

.fact-card p {
    color: var(--ink-soft);
}

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

.skill-card {
    padding: 1.35rem 1.15rem;
    transition: var(--transition);
}

.skill-card i {
    font-size: 1.8rem;
    color: var(--accent-deep);
    margin-bottom: 0.65rem;
}

.skill-card h3 {
    font-family: 'Chakra Petch', sans-serif;
    margin-bottom: 0.35rem;
}

.skill-card p {
    font-size: 0.93rem;
    color: var(--ink-soft);
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.projects {
    position: relative;
}

.project-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 1.35rem;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.legend-dot {
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
}

.legend-dot.live {
    background: var(--accent-ok);
}

.legend-dot.building {
    background: var(--accent);
}

.legend-dot.pilot {
    background: var(--status-pilot);
}

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

.projects-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.project-card {
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.project-image {
    position: relative;
    height: 225px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 22, 46, 0.2), rgba(4, 22, 46, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.7);
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
}

.project-link-disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.project-content {
    padding: 1.15rem;
}

.project-title-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.45rem;
}

.project-title-row h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.3rem;
    line-height: 1.1;
}

.project-track {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-deep);
    font-weight: 700;
}

.project-content p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 0.95rem;
}

.project-description {
    margin-bottom: 0.65rem;
}

.project-description.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.project-description.is-expanded {
    display: block;
}

.project-read-more {
    border: none;
    background: rgba(0, 200, 255, 0.15);
    color: #0b4e67;
    border-radius: 999px;
    padding: 0.24rem 0.6rem;
    font-size: 0.76rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    cursor: pointer;
}

.project-read-more:hover {
    background: rgba(0, 200, 255, 0.28);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    border-radius: 999px;
    padding: 0.28rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: rgba(0, 200, 255, 0.15);
    color: #0b4e67;
}

.status-chip {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    border-radius: 999px;
    padding: 0.3rem 0.72rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.08em;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.75);
}

.status-live {
    color: #05321f;
    background: rgba(0, 185, 112, 0.88);
}

.status-building {
    color: #063448;
    background: rgba(0, 200, 255, 0.88);
}

.status-pilot {
    color: #3d2b00;
    background: rgba(246, 180, 0, 0.88);
}

.status {
    position: relative;
}

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

.status-panel {
    padding: 1.2rem;
}

.status-panel h3 {
    font-family: 'Chakra Petch', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.16rem;
    margin-bottom: 0.75rem;
}

.status-list,
.availability-list {
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.status-list li {
    position: relative;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.54);
}

.status-list .status-chip {
    position: static;
    display: inline-flex;
    margin-bottom: 0.5rem;
}

.status-list p {
    font-size: 0.93rem;
    color: var(--ink-soft);
}

.status-description.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.status-description.is-expanded {
    display: block;
}

.status-link {
    margin-top: 0.55rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.36rem 0.72rem;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b4e67;
    background: rgba(0, 200, 255, 0.18);
}

.status-link:hover {
    background: rgba(0, 200, 255, 0.28);
}

.status-read-more {
    margin-top: 0.45rem;
    border: none;
    background: rgba(0, 200, 255, 0.15);
    color: #0b4e67;
    border-radius: 999px;
    padding: 0.24rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
}

.status-read-more:hover {
    background: rgba(0, 200, 255, 0.25);
}

.availability-list li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--line);
    color: var(--ink-soft);
}

.availability-list li:last-child {
    border-bottom: none;
}

.status-timeline {
    margin-top: 1rem;
    padding: 1.3rem;
}

.status-timeline h3 {
    font-family: 'Chakra Petch', sans-serif;
    margin-bottom: 0.85rem;
}

.timeline-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.8rem;
    padding: 0.5rem 0;
    align-items: start;
}

.timeline-state {
    position: static;
    display: inline-flex;
    justify-content: center;
    width: fit-content;
}

.timeline-row p {
    color: var(--ink-soft);
}

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

.achievement-card {
    padding: 1.15rem;
}

.achievement-card h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.08rem;
    margin-bottom: 0.4rem;
}

.achievement-card p {
    color: var(--ink-soft);
    font-size: 0.93rem;
}

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

.education-card {
    display: flex;
    gap: 0.85rem;
    padding: 1.1rem;
    align-items: flex-start;
}

.education-card i {
    font-size: 1.35rem;
    color: var(--accent-deep);
    margin-top: 0.2rem;
}

.education-card h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
}

.institution {
    color: var(--ink-soft);
    font-size: 0.92rem;
}

.duration {
    font-size: 0.86rem;
    color: var(--accent-deep);
    font-weight: 700;
    margin-top: 0.2rem;
}

.contact-shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-info {
    display: grid;
    gap: 0.8rem;
}

.contact-item {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    transition: var(--transition);
}

.contact-item i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 200, 255, 0.18);
    color: var(--accent-deep);
}

.contact-item h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.05rem;
}

.contact-item p {
    color: var(--ink-soft);
    font-size: 0.9rem;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.contact-form {
    padding: 1.2rem;
}

.form-group {
    margin-bottom: 0.85rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 0.34rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.82);
    color: var(--ink);
    padding: 0.72rem 0.8rem;
    font: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.16);
}

.footer {
    padding: 1.2rem 0 2rem;
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
}

.footer-logo {
    text-decoration: none;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1.25rem;
    color: var(--ink);
    font-weight: 700;
}

.footer-logo span {
    color: var(--accent-alt);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.92rem;
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--ink);
}

.footer-social {
    display: flex;
    gap: 0.55rem;
}

.footer-social a {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(0, 200, 255, 0.15);
    color: var(--ink);
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: rgba(255, 111, 60, 0.24);
}

.footer-copy {
    text-align: center;
    margin-top: 0.95rem;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.floating-cta {
    position: fixed;
    bottom: 1.2rem;
    right: 1.2rem;
    z-index: 990;
}

.cta-button {
    width: 60px;
    height: 60px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--accent), #22ddff);
    color: #04324a;
    display: grid;
    place-items: center;
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 700;
    box-shadow: 0 14px 28px rgba(0, 150, 207, 0.28);
    transition: var(--transition);
}

.cta-button i {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}

.cta-button:hover {
    transform: scale(1.06);
}

.cta-options {
    position: absolute;
    right: 0;
    bottom: 72px;
    display: grid;
    gap: 0.55rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

.cta-options.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cta-option {
    text-decoration: none;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-soft);
    font-size: 0.86rem;
    font-weight: 700;
}

.back-to-top {
    position: fixed;
    bottom: 1.2rem;
    left: 1.2rem;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(140deg, var(--accent-alt), #ff9f6e);
    color: #fff;
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 14px 24px rgba(255, 111, 60, 0.28);
    cursor: pointer;
    z-index: 990;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.form-notification {
    border-radius: 12px;
}

.notification-close:hover {
    opacity: 0.85;
}

.empty-state {
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    border: 1px dashed var(--line);
    color: var(--ink-soft);
    background: rgba(255, 255, 255, 0.52);
    font-size: 0.9rem;
}

@keyframes slideInRight {
    from {
        transform: translateX(110%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .hero-shell,
    .about-grid,
    .status-grid,
    .achievement-grid,
    .contact-shell {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 360px;
    }

    .skills-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .projects-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .navbar {
        width: calc(100% - 1.3rem);
        top: 0.6rem;
    }

    .nav-container {
        min-height: 62px;
        padding: 0 0.9rem;
    }

    .hamburger {
        display: inline-block;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        width: 100%;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(255, 255, 255, 0.88);
        box-shadow: var(--shadow-soft);
        padding: 0.8rem;
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.35rem;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        padding-top: 7.5rem;
    }

    .hero-visual {
        min-height: 380px;
        align-items: center;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .orbit-three {
        right: 4%;
    }

    .orbit-six {
        left: 2%;
    }

    .orbit-five,
    .orbit-six {
        display: none;
    }

    .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-shell {
        flex-direction: column;
        gap: 0.85rem;
        text-align: center;
    }

    .timeline-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--max-width), 100% - 1.3rem);
    }

    .section-block {
        padding: 4.25rem 0;
    }

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

    .hero-subtitle {
        font-size: 0.94rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .avatar-frame {
        width: min(320px, 90vw);
        border-radius: 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        height: 170px;
    }

    .project-content {
        padding: 0.85rem;
    }

    .project-title-row h3 {
        font-size: 1.08rem;
    }

    .project-track {
        font-size: 0.69rem;
    }

    .project-content p {
        font-size: 0.88rem;
    }

    .tag {
        font-size: 0.71rem;
        padding: 0.22rem 0.52rem;
    }

    .project-read-more,
    .status-read-more {
        font-size: 0.71rem;
    }

    .floating-cta,
    .back-to-top {
        bottom: 0.85rem;
    }

    .floating-cta {
        right: 0.85rem;
    }

    .back-to-top {
        left: 0.85rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
