:root {
    --bg: #f4f1ea;
    --bg-soft: #fbfaf7;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-solid: #ffffff;
    --surface-strong: #eef2f9;
    --ink: #0d1726;
    --muted: #44516a;
    --brand: #24416f;
    --brand-deep: #16243f;
    --brand-soft: #dce6f5;
    --accent: #bf8a2f;
    --accent-soft: #f2e0bc;
    --line: rgba(16, 24, 40, 0.1);
    --line-strong: rgba(39, 66, 107, 0.18);
    --shadow: 0 20px 50px rgba(22, 36, 63, 0.12);
    --shadow-soft: 0 12px 30px rgba(22, 36, 63, 0.08);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
    --container: 1180px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(191, 138, 47, 0.18), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(39, 66, 107, 0.16), transparent 28%),
        linear-gradient(180deg, #fcfbf8 0%, #f2efe8 100%);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    display: flex;
    flex-direction: column;
}

main > #home {
    order: 0;
}

main > #profile {
    order: 1;
}

main > #experience {
    order: 2;
}

main > #services {
    order: 3;
}

main > #projects {
    order: 4;
}

main > #education {
    order: 5;
}

main > #volunteering {
    order: 6;
}

main > #contact {
    order: 7;
}

main > #skills {
    display: none;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.page-shell {
    position: relative;
    min-height: 100vh;
}

.page-shell::before,
.page-shell::after {
    content: '';
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
    filter: blur(70px);
}

.page-shell::before {
    width: 18rem;
    height: 18rem;
    top: 4rem;
    right: -5rem;
    background: rgba(39, 66, 107, 0.18);
}

.page-shell::after {
    width: 15rem;
    height: 15rem;
    bottom: 8rem;
    left: -4rem;
    background: rgba(191, 138, 47, 0.12);
}

.container {
    width: min(var(--container), calc(100% - 2.5rem));
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    border-bottom: 1px solid transparent;
}

.navbar.is-scrolled {
    background: rgba(250, 248, 244, 0.88);
    backdrop-filter: blur(18px);
    border-color: rgba(16, 24, 40, 0.06);
    box-shadow: 0 10px 32px rgba(22, 36, 63, 0.08);
}

.nav-container {
    width: min(var(--container), calc(100% - 2.5rem));
    margin: 0 auto;
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.nav-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(39, 66, 107, 0.18);
    box-shadow: 0 8px 18px rgba(22, 36, 63, 0.1);
}

.nav-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.nav-brand-copy strong {
    font-family: 'Sora', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.1;
}

.nav-brand-copy span {
    font-size: 0.8rem;
    color: var(--muted);
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.nav-mobile-only {
    display: none;
}

.nav-mobile-sales-link {
    border-radius: 999px;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(13, 23, 38, 0.86);
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--brand));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--brand-deep);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.nav-side-link {
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(39, 66, 107, 0.14);
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand);
    font-size: 0.92rem;
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.nav-sales-link {
    background: linear-gradient(135deg, rgba(36, 65, 111, 0.12), rgba(191, 138, 47, 0.12));
    border-color: rgba(39, 66, 107, 0.2);
    color: var(--brand-deep);
}

.nav-side-link:hover {
    transform: translateY(-1px);
    border-color: rgba(39, 66, 107, 0.28);
}

.lang-btn {
    min-width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: #fff;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 18px rgba(39, 66, 107, 0.22);
    transition: transform 0.2s ease;
}

.lang-btn:hover {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.78);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.28rem;
    cursor: pointer;
}

.bar {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--ink);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.is-open .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hamburger.is-open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-open .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: calc(100vh - 1.5rem);
    display: flex;
    align-items: center;
    padding: 7.8rem 0 3.4rem;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 5rem 0 auto 0;
    height: 28rem;
    background:
        radial-gradient(circle at 15% 25%, rgba(191, 138, 47, 0.14), transparent 24%),
        radial-gradient(circle at 75% 18%, rgba(39, 66, 107, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 3rem;
    align-items: center;
}

.hero-kicker,
.section-kicker,
.spotlight-kicker,
.signal-label,
.education-tag,
.experience-company-type {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(191, 138, 47, 0.12);
    color: #8a611d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title,
.section-title,
.project-card h3,
.skills-card h3,
.service-card h3,
.volunteering-card h3,
.profile-panel h3,
.education-card h3,
.experience-card h3,
.contact-link-groups h3 {
    font-family: 'Sora', sans-serif;
}

.hero-title {
    margin-top: 1rem;
    font-size: clamp(2.8rem, 5vw, 4.9rem);
    line-height: 1.02;
    max-width: 11ch;
}

.hero-role {
    margin-top: 1rem;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 800;
    color: var(--brand);
    letter-spacing: 0.08em;
    line-height: 1.45;
}

.hero-description {
    margin-top: 1.2rem;
    max-width: 60ch;
    color: var(--muted);
    font-size: 1.07rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0.9rem 1.45rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    border: none;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: #fff;
    box-shadow: 0 14px 24px rgba(39, 66, 107, 0.24);
}

.btn-secondary {
    border: 1px solid rgba(39, 66, 107, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--brand-deep);
    box-shadow: var(--shadow-soft);
}

.full-width {
    width: 100%;
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.8rem;
}

.hero-links a,
.contact-links-inline a,
.pill-link,
.event-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-links a:hover,
.contact-links-inline a:hover,
.pill-link:hover,
.event-link:hover {
    transform: translateY(-2px);
    border-color: rgba(39, 66, 107, 0.25);
    box-shadow: var(--shadow-soft);
}

.hero-visual {
    position: relative;
    min-height: 38rem;
}

.portrait-card {
    width: min(100%, 25rem);
    margin-left: auto;
    padding: 1rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(220, 230, 245, 0.8));
    border: 1px solid rgba(39, 66, 107, 0.12);
    box-shadow: var(--shadow);
    transform: rotate(-2deg);
}

.portrait-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: calc(var(--radius-xl) - 8px);
    object-fit: cover;
}

.floating-note {
    position: absolute;
    min-width: 13rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(39, 66, 107, 0.12);
    box-shadow: var(--shadow-soft);
}

.floating-note span {
    display: block;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--muted);
}

.floating-note strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--brand-deep);
}

.top-note {
    top: 0.5rem;
    left: 0;
}

.middle-note {
    top: 14rem;
    left: 1.5rem;
}

.bottom-note {
    right: 0;
    bottom: 2rem;
}

.section-block {
    padding: 5.35rem 0;
    position: relative;
    scroll-margin-top: 92px;
}

.section-head {
    max-width: 48rem;
    margin-bottom: 2.35rem;
}

.section-title {
    margin-top: 1rem;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
}

.section-title.left {
    margin-top: 0.9rem;
}

.section-intro,
.contact-lead {
    margin-top: 1rem;
    color: var(--muted);
    font-size: 1.02rem;
}

.profile-grid,
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.25rem;
}

.profile-panel,
.signal-card,
.education-card,
.experience-card,
.project-card,
.service-card,
.skills-card,
.volunteering-card,
.contact-panel,
.contact-form-wrap,
.project-spotlight {
    background: var(--surface);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.profile-panel {
    padding: 2rem;
}

.profile-panel h3,
.contact-link-groups h3 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
}

.profile-panel p + p {
    margin-top: 1rem;
}

.summary-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.summary-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.62rem 0.95rem;
    border-radius: 999px;
    background: rgba(19, 72, 202, 0.08);
    border: 1px solid rgba(19, 72, 202, 0.12);
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.summary-points {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    margin-top: 1.25rem;
}

.summary-points li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--muted);
}

.summary-points li::before {
    content: "";
    position: absolute;
    top: 0.58rem;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: var(--brand);
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.signal-card {
    padding: 1.35rem;
}

.signal-card h3 {
    margin-top: 0.85rem;
    font-size: 1.15rem;
}

.signal-card p {
    margin-top: 0.65rem;
    color: var(--muted);
    font-size: 0.96rem;
}

.education-grid,
.experience-grid,
.services-grid,
.skills-grid,
.volunteering-grid {
    display: grid;
    gap: 1rem;
}

.education-grid,
.skills-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-grid,
.volunteering-grid {
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.examples-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 1rem;
    align-items: start;
}

.examples-intro-card,
.example-card {
    background: var(--surface);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.examples-intro-card {
    padding: 1.9rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(222, 232, 244, 0.78));
    border-color: var(--line-strong);
}

.examples-label,
.example-sector,
.example-device {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.examples-label,
.example-sector {
    background: rgba(39, 66, 107, 0.1);
    color: var(--brand);
}

.example-device {
    background: rgba(191, 138, 47, 0.12);
    color: #8a611d;
}

.examples-intro-card h3,
.example-card h3 {
    margin-top: 1rem;
    font-size: 1.28rem;
    line-height: 1.18;
}

.examples-intro-card p,
.example-card p {
    margin-top: 0.9rem;
    color: var(--muted);
}

.examples-points {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    margin-top: 1.15rem;
}

.examples-points li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--muted);
}

.examples-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--brand));
}

.examples-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.4rem;
}

.examples-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.example-card {
    padding: 1.4rem;
}

.example-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.example-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.example-tags span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.72rem;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--brand-deep);
    font-size: 0.8rem;
    font-weight: 700;
}

.example-card .pill-link {
    margin-top: 1.1rem;
    width: fit-content;
}

.education-card,
.experience-card,
.service-card,
.skills-card,
.volunteering-card,
.contact-panel,
.contact-form-wrap,
.project-card {
    padding: 1.9rem;
}

.education-card h3,
.experience-card h3,
.service-card h3,
.skills-card h3,
.volunteering-card h3,
.project-card h3 {
    font-size: 1.22rem;
    line-height: 1.2;
}

.education-card h3,
.experience-card h3 {
    margin-top: 1rem;
}

.education-date,
.experience-date,
.volunteering-date,
.education-place,
.experience-inline {
    color: var(--muted);
    font-size: 0.94rem;
}

.education-date,
.experience-date,
.volunteering-date {
    margin-top: 0.95rem;
    font-weight: 800;
    color: var(--brand);
}

.education-place,
.experience-inline {
    margin-top: 0.6rem;
}

.experience-inline {
    color: var(--muted);
}

.experience-inline-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.experience-inline-links a {
    color: var(--brand);
    font-weight: 700;
}

.experience-inline-links a:hover {
    text-decoration: underline;
}

.inline-separator {
    color: rgba(68, 81, 106, 0.7);
}

.education-card p:last-child,
.service-card p,
.volunteering-card p:last-of-type,
.project-card p {
    margin-top: 0.85rem;
    color: var(--muted);
}

.education-rich {
    margin-top: 0.85rem;
}

.education-rich ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
}

.education-rich li {
    color: var(--muted);
}

.education-rich a,
.experience-company-link,
.education-place a,
.education-card h3 a {
    color: var(--brand);
    font-weight: 800;
    text-decoration: none;
}

.education-rich a:hover,
.experience-company-link:hover,
.education-place a:hover,
.education-card h3 a:hover {
    text-decoration: underline;
}

.featured-experience {
    grid-column: span 2;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(220, 230, 245, 0.78));
    border-color: var(--line-strong);
}

.experience-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.experience-company-link {
    display: inline-block;
    margin-top: 0.72rem;
}

.experience-list,
.spotlight-points {
    list-style: none;
    display: grid;
    gap: 0.75rem;
    margin-top: 1.1rem;
}

.experience-list li,
.spotlight-points li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--muted);
}

.experience-list li::before,
.spotlight-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--brand));
}

.projects-grid.single-secondary {
    margin-top: 1rem;
    max-width: 34rem;
}

.project-spotlight {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 1.8rem;
    padding: 1.65rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(145deg, #132746 0%, #1e4474 58%, #2f6296 100%);
    color: #f8fbff;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 64px rgba(22, 36, 63, 0.26);
}

.spotlight-media {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 35%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 28rem;
    padding: 1.2rem;
}

.spotlight-image {
    width: min(100%, 21rem);
    border-radius: calc(var(--radius-lg) - 8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.spotlight-copy {
    padding: 0.55rem 0.35rem;
}

.spotlight-copy h3 {
    font-family: 'Sora', sans-serif;
    margin-top: 0.85rem;
    font-size: clamp(2rem, 3vw, 3rem);
    color: #ffffff;
}

.project-spotlight .spotlight-kicker {
    background: rgba(255, 255, 255, 0.14);
    color: #ffe0a8;
}

.spotlight-description {
    margin-top: 1rem;
    color: rgba(248, 251, 255, 0.96);
    font-size: 1.02rem;
    line-height: 1.72;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

.project-tech span,
.skills-cloud span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.project-tech span {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.compact-tech span {
    background: var(--surface-strong);
    color: var(--brand-deep);
}

.spotlight-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.pill-link {
    color: var(--brand-deep);
    background: rgba(255, 255, 255, 0.96);
}

.spotlight-points li {
    color: rgba(248, 251, 255, 0.94);
}

.project-card {
    overflow: hidden;
}

.project-image-frame {
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
    height: 15rem;
    background: var(--surface-strong);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-body {
    padding-top: 1.35rem;
}

.project-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.project-card-links {
    display: flex;
    gap: 0.55rem;
}

.project-card-links a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 24, 40, 0.08);
    background: rgba(255, 255, 255, 0.78);
}

.service-card {
    position: relative;
}

.service-icon,
.volunteering-icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-deep));
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 12px 18px rgba(39, 66, 107, 0.2);
}

.service-card h3,
.volunteering-card h3 {
    margin-top: 1rem;
}

.volunteering-card .event-link {
    margin-top: 1.35rem;
}

.event-link-primary {
    background: linear-gradient(135deg, var(--brand), #3e6ea6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(22, 36, 63, 0.22);
}

.event-link-primary:hover {
    border-color: transparent;
    box-shadow: 0 18px 32px rgba(22, 36, 63, 0.28);
}

.event-link i {
    font-size: 0.95rem;
}

.event-link span {
    display: inline-block;
}

.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.skills-cloud span {
    background: var(--surface-strong);
    color: var(--brand-deep);
}

.contact-panel,
.contact-form-wrap {
    padding: 2rem;
}

.contact-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.6rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--muted);
    font-weight: 600;
}

.contact-item i {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-strong);
    color: var(--brand);
}

.contact-link-groups {
    margin-top: 1.75rem;
    display: grid;
    gap: 1.4rem;
}

.contact-links-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.75rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: grid;
    gap: 0.45rem;
}

.form-group label {
    font-weight: 700;
    color: var(--brand-deep);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(39, 66, 107, 0.14);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.76);
    color: var(--ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(39, 66, 107, 0.4);
    box-shadow: 0 0 0 4px rgba(39, 66, 107, 0.08);
}

.footer {
    padding: 2rem 0 3rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(16, 24, 40, 0.08);
    color: var(--muted);
    font-size: 0.95rem;
}

.notification {
    position: fixed;
    top: 6.5rem;
    right: 1rem;
    z-index: 1100;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    color: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.notification.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.notification-success {
    background: #0f9b62;
}

.notification-error {
    background: #d14343;
}

.notification-info {
    background: var(--brand);
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .hero-grid,
    .project-spotlight,
    .contact-layout,
    .profile-grid,
    .examples-layout {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .portrait-card {
        margin-left: 0;
        transform: none;
        width: min(100%, 24rem);
    }

    .floating-note {
        position: static;
        width: min(100%, 24rem);
    }

    .projects-grid.single-secondary {
        max-width: none;
    }
}

@media (max-width: 960px) {
    .education-grid,
    .skills-grid,
    .experience-grid,
    .signal-grid,
    .examples-grid {
        grid-template-columns: 1fr;
    }

    .featured-experience {
        grid-column: auto;
    }

    .nav-side-link {
        display: none;
    }

    .nav-mobile-only {
        display: block;
        order: 99;
        margin-top: 0.5rem;
        padding-top: 0.7rem;
        border-top: 1px solid rgba(39, 66, 107, 0.12);
    }
}

@media (max-width: 860px) {
    .nav-container {
        min-height: 74px;
        gap: 0.75rem;
    }

    .nav-actions {
        gap: 0.55rem;
    }

    .nav-brand-copy span {
        display: none;
    }

    .nav-brand-copy strong {
        font-size: 0.9rem;
    }

    .lang-btn,
    .hamburger {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .hamburger {
        display: inline-flex;
    }

    .nav-menu {
        position: fixed;
        top: 74px;
        left: 1rem;
        right: 1rem;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0.9rem;
        border-radius: 1.5rem;
        background: rgba(252, 250, 246, 0.96);
        backdrop-filter: blur(18px);
        border: 1px solid rgba(16, 24, 40, 0.08);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.22s ease, transform 0.22s ease;
    }

    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-mobile-only .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0.9rem 1rem;
        border-radius: 1rem;
        border: 1px solid rgba(39, 66, 107, 0.18);
        background: linear-gradient(135deg, rgba(36, 65, 111, 0.12), rgba(191, 138, 47, 0.12));
        color: var(--brand-deep);
        font-weight: 700;
        text-align: center;
    }

    .nav-mobile-only .nav-link::after {
        display: none;
    }

    .nav-mobile-only .nav-link:hover,
    .nav-mobile-only .nav-link.is-active {
        color: var(--brand-deep);
        border-color: rgba(39, 66, 107, 0.26);
        transform: translateY(-1px);
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: 0.8rem 0.2rem;
    }

    .hero {
        min-height: auto;
        padding: 6.8rem 0 2.8rem;
    }

    .hero-grid {
        gap: 2rem;
    }

    .section-block {
        padding: 4.8rem 0;
        scroll-margin-top: 84px;
    }

    .section-head {
        margin-bottom: 2rem;
    }

    .profile-grid,
    .contact-layout {
        gap: 1rem;
    }

    .examples-layout,
    .examples-grid {
        gap: 0.9rem;
    }

    .project-spotlight {
        gap: 1.3rem;
    }

    .spotlight-copy {
        padding: 0;
    }
}

@media (max-width: 640px) {
    .container,
    .nav-container {
        width: min(var(--container), calc(100% - 1rem));
    }

    .nav-container {
        min-height: 70px;
    }

    .nav-avatar {
        width: 42px;
        height: 42px;
    }

    .nav-brand-copy strong {
        font-size: 0.84rem;
    }

    .lang-btn,
    .hamburger {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .nav-menu {
        top: 70px;
        left: 0.6rem;
        right: 0.6rem;
        padding: 0.75rem;
        border-radius: 1.2rem;
    }

    .hero {
        padding-top: 6.4rem;
        padding-bottom: 2.2rem;
    }

    .hero-grid {
        gap: 1.4rem;
    }

    .hero-title {
        max-width: none;
        font-size: clamp(2.15rem, 11vw, 3.1rem);
        line-height: 1.04;
    }

    .hero-role {
        font-size: 0.88rem;
        letter-spacing: 0.05em;
        line-height: 1.5;
    }

    .hero-description,
    .section-intro,
    .contact-lead {
        font-size: 0.97rem;
    }

    .hero-links,
    .hero-cta,
    .spotlight-links,
    .contact-links-inline,
    .examples-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .hero-links a,
    .contact-links-inline a,
    .pill-link,
    .event-link,
    .btn {
        justify-content: center;
        width: 100%;
        min-height: 50px;
        padding: 0.85rem 1rem;
    }

    .project-card-top,
    .experience-topline,
    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-block {
        padding: 4.1rem 0;
    }

    .section-head {
        margin-bottom: 1.6rem;
    }

    .section-title {
        font-size: clamp(1.7rem, 7vw, 2.2rem);
    }

    .hero-visual {
        gap: 0.85rem;
    }

    .portrait-card,
    .floating-note {
        width: 100%;
        max-width: none;
    }

    .floating-note {
        min-width: 0;
        padding: 0.95rem 1rem;
    }

    .signal-grid,
    .services-grid,
    .volunteering-grid,
    .education-grid,
    .experience-grid,
    .examples-grid {
        gap: 0.85rem;
    }

    .contact-panel,
    .contact-form-wrap,
    .profile-panel,
    .examples-intro-card,
    .education-card,
    .experience-card,
    .project-card,
    .service-card,
    .example-card,
    .skills-card,
    .volunteering-card {
        padding: 1.2rem;
        border-radius: 20px;
    }

    .example-card .pill-link {
        width: 100%;
        margin-top: 1rem;
    }

    .project-spotlight {
        padding: 1rem;
        gap: 1rem;
        border-radius: 20px;
    }

    .spotlight-media {
        min-height: 14rem;
        padding: 0.9rem;
    }

    .spotlight-copy h3 {
        font-size: clamp(1.7rem, 8vw, 2.2rem);
    }

    .spotlight-description {
        font-size: 0.97rem;
        line-height: 1.6;
    }

    .project-tech,
    .skills-cloud {
        gap: 0.45rem;
    }

    .project-tech span,
    .skills-cloud span {
        padding: 0.48rem 0.72rem;
        font-size: 0.8rem;
    }

    .project-image-frame {
        height: 12.5rem;
    }

    .project-card-links a {
        width: 2.25rem;
        height: 2.25rem;
    }

    .education-card h3,
    .experience-card h3 {
        margin-top: 0.85rem;
    }

    .education-date,
    .experience-date,
    .volunteering-date {
        margin-top: 0.72rem;
    }

    .education-place,
    .experience-inline,
    .experience-company-link {
        margin-top: 0.45rem;
    }

    .experience-inline-links {
        gap: 0.35rem;
    }

    .inline-separator {
        display: none;
    }

    .experience-list,
    .spotlight-points {
        gap: 0.65rem;
        margin-top: 0.95rem;
    }

    .contact-list,
    .contact-link-groups {
        gap: 1rem;
    }

    .contact-item {
        align-items: flex-start;
        gap: 0.65rem;
    }

    .contact-item i {
        width: 2.25rem;
        height: 2.25rem;
        flex: 0 0 auto;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.9rem 0.95rem;
    }

    .footer {
        padding: 1.4rem 0 2.2rem;
    }

    .footer-content {
        padding-top: 1.15rem;
        font-size: 0.9rem;
    }

    .notification {
        left: 0.75rem;
        right: 0.75rem;
        top: auto;
        bottom: 0.75rem;
    }
}

@media (max-width: 420px) {
    .nav-brand-copy strong {
        font-size: 0.8rem;
    }

    .hero-title {
        font-size: clamp(1.95rem, 12vw, 2.7rem);
    }

    .hero-role {
        font-size: 0.8rem;
        letter-spacing: 0.04em;
    }

    .section-block {
        padding: 3.8rem 0;
    }

    .floating-note strong {
        font-size: 0.95rem;
    }

    .spotlight-links,
    .contact-links-inline,
    .hero-links,
    .hero-cta {
        gap: 0.6rem;
    }
}