/* arthurshafer.com landing page
   Design system inherited from ResFol.io (Tomorrow font, dark theme, gold accents) */

:root {
    --ec-red: #C4151C;
    --ec-red-dark: #991b1b;
    --ec-bg: #0a0e27;
    --ec-bg-soft: #131730;
    --ec-card: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --accent-primary: #D4AF37;
    --accent-tertiary: #B8860B;
    --border-subtle: #2d3748;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: 'Tomorrow', system-ui, sans-serif;
    background: var(--ec-bg);
    color: var(--text-primary);
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================
   FULL-PAGE BACKGROUND VIDEO
   ========================= */

.page-bg-video {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.35;
    pointer-events: none;
    background: var(--ec-bg);
}

.page-bg-video::-webkit-media-controls,
.page-bg-video::-webkit-media-controls-start-playback-button,
.page-bg-video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none;
}

.page-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, 0.7);
    min-height: 100vh;
}

/* =========================
   HEADER
   ========================= */

.header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 0 2rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
    height: 5rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    z-index: 10;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__logo-text {
    font-size: 2.2rem;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
}

.header__contact {
    margin-left: auto;
    padding: 10px 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.header__contact:hover {
    background: var(--ec-red);
    border-color: var(--ec-red);
}

/* Speedbar nav */

.speedbar {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.speedbar__menu {
    position: relative;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.speedbar__link {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    width: 8rem;
    color: #fff;
    transition: 500ms ease all;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.speedbar__link svg {
    width: 20px;
    height: 20px;
    transition: 500ms ease all;
}

.speedbar__link:hover svg {
    stroke: var(--ec-red);
}

.speedbar__link span {
    opacity: 0.7;
    transform: translateY(5px);
    transition: 500ms ease all;
}

.speedbar:not(:hover) .speedbar__link:focus span,
.speedbar__link:hover span {
    opacity: 1;
    transform: translateY(0);
}

.speedbar__link.active svg {
    stroke: var(--accent-primary);
}

.speedbar__link.active span {
    opacity: 1;
    color: var(--accent-primary);
}

.speedbar__item:last-child::before {
    content: '';
    position: absolute;
    left: -8rem;
    margin-left: 4rem;
    bottom: -0.75rem;
    height: 0.4rem;
    width: 2px;
    background: var(--ec-red);
    box-shadow:
        0 -0.5rem var(--ec-red),
        0 0 3rem 0.5rem var(--ec-red),
        2rem 0 0 rgba(255,255,255,0.15),
        -3rem 0 0 rgba(255,255,255,0.15),
        5rem 0 0 rgba(255,255,255,0.15),
        -6rem 0 0 rgba(255,255,255,0.15),
        8rem 0 0 rgba(255,255,255,0.15),
        -9rem 0 0 rgba(255,255,255,0.15),
        11rem 0 0 rgba(255,255,255,0.15),
        -12rem 0 0 rgba(255,255,255,0.15),
        14rem 0 0 rgba(255,255,255,0.15),
        -15rem 0 0 rgba(255,255,255,0.15),
        17rem 0 0 rgba(255,255,255,0.15),
        -18rem 0 0 rgba(255,255,255,0.15),
        20rem 0 0 rgba(255,255,255,0.15),
        -21rem 0 0 rgba(255,255,255,0.15);
    transition: 500ms ease all;
}

.speedbar__item:nth-child(1):hover ~ .speedbar__item:last-child::before { left: 0%; }
.speedbar__item:nth-child(2):hover ~ .speedbar__item:last-child::before { left: 20%; }
.speedbar__item:nth-child(3):hover ~ .speedbar__item:last-child::before { left: 40%; }
.speedbar__item:nth-child(4):hover ~ .speedbar__item:last-child::before { left: 60%; }
.speedbar__item:last-child:hover::before { left: 80%; }

/* =========================
   HERO
   ========================= */

.hero {
    padding: 4rem 0 3rem;
}

.hero-center {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-primary);
    padding: 0.35rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    background: rgba(15, 23, 42, 0.8);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: 'Tomorrow', system-ui, sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin: 0 0 1rem;
    line-height: 1.2;
}

.hero-title .accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 38rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-stat {
    min-width: 100px;
}

.hero-stat-number {
    font-size: 1.5rem;
    font-weight: 600;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.8rem 1.75rem;
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    border: none;
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(148, 27, 27, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 55px rgba(148, 27, 27, 0.7);
}

.btn-primary svg { width: 18px; height: 18px; }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    background: transparent;
    color: #e5e7eb;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-ghost:hover {
    border-color: rgba(148, 163, 184, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.btn-ghost svg { width: 18px; height: 18px; }

/* =========================
   SECTIONS
   ========================= */

.section {
    padding: 4rem 0;
}

.section-alt {
    background: rgba(0, 0, 0, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Tomorrow', system-ui, sans-serif;
    font-size: 2rem;
    margin: 0 0 0.75rem;
}

.section-subtitle {
    max-width: 40rem;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

/* =========================
   PROJECTS GRID
   ========================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1.25rem;
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(20px);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.project-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-primary);
}

.project-card__icon svg {
    width: 20px;
    height: 20px;
}

.project-card__badge {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.project-card__title {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    font-weight: 600;
}

.project-card__desc {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    flex: 1;
}

.project-card__desc li {
    margin-bottom: 0.5rem;
    padding-left: 0.75rem;
    position: relative;
}

.project-card__desc li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-primary);
}

.project-card__tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.project-card__tech span {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-secondary);
    letter-spacing: 0.03em;
}

.project-card__cta {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
    margin-top: auto;
}

.project-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.project-card:hover .project-card__cta svg {
    transform: translateX(4px);
}

/* Card color variants */
.project-card--gov { border-left: 3px solid #3b82f6; }
.project-card--resfol { border-left: 3px solid var(--accent-primary); }
.project-card--easy { border-left: 3px solid var(--ec-red); }
.project-card--senti { border-left: 3px solid #8b5cf6; }

/* =========================
   TIMELINE (Experience)
   ========================= */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--border-subtle));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-marker {
    position: absolute;
    left: -2rem;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-primary);
    border: 2px solid var(--ec-bg);
    transform: translateX(-5px);
    z-index: 1;
}

.timeline-marker--military {
    background: #3b82f6;
}

.timeline-content {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.timeline-content--military {
    border-color: rgba(59, 130, 246, 0.3);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.timeline-title {
    font-size: 1.15rem;
    margin: 0;
    font-weight: 600;
}

.timeline-role {
    font-size: 0.85rem;
    color: var(--accent-primary);
    margin-top: 0.2rem;
}

.timeline-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.timeline-details {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.55;
}

.timeline-details li {
    margin-bottom: 0.4rem;
    padding-left: 0.75rem;
    position: relative;
}

.timeline-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-subtle);
}

/* =========================
   SKILLS
   ========================= */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.skill-category {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    opacity: 0;
    transform: translateY(20px);
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.skill-category__icon {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.skill-category__icon svg {
    width: 18px;
    height: 18px;
}

.skill-category__title {
    font-size: 1rem;
    margin: 0 0 0.75rem;
    font-weight: 500;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.skill-tags span {
    font-size: 0.72rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

/* =========================
   EDUCATION
   ========================= */

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.education-card {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.education-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.education-card__icon {
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
}

.education-card__icon svg {
    width: 24px;
    height: 24px;
    margin: 0 auto;
}

.education-card__degree {
    font-size: 1.1rem;
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.education-card__school {
    font-size: 0.9rem;
    color: var(--accent-primary);
    margin-bottom: 0.25rem;
}

.education-card__detail {
    font-size: 0.83rem;
    color: var(--text-secondary);
}

.education-card__year {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    opacity: 0.7;
}

/* =========================
   FOOTER
   ========================= */

footer {
    padding: 2.5rem 0 2rem;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(2, 6, 23, 0.8);
}

.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* =========================
   CHAT WIDGET
   ========================= */

.chat-fab {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(196, 21, 28, 0.4);
    z-index: 100;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chat-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(196, 21, 28, 0.6);
}

.chat-fab svg { width: 24px; height: 24px; }

.chat-modal {
    position: fixed;
    bottom: 6rem;
    right: 1.5rem;
    width: 380px;
    max-height: 500px;
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    z-index: 101;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.chat-modal.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.chat-header-title {
    font-size: 0.95rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chat-header-icon { width: 18px; height: 18px; }

.chat-header-subtitle {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}

.chat-close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.chat-close-btn:hover { color: #fff; }

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 200px;
    max-height: 300px;
}

.chat-message {
    font-size: 0.88rem;
    line-height: 1.45;
    padding: 0.65rem 0.9rem;
    border-radius: 0.75rem;
    max-width: 85%;
    word-wrap: break-word;
}

.chat-message.system {
    background: rgba(148, 163, 184, 0.1);
    color: var(--text-secondary);
    align-self: center;
    text-align: center;
    max-width: 100%;
    font-size: 0.82rem;
}

.chat-message.user {
    background: linear-gradient(135deg, var(--ec-red), var(--ec-red-dark));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 0.25rem;
}

.chat-message.assistant {
    background: rgba(148, 163, 184, 0.12);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 0.25rem;
}

.chat-input-area {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.chat-input {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.6rem;
    padding: 0.6rem 0.8rem;
    color: #e5e7eb;
    font-size: 0.88rem;
    font-family: inherit;
    resize: none;
    outline: none;
}

.chat-input::placeholder { color: #6b7280; }

.chat-input:focus {
    border-color: var(--accent-primary);
}

.chat-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 0.5rem;
    background: var(--ec-red);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.chat-send-btn:hover { background: var(--ec-red-dark); }
.chat-send-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.chat-send-btn svg { width: 16px; height: 16px; }

.chat-typing {
    display: flex;
    gap: 4px;
    padding: 0.65rem 0.9rem;
    align-self: flex-start;
}

.chat-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: chatBounce 1.2s infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes chatBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
    .header { padding: 0 1rem; gap: 1rem; }
    .speedbar__link { width: 6rem; font-size: 0.6rem; }
    .header__logo-text { font-size: 1.3rem; }
}

@media (max-width: 960px) {
    .projects-grid { grid-template-columns: 1fr; }
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .header {
        height: auto;
        flex-wrap: wrap;
        padding: 1rem;
        gap: 0.5rem;
    }
    .speedbar {
        width: 100%;
        overflow-x: auto;
        justify-content: center;
    }
    .speedbar__link { width: 5rem; height: 3rem; font-size: 0.55rem; }
    .speedbar__link svg { width: 16px; height: 16px; }
    .header__logo-text { font-size: 1.1rem; }
    .header__contact { padding: 8px 14px; font-size: 0.75rem; }
    .speedbar__item:last-child::before { display: none; }
    .education-grid { grid-template-columns: 1fr; }
    .chat-modal { width: calc(100% - 2rem); right: 1rem; bottom: 5rem; }
}

@media (max-width: 600px) {
    .skills-grid { grid-template-columns: 1fr; }
    .timeline { padding-left: 1.5rem; }
    .timeline-marker { left: -1.5rem; }
    .timeline-header { flex-direction: column; gap: 0.25rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .header { padding: 0.75rem; gap: 0.5rem; }
    .header__logo-text { font-size: 1rem; }
    .speedbar { display: none; }
    .hero { padding: 2rem 0; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-avatar { width: 90px; height: 90px; }
    .hero-stats { gap: 1rem; }
    .hero-stat-number { font-size: 1.2rem; }
    .section-title { font-size: 1.5rem; }
    .timeline-content { padding: 1.25rem 1rem; }
}
