.site-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid transparent; transition: background var(--transition), border-color var(--transition); }
.site-header.scrolled { background: var(--header-bg); border-color: var(--border); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-height); gap: 20px; }
.header-actions { display: flex; gap: 4px; }
#navigation { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; padding: 16px 20px; background: var(--surface); border-bottom: 1px solid var(--border); }
.no-js .site-header { position: static; }
.no-js .header-inner { flex-wrap: wrap; }
.no-js #navigation { display: flex; flex-wrap: wrap; position: static; order: 3; width: 100%; padding: 0 0 16px; border: 0; background: transparent; }
.no-js .header-actions { display: none; }
#navigation.active { display: flex; flex-direction: column; }
#navigation a { padding: 12px; text-decoration: none; font-size: .85rem; color: var(--muted); }
#navigation a:hover, #navigation a[aria-current] { color: var(--accent); }
.hero { display: grid; gap: 32px; padding-block: 56px 72px; }
.hero h1 { font-size: clamp(2.35rem, 5.4vw, 3.8rem); font-weight: 700; letter-spacing: -.065em; margin: 20px 0 24px; line-height: 1.4; }
.hero-title-line { display: block; min-height: 1.4em; }
.hero-title-accent { color: var(--accent); }
.hero-description { max-width: 34rem; min-height: 3.6em; font-size: 1rem; color: var(--muted); transition: opacity 700ms ease, transform 700ms ease; }
.hero-description-pending { opacity: 0; transform: translateY(10px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions .button:not(.button-primary) { background: color-mix(in srgb, var(--cream) var(--pastel-strength), var(--bg)); border-color: transparent; }
.hero-actions .button:not(.button-primary):hover { box-shadow: inset 0 0 0 1px var(--border); }
.hero-portrait { display: none; }
.hero-portrait img { width: 180px; height: 180px; object-fit: cover; border-radius: 24px; }
.section { padding-block: 72px; }
.about-section, .projects-section, .contact-layout { border-top: 1px solid var(--border); }
.about-section { background: color-mix(in srgb, var(--blush) var(--section-tint), var(--bg)); }
.about-layout, .contact-layout { display: grid; gap: 36px; }
.profile-photo { width: 112px; height: 112px; object-fit: cover; border-radius: 20px; }
.profile-name { margin-top: 20px; font-weight: 650; }
.profile-name span { font-weight: 400; color: var(--muted); margin-left: 8px; font-size: .85rem; }
.profile-role { color: var(--muted); font-size: .8rem; margin-top: 2px; }
.about-copy { display: grid; gap: 22px; color: var(--muted); font-size: .95rem; line-height: 1.95; }
.about-copy .lead { font-size: 1.1rem; color: var(--text); }
.about-closing { color: var(--text); }
#skills { padding-block: 56px; }
#skills .section-heading { margin-bottom: 24px; }
#skills .section-heading h2 { font-size: 1.5rem; }
.skills-grid { display: grid; gap: 16px; }
.skill-card { background: color-mix(in srgb, var(--cream) var(--pastel-strength), var(--surface)); border-radius: var(--radius); padding: 20px; }
.skill-card h3 { font-size: .9rem; letter-spacing: -.02em; margin-bottom: 12px; }
.project-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 4px; }
.category-filters button { padding: 10px 14px; min-height: 44px; border-radius: var(--radius-sm); background: transparent; font-size: .8rem; color: var(--muted); transition: background var(--transition), color var(--transition); }
.category-filters button[aria-pressed="true"] { background: var(--primary-bg); color: var(--primary-text); }
.category-filters button:hover { box-shadow: inset 0 0 0 1px var(--border); }
.language-field { position: relative; display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); }
.language-field select { width: auto; min-width: 140px; appearance: none; -webkit-appearance: none; padding-inline-end: 40px; }
.language-field::after { content: ''; position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); width: 14px; height: 14px; background: var(--muted); -webkit-mask: url('../assets/icons/chevron-down.svg') center / contain no-repeat; mask: url('../assets/icons/chevron-down.svg') center / contain no-repeat; pointer-events: none; }
.project-status { margin: 24px 0 16px; font-size: .75rem; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.project-card { --project-color: var(--lavender); background: color-mix(in srgb, var(--project-color) var(--project-strength), var(--surface)); border-radius: var(--radius); transition: transform var(--transition), box-shadow var(--transition); }
.project-card[data-reveal] { transition: opacity 520ms cubic-bezier(.22, 1, .36, 1), transform 520ms cubic-bezier(.22, 1, .36, 1), box-shadow var(--transition); }
.project-card[data-category="education"] { --project-color: var(--lime); }
.project-card[data-category="school"] { --project-color: var(--sky); }
.project-card[data-category="development"] { --project-color: var(--lavender); }
.project-card-link { display: flex; flex-direction: column; height: 100%; min-height: 220px; padding: 20px; border-radius: inherit; text-decoration: none; }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-card-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.project-labels { display: flex; align-items: center; flex-wrap: wrap; column-gap: 8px; row-gap: 4px; font-size: .72rem; font-weight: 400; color: var(--text); }
.project-category, .project-team { font: inherit; color: inherit; }
.project-team { white-space: nowrap; }
.project-separator { opacity: .55; }
.project-arrow { transform: rotate(-45deg); transition: transform var(--transition); }
.project-card:hover .project-arrow, .project-card-link:focus-visible .project-arrow { transform: translate(2px, -2px) rotate(-45deg); }
.project-card h3 { font-size: 1.25rem; }
.project-card p { font-size: .85rem; color: var(--text); margin: 8px 0 16px; }
.project-card .badges { margin-top: auto; column-gap: 6px; row-gap: 5px; }
.email-link { display: inline-flex; gap: 10px; align-items: center; font-size: .9rem; }
.contact-form { display: grid; gap: 12px; }
.contact-form .status { margin-top: 4px; }
.contact-form .status:empty { display: none; }
.site-footer { border-top: 1px solid var(--border); padding-block: 28px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.footer-inner small { color: var(--muted); font-size: .7rem; width: 100%; }
.social-links { display: flex; margin-left: auto; }
