/* Stylesheet til About-siden — profilbillede/bio øverst og
   uddannelses-tidslinjen nedenunder. */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Poppins", sans-serif; }

body {
    min-height: 100vh;
    background: var(--bg);
}

.page {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 52px;
    padding: 60px 5% 90px;
}

.label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 10px;
}

/* ── Hero ── */
.hero {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-img { flex-shrink: 0; }

.img-box {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 6px solid var(--bg-soft);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.hero-text { display: flex; flex-direction: column; gap: 10px; }

h1 { font-size: 3rem; font-weight: 800; line-height: 1.05; color: var(--ink); }
h1 span { font-weight: 400; color: var(--muted); }
h2 { font-size: 1.1rem; font-weight: 500; color: var(--muted); }

.bio { font-size: .95rem; line-height: 1.8; color: var(--muted); max-width: 520px; margin-top: 6px; }

/* ── Divider ── */
.divider { height: 1px; background: var(--border); }

/* ── Sections ── */
.section { display: flex; flex-direction: column; gap: 24px; }

.section h3 { font-size: 1.5rem; font-weight: 700; color: var(--ink); }

/* ── Skills ── */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.skill-group {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skill-category { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--ink);
}

.tag i { font-size: 14px; }

/* ── Timeline ── */
.timeline { display: flex; flex-direction: column; gap: 0; }

.timeline-item {
    display: flex;
    gap: 24px;
    padding-bottom: 36px;
    position: relative;
}

/* Vertikal linje */
.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 18px;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.timeline-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--teal);
    border: 3px solid var(--teal-soft);
    flex-shrink: 0;
    margin-top: 4px;
}

.timeline-content { display: flex; flex-direction: column; gap: 6px; }

.timeline-meta { display: flex; align-items: center; gap: 10px; }

.timeline-year { font-size: 12px; color: var(--muted); }

.timeline-type {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 999px;
    letter-spacing: .05em;
}

.timeline-type.work { background: rgba(4,148,155,.1); border: 1px solid rgba(4,148,155,.25); color: var(--teal-dark); }
.timeline-type.edu  { background: var(--bg-soft); border: 1px solid var(--border); color: var(--muted); }

.timeline-content h4 { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.timeline-content > p { font-size: .85rem; color: var(--muted); }
.timeline-desc { font-size: .85rem; line-height: 1.7; color: var(--muted); max-width: 560px; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero { flex-direction: column; text-align: center; gap: 30px; }
    .bio { max-width: 100%; }
    .skills-grid { grid-template-columns: 1fr; }
    h1 { font-size: 2.2rem; }
}

@media (max-width: 480px) {
    .page { padding: 40px 4% 60px; }
    h1 { font-size: 1.8rem; }
}

.section-intro {
    font-size: .92rem;
    line-height: 1.85;
    color: var(--muted);
    max-width: 680px;
    border-left: 2px solid var(--teal);
    padding-left: 18px;
    margin-bottom: 8px;
}
