.chapter-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.chapter-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gradient-main);
    box-shadow: var(--shadow-glow-primary);
}

.page-head {
    margin-bottom: clamp(18px, 3cqh, 30px);
}

.page-title {
    font-size: clamp(30px, 5.4cqw, 52px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.page-subtitle {
    margin-top: 8px;
    color: var(--text-secondary);
    font-size: clamp(13px, 1.6cqw, 15px);
    letter-spacing: 0.06em;
}

.section-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.cover-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(16px, 3cqw, 34px);
    align-items: center;
    min-height: calc(100% - 120px);
}

.cover-hello {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5em;
    color: var(--accent);
    margin-bottom: 12px;
}

.cover-title {
    font-size: clamp(38px, 8.6cqw, 82px);
    font-weight: 700;
    line-height: 0.98;
    text-transform: uppercase;
    letter-spacing: -0.015em;
    margin-bottom: 18px;
}

.cover-title-line {
    display: block;
}

.cover-role {
    font-family: var(--font-display);
    font-size: clamp(13px, 2cqw, 16px);
    font-weight: 600;
    letter-spacing: 0.28em;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.cover-tagline {
    color: var(--text-secondary);
    font-size: clamp(12.5px, 1.55cqw, 14.5px);
    line-height: 1.75;
    max-width: 46ch;
    margin-bottom: 22px;
}

.cover-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.cover-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 320px;
}

.cover-portrait-ring {
    position: absolute;
    width: clamp(210px, 30cqw, 300px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: conic-gradient(from 120deg, rgba(99, 102, 241, 0.9), rgba(34, 211, 238, 0.7), rgba(236, 72, 153, 0.55), rgba(99, 102, 241, 0.9));
    filter: blur(20px);
    opacity: 0.55;
    animation: ring-pulse 5.5s ease-in-out infinite;
}

.cover-portrait {
    position: relative;
    width: clamp(180px, 26cqw, 260px);
    aspect-ratio: 1;
    border-radius: 50%;
    padding: 5px;
    background: conic-gradient(from 140deg, #6366F1, #8B5CF6, #22D3EE, #6366F1);
    box-shadow: 0 0 44px rgba(99, 102, 241, 0.35);
}

.cover-portrait::before {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1px dashed rgba(148, 163, 184, 0.3);
    animation: spin-slow 26s linear infinite;
}

.cover-portrait img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-card);
}

.cover-particles span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(34, 211, 238, 0.75);
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
    left: calc(10% + var(--i) * 11%);
    top: calc(12% + var(--i) * 9.5%);
    animation: particle-float calc(9s + var(--i) * 1.4s) ease-in-out calc(var(--i) * -1.1s) infinite alternate;
    opacity: 0.7;
}

.cover-particles span:nth-child(2n) {
    background: rgba(139, 92, 246, 0.75);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.55);
}

.cover-particles span:nth-child(3n) {
    background: rgba(236, 72, 153, 0.65);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

.cover-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    animation: card-float 7s ease-in-out infinite;
}

.cover-card-role {
    top: 4%;
    right: 0;
    color: var(--accent);
    animation-delay: -2s;
}

.cover-card-status {
    bottom: 6%;
    left: -4%;
    animation-delay: -4.5s;
}

.cover-card i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.cover-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.cover-card span {
    display: block;
    font-size: 10.5px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
    animation: dot-pulse 2.2s ease-in-out infinite;
}

.cover-stats,
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: clamp(16px, 3cqh, 26px);
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.stat-value {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(22px, 3.6cqw, 34px);
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    margin-top: 4px;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.about-headline {
    font-family: var(--font-display);
    font-size: clamp(19px, 3.2cqw, 30px);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: clamp(18px, 3cqh, 28px);
}

.about-headline em {
    font-style: normal;
    color: var(--text-muted);
}

.about-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(18px, 3.4cqw, 36px);
    align-items: start;
}

.about-photo {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lift);
    aspect-ratio: 4 / 4.6;
}

.about-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(7, 8, 13, 0.85));
}

.about-photo img {
    width: 100%;
    height: 100%;
    transition: transform 0.8s var(--ease-out);
}

.about-photo:hover img {
    transform: scale(1.05);
}

.about-signature {
    margin-top: 14px;
    text-align: center;
}

.about-signature span {
    font-family: var(--font-display);
    font-size: clamp(20px, 3cqw, 27px);
    font-style: italic;
    font-weight: 500;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: rotate(-3deg);
    display: inline-block;
}

.about-signature i {
    display: block;
    height: 2px;
    margin: 8px auto 0;
    width: 58%;
    background: linear-gradient(90deg, transparent, rgba(148, 163, 184, 0.5), transparent);
}

.about-lead {
    font-size: clamp(14px, 1.8cqw, 16.5px);
    line-height: 1.75;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.about-lead::first-letter {
    font-family: var(--font-display);
    font-size: 2.6em;
    font-weight: 700;
    float: left;
    line-height: 0.85;
    margin: 6px 10px 0 0;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-copy {
    font-size: clamp(12.5px, 1.55cqw, 14px);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.about-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

.about-facts li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-facts i {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    color: var(--accent);
}

.about-facts span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.about-facts strong {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-primary);
    word-break: break-word;
}

.about-career p {
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-stats {
    margin-top: clamp(18px, 3cqh, 28px);
}

.stat-item-inline .stat-value {
    font-size: clamp(20px, 3cqw, 28px);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: clamp(20px, 4cqh, 34px);
}

.skill-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
    transform-style: preserve-3d;
    animation: card-float 9s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * -1.3s);
    cursor: default;
}

.skill-card:nth-child(3n + 2) { animation-delay: -3s; }
.skill-card:nth-child(3n + 3) { animation-delay: -6s; }

.skill-card:hover {
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: var(--shadow-glow-primary);
}

.skill-card-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: var(--gradient-soft);
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.skill-card:hover .skill-card-glow {
    opacity: 1;
}

.skill-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--primary);
    transition: transform 0.35s var(--ease-out), color 0.35s ease;
}

.skill-card:hover .skill-icon {
    transform: translateZ(18px) rotate(-6deg) scale(1.06);
    color: var(--accent);
}

.skill-icon svg {
    width: 19px;
    height: 19px;
}

.skill-name {
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-display);
}

.skill-level {
    display: block;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 2px;
}

.skills-progress {
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.progress-row {
    margin-bottom: 16px;
}

.progress-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
}

.progress-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

.progress-value {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
}

.progress-track {
    height: 7px;
    border-radius: 99px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.08);
    overflow: hidden;
}

.progress-fill {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left center;
    box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
    will-change: transform;
}

.project-card {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 0;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease;
    margin-bottom: 14px;
}

.project-card-featured {
    grid-template-columns: 1fr 1fr;
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.12), var(--shadow-card);
    margin-bottom: 20px;
}

.project-card:not(.project-card-featured) {
    grid-template-columns: 0.42fr 1fr;
}

.project-card:hover,
.project-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: var(--shadow-lift), var(--shadow-glow-primary);
}

.project-media {
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

.project-card-featured .project-media {
    min-height: 260px;
}

.project-media img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    transition: transform 0.8s var(--ease-out);
}

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

.project-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(7, 8, 13, 0.5), transparent 45%, rgba(7, 8, 13, 0.25));
    opacity: 0.7;
    transition: opacity 0.5s ease;
}

.project-card:hover .project-media-overlay {
    opacity: 0.4;
}

.project-year-chip {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 99px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    background: rgba(7, 8, 13, 0.55);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.project-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 20px;
    gap: 8px;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-category {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}

.project-title {
    font-size: clamp(18px, 2.6cqw, 24px);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.project-card-featured .project-title {
    font-size: clamp(22px, 3.4cqw, 32px);
}

.project-subtitle {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 0.06em;
    margin-top: -4px;
}

.project-desc {
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.chip {
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid var(--border);
    white-space: nowrap;
}

.chip-more {
    color: var(--text-muted);
}

.project-open {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
    width: fit-content;
}

.project-open::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 1px;
    width: 100%;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.45s var(--ease-out);
}

.project-card:hover .project-open::after,
.project-card:focus-visible .project-open::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.project-open svg {
    width: 14px;
    height: 14px;
    color: var(--accent);
    transition: transform 0.4s var(--ease-out);
}

.project-card:hover .project-open svg {
    transform: translate(2px, -2px);
}

.timeline {
    position: relative;
    padding-left: 34px;
}

.timeline-line {
    position: absolute;
    left: 9px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    border-radius: 99px;
    background: rgba(148, 163, 184, 0.15);
    overflow: hidden;
}

.timeline-line-fill {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-light), var(--accent));
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.55);
}

.timeline-item {
    position: relative;
    margin-bottom: 26px;
}

.timeline-item:last-child {
    margin-bottom: 6px;
}

.timeline-node {
    position: absolute;
    left: -31px;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 2.5px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18), 0 0 16px rgba(99, 102, 241, 0.5);
}

.timeline-item:nth-child(3) .timeline-node { border-color: var(--primary-light); }
.timeline-item:nth-child(4) .timeline-node { border-color: var(--accent); }
.timeline-item:nth-child(5) .timeline-node { border-color: var(--accent-pink); }

.timeline-card {
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.timeline-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    transform: translateX(4px);
    box-shadow: var(--shadow-card);
}

.timeline-period {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent);
    padding: 4px 10px;
    border-radius: 99px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    margin-bottom: 10px;
}

.timeline-role {
    font-size: clamp(16px, 2.4cqw, 20px);
    font-weight: 700;
}

.timeline-company {
    margin-top: 3px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--primary-light);
    letter-spacing: 0.05em;
}

.timeline-location {
    color: var(--text-muted);
    font-weight: 400;
}

.timeline-desc {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: pointer;
    transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.5s ease;
}

.blog-card:hover,
.blog-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: var(--shadow-lift), var(--shadow-glow-accent);
}

.blog-media {
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

.blog-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.8s var(--ease-out);
}

.blog-card:hover .blog-media img {
    transform: scale(1.09) rotate(1deg);
}

.blog-info {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    justify-content: center;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 10.5px;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

.blog-meta i {
    width: 12px;
    height: 12px;
    vertical-align: -2px;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-category {
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}

.blog-title {
    font-size: clamp(15px, 2.2cqw, 19px);
    font-weight: 600;
    line-height: 1.35;
}

.blog-excerpt {
    font-size: 12px;
    line-height: 1.65;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    width: fit-content;
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-primary);
    position: relative;
}

.blog-read-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease-out);
}

.blog-card:hover .blog-read-more::after {
    transform: scaleX(1);
    transform-origin: left;
}

.blog-read-more svg {
    width: 13px;
    height: 13px;
    color: var(--accent);
    transition: transform 0.4s var(--ease-out);
}

.blog-card:hover .blog-read-more svg {
    transform: translate(2px, -2px);
}

.contact-title {
    font-size: clamp(26px, 5.2cqw, 50px);
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: clamp(18px, 3.5cqh, 30px);
}

.contact-title span {
    display: block;
}

.contact-layout {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(18px, 3.4cqw, 36px);
    align-items: start;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 15px;
    border-radius: var(--radius-md);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, transform 0.3s ease;
}

a.contact-line:hover {
    border-color: rgba(99, 102, 241, 0.45);
    transform: translateX(4px);
}

.contact-line i {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.contact-line span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.contact-line strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    word-break: break-word;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-field:nth-child(3),
.form-field:nth-child(4),
#contact-submit,
.form-note {
    grid-column: 1 / -1;
}

.form-field label {
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: rgba(7, 8, 13, 0.55);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 13px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    resize: vertical;
    min-height: 44px;
}

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

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    background: rgba(7, 8, 13, 0.75);
}

.form-field input:user-invalid,
.form-field textarea:user-invalid {
    border-color: rgba(236, 72, 153, 0.6);
}

.form-note {
    font-size: 11.5px;
    color: var(--text-secondary);
    min-height: 16px;
    text-align: center;
    letter-spacing: 0.04em;
}

.form-note.is-success {
    color: #34D399;
}

.form-note.is-error {
    color: var(--accent-pink);
}
