/* ======================================
   CSS CUSTOM PROPERTIES
====================================== */
:root {
    --bg-primary:    #0a0a0f;
    --bg-secondary:  #0d0d18;
    --bg-card:       #111120;
    --accent-cyan:   #00d4ff;
    --accent-purple: #7c3aed;
    --accent-green:  #00ff88;
    --text-primary:  #e2e8f0;
    --text-secondary:#8892a4;
    --border:        #1a1a2e;
    --border-accent: rgba(0,212,255,0.25);
    --glow-cyan:     0 0 24px rgba(0,212,255,0.25);
    --glow-purple:   0 0 24px rgba(124,58,237,0.25);
    --font-head:     'Space Grotesk', sans-serif;
    --font-body:     'Inter', sans-serif;
    --font-mono:     'JetBrains Mono', monospace;
    --nav-h:         68px;
    --ease:          0.3s ease;
    --radius:        12px;
}

/* ======================================
   RESET & BASE
====================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.65;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* ======================================
   TYPOGRAPHY
====================================== */
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; }
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; }
h3 { font-size: 1.2rem; }

/* ======================================
   LAYOUT UTILITIES
====================================== */
.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section { padding: 96px 0; }

.section-header { margin-bottom: 56px; }
.section-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-cyan);
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
}
.accent { color: var(--accent-cyan); }

/* ======================================
   BUTTONS
====================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--ease);
    border: none;
}
.btn-primary {
    background: var(--accent-cyan);
    color: #050510;
}
.btn-primary:hover {
    background: #2de0ff;
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}
.btn-secondary {
    background: transparent;
    color: var(--accent-cyan);
    border: 1.5px solid var(--accent-cyan);
}
.btn-secondary:hover {
    background: rgba(0,212,255,0.08);
    transform: translateY(-2px);
    box-shadow: var(--glow-cyan);
}

/* ======================================
   TAGS
====================================== */
.tag {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(0,212,255,0.07);
    border: 1px solid rgba(0,212,255,0.18);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--accent-cyan);
}
.badge-wip {
    background: rgba(124,58,237,0.12);
    border-color: rgba(124,58,237,0.35);
    color: #b08bfa;
}

/* ======================================
   NAVBAR
====================================== */
#navbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: var(--nav-h);
    z-index: 1000;
    transition: background var(--ease), backdrop-filter var(--ease), border-color var(--ease);
    border-bottom: 1px solid transparent;
}
#navbar.scrolled {
    background: rgba(10,10,15,0.88);
    backdrop-filter: blur(14px);
    border-color: var(--border);
}
.nav-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-cyan);
    flex-shrink: 0;
}
.logo-bracket { color: var(--accent-purple); }

.nav-links {
    display: flex;
    gap: 1.8rem;
}
.nav-links a {
    font-family: var(--font-head);
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: relative;
    transition: color var(--ease);
}
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -3px;
    width: 0; height: 1.5px;
    background: var(--accent-cyan);
    transition: width var(--ease);
}
.nav-links a:hover { color: var(--accent-cyan); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}
.lang-toggle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: transparent;
    border: 1px solid var(--border-accent);
    color: var(--accent-cyan);
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.06em;
    transition: background var(--ease);
}
.lang-toggle:hover { background: rgba(0,212,255,0.08); }

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent-cyan);
    transition: all var(--ease);
    border-radius: 1px;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ======================================
   HERO
====================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: var(--nav-h);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 4rem;
    min-height: 100vh;
}

.hero-greeting {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--accent-cyan);
    margin-bottom: 0.4rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.2s forwards;
}
.hero-name {
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.4s forwards;
}
.hero-name .accent {
    text-shadow: 0 0 40px rgba(0,212,255,0.4);
}
.hero-typed-wrapper {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    min-height: 1.6em;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.6s forwards;
}
.typed-prefix { color: var(--accent-green); }

.hero-tagline {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.6s ease 0.8s forwards;
}
.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.6s ease 1s forwards;
}

/* Hero photo */
.hero-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.8s ease 0.6s forwards;
}
.photo-frame {
    position: relative;
    width: 300px;
    height: 360px;
    border-radius: 16px;
}
.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 16px;
    position: relative;
    z-index: 1;
}
.photo-frame.no-photo {
    background: var(--bg-card);
    border: 2px dashed var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-frame.no-photo::after {
    content: '[ fotoğraf ]';
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}
.photo-glow {
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
    z-index: 0;
    opacity: 0.5;
    filter: blur(14px);
    animation: glowPulse 3.5s ease-in-out infinite alternate;
}
@keyframes glowPulse {
    from { opacity: 0.35; filter: blur(14px); }
    to   { opacity: 0.65; filter: blur(22px); }
}
.photo-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1.5px solid rgba(0,212,255,0.35);
    z-index: 2;
    pointer-events: none;
}
.photo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.35rem 0.9rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Scroll hint */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.scroll-indicator {
    width: 22px;
    height: 36px;
    border: 1.5px solid var(--border-accent);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.scroll-indicator span {
    display: block;
    width: 3px;
    height: 7px;
    background: var(--accent-cyan);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    60% { transform: translateY(11px); opacity: 0; }
}

/* ======================================
   ABOUT
====================================== */
.about { background: var(--bg-secondary); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 5rem;
    align-items: start;
}

.about-photo-frame {
    position: relative;
    border-radius: var(--radius);
}
.about-photo-frame img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    position: relative;
    z-index: 1;
}
.about-photo-frame.no-photo {
    height: 340px;
    background: var(--bg-card);
    border: 2px dashed var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-photo-frame.no-photo::after {
    content: '[ fotoğraf ]';
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.frame-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--accent-cyan);
    border-style: solid;
    z-index: 2;
}
.frame-corner.tl { top: -5px;  left: -5px;  border-width: 2px 0 0 2px; }
.frame-corner.tr { top: -5px;  right: -5px; border-width: 2px 2px 0 0; }
.frame-corner.bl { bottom: -5px; left: -5px;  border-width: 0 0 2px 2px; }
.frame-corner.br { bottom: -5px; right: -5px; border-width: 0 2px 2px 0; }

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.975rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.2rem;
    text-align: center;
    transition: all var(--ease);
}
.stat-card:hover {
    border-color: var(--border-accent);
    box-shadow: var(--glow-cyan);
}
.stat-number {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--accent-cyan);
    line-height: 1;
    margin-bottom: 0.3rem;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* ======================================
   EXPERIENCE
====================================== */
.timeline {
    position: relative;
    padding-left: 2rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 8px; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-purple) 60%, transparent);
}

.timeline-item { position: relative; margin-bottom: 2rem; }

.timeline-dot {
    position: absolute;
    left: -2.4rem;
    top: 1.4rem;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--accent-cyan);
    border: 2px solid var(--bg-primary);
    box-shadow: 0 0 12px rgba(0,212,255,0.6);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    transition: all var(--ease);
}
.timeline-card:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
    box-shadow: var(--glow-cyan);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.card-company {
    font-size: 1.25rem;
    color: var(--accent-cyan);
    margin-bottom: 0.2rem;
}
.card-role {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}
.card-sub {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.15rem;
}
.card-meta { text-align: right; flex-shrink: 0; }
.card-duration {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: rgba(0,212,255,0.08);
    border: 1px solid var(--border-accent);
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-cyan);
}
.badge-self {
    background: rgba(124,58,237,0.1);
    border-color: rgba(124,58,237,0.35);
    color: #b08bfa;
}
.card-location {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    font-family: var(--font-mono);
}
.card-location i { font-size: 0.65rem; margin-right: 0.2rem; }

.card-bullets {
    margin-bottom: 1.1rem;
}
.card-bullets li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.75;
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.3rem;
}
.card-bullets li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}
.card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

/* Small items */
.timeline-dot--small {
    width: 7px;
    height: 7px;
    left: -2.2rem;
    top: 0.85rem;
    background: var(--border);
    box-shadow: none;
}
.timeline-item--small { margin-bottom: 0.75rem; }
.timeline-card--small {
    padding: 0.75rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.small-role { font-size: 0.875rem; color: var(--text-primary); }
.small-tech { font-family: var(--font-mono); font-size: 0.75rem; color: var(--text-secondary); }

/* ======================================
   SKILLS
====================================== */
.skills { background: var(--bg-secondary); }

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.25rem;
}
.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem;
    transition: all var(--ease);
}
.skill-category:hover {
    border-color: var(--border-accent);
    box-shadow: var(--glow-cyan);
}
.skill-cat-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.9rem;
}
.skill-cat-header i {
    color: var(--accent-cyan);
    font-size: 0.95rem;
    width: 16px;
}
.skill-cat-header h3 { font-size: 0.95rem; color: var(--text-primary); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.skill-tag {
    display: inline-block;
    padding: 0.28rem 0.7rem;
    background: rgba(0,212,255,0.05);
    border: 1px solid rgba(0,212,255,0.12);
    border-radius: 20px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: all var(--ease);
}
.skill-tag:hover {
    background: rgba(0,212,255,0.1);
    color: var(--accent-cyan);
}
.skill-tag--main {
    background: rgba(0,212,255,0.09);
    border-color: rgba(0,212,255,0.28);
    color: var(--accent-cyan);
}

/* ======================================
   PROJECTS
====================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1.25rem;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: all var(--ease);
}
.project-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--glow-cyan);
}
.project-card--featured {
    grid-column: span 2;
    border-color: rgba(0,212,255,0.2);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(0,212,255,0.03) 100%);
}
.project-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.project-icon {
    font-size: 1.4rem;
    color: var(--accent-cyan);
}
.project-logo {
    height: 44px;
    width: auto;
    max-width: 130px;
    object-fit: contain;
    transition: filter var(--ease);
}

/* Pinkle, Lading & Prupp: duotone — koyu → #111120, açık → #00d4ff (cyan) */
.logo-pinkle,
.logo-lading,
.logo-prupp {
    border-radius: 10px;
    filter: url(#duotone-cyber);
    opacity: 0.9;
    transition: opacity var(--ease);
}
.logo-prupp { border-radius: 0; }
.project-card:hover .logo-pinkle,
.project-card:hover .logo-lading,
.project-card:hover .logo-prupp {
    opacity: 1;
}
.project-links a {
    color: var(--text-secondary);
    transition: color var(--ease);
    font-size: 0.95rem;
}
.project-links a:hover { color: var(--accent-cyan); }

.project-title {
    font-size: 1.1rem;
    color: var(--text-primary);
}
.project-desc {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.75;
    flex: 1;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
}

/* ======================================
   CONTACT
====================================== */
.contact { background: var(--bg-secondary); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
}
.contact-intro {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.975rem;
}
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--ease);
}
.contact-link i { width: 18px; color: var(--accent-cyan); }
.contact-link:hover { color: var(--accent-cyan); }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--text-secondary);
}
.form-group input,
.form-group textarea {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    resize: vertical;
    transition: border-color var(--ease), box-shadow var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0,212,255,0.08);
}
.form-success {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--accent-green);
    min-height: 1.3em;
    display: none;
}
.form-success.show { display: block; }

/* ======================================
   FOOTER
====================================== */
.footer {
    border-top: 1px solid var(--border);
    padding: 1.75rem 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.footer-links { display: flex; gap: 1.2rem; }
.footer-links a {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: color var(--ease);
}
.footer-links a:hover { color: var(--accent-cyan); }

/* ======================================
   REVEAL ANIMATIONS
====================================== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.timeline-item.reveal { transition-delay: 0s; }
.timeline-item:nth-child(2).reveal { transition-delay: 0.08s; }
.timeline-item:nth-child(3).reveal { transition-delay: 0.16s; }
.timeline-item:nth-child(4).reveal { transition-delay: 0.22s; }
.timeline-item:nth-child(5).reveal { transition-delay: 0.26s; }
.timeline-item:nth-child(6).reveal { transition-delay: 0.3s; }

.skills-grid .skill-category:nth-child(n) { transition-delay: calc(var(--i, 0) * 0.07s); }
.skills-grid .skill-category:nth-child(1) { --i: 1; }
.skills-grid .skill-category:nth-child(2) { --i: 2; }
.skills-grid .skill-category:nth-child(3) { --i: 3; }
.skills-grid .skill-category:nth-child(4) { --i: 4; }
.skills-grid .skill-category:nth-child(5) { --i: 5; }
.skills-grid .skill-category:nth-child(6) { --i: 6; }

.projects-grid .project-card:nth-child(1) { transition-delay: 0.05s; }
.projects-grid .project-card:nth-child(2) { transition-delay: 0.1s; }
.projects-grid .project-card:nth-child(3) { transition-delay: 0.15s; }
.projects-grid .project-card:nth-child(4) { transition-delay: 0.2s; }
.projects-grid .project-card:nth-child(5) { transition-delay: 0.25s; }

/* ======================================
   KEYFRAMES
====================================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 1024px) {
    .project-card--featured { grid-column: span 1; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: rgba(10,10,15,0.97);
        backdrop-filter: blur(14px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
        gap: 1.5rem;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }
    .nav-hamburger { display: flex; }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(var(--nav-h) + 2rem);
        gap: 2.5rem;
    }
    .hero-photo { order: -1; }
    .photo-frame { width: 220px; height: 264px; }
    .hero-cta { justify-content: center; }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-stats { grid-template-columns: repeat(3, 1fr); }

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

    .card-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    .card-meta { text-align: left; }

    .timeline-card--small {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .about-stats { grid-template-columns: 1fr; }
    .section { padding: 72px 0; }
    .hero-content { gap: 2rem; }
}
