:root {
    --bg: #f4f6f9;
    --card: #ffffff;
    --text: #2b3242;
    --muted: #667085;
    --navy: #16324f;
    --navy-soft: #1d3f63;
    --blue: #2f6fce;
    --blue-light: #eaf1fb;
    --line: #e2e7ef;
    --radius: 12px;
    --shadow: 0 6px 20px rgba(22, 50, 79, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    color: #fff;
    padding: 64px 20px 56px;
    text-align: center;
}

.site-header h1 {
    margin: 0 0 6px;
    font-size: 2.6rem;
    letter-spacing: 0.5px;
}

.site-header .aka {
    color: #bcd2f0;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.site-header .tagline {
    margin: 0 auto;
    max-width: 620px;
    color: #dfe8f5;
}

/* Navigation */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(22, 50, 79, 0.06);
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.site-nav li a {
    display: block;
    padding: 14px 16px;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
}

.site-nav li a:hover {
    color: var(--blue);
    background: var(--blue-light);
    text-decoration: none;
}

/* Layout */
main {
    max-width: 980px;
    margin: 0 auto;
    padding: 40px 20px 20px;
}

.section {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 40px;
    margin-bottom: 28px;
}

.section-heading {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin: 0 0 20px;
}

.section-heading .kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    flex-shrink: 0;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.7rem;
    color: var(--navy);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.about-photo {
    text-align: center;
}

.about-photo img {
    width: 100%;
    max-width: 240px;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-photo .caption {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.fact-list {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 10px 20px;
    margin: 0;
}

.fact-list dt {
    font-weight: 700;
    color: var(--navy);
}

.fact-list dd {
    margin: 0;
}

/* Cards / two-column */
.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.col {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 20px;
}

.col h3 {
    margin: 0 0 10px;
    color: var(--navy);
}

.col .period {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.col p {
    margin: 8px 0;
}

/* Lists */
.styled-list {
    margin: 0;
    padding-left: 20px;
}

.styled-list li {
    margin-bottom: 6px;
}

.kop-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}

.kop-list li {
    padding-left: 30px;
    position: relative;
}

.kop-list li::before {
    content: attr(data-n);
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    line-height: 22px;
}

/* Images */
figure {
    margin: 18px 0;
    text-align: center;
}

figure img {
    max-width: 100%;
    border-radius: 10px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

figure .caption {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--muted);
}

.img-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.img-row figure {
    margin: 0;
}

.img-row figure img {
    max-height: 260px;
}

/* Strava */
.strava-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.strava-card {
    background: var(--blue-light);
    border: 1px solid #c6d8f3;
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
}

.strava-card iframe,
.strava-card .strava-embed-placeholder {
    display: block;
    max-width: 100%;
    border-radius: 8px;
}

.strava-card iframe {
    width: 100%;
}

.strava-note {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    margin: 16px 0 0;
}

/* Contact */
.contact-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-links li {
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    max-width: 980px;
    margin: 0 auto;
    padding: 24px 20px 40px;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

.site-footer .credit {
    margin-top: 6px;
    font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 820px) {
    .site-header h1 {
        font-size: 2rem;
    }

    .site-nav ul {
        gap: 0;
    }

    .site-nav li a {
        padding: 12px 10px;
        font-size: 0.85rem;
    }

    .section {
        padding: 24px 20px;
    }

    .about-grid,
    .cols,
    .kop-list,
    .fact-list {
        grid-template-columns: 1fr;
    }

    .about-photo img {
        max-width: 200px;
    }
}
