@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-size: 18px;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

/* ── Header ── */

header {
    background: #0f172a;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav ul li {
    display: inline;
}

nav ul li a {
    display: inline-block;
    color: #94a3b8;
    padding: 15px 18px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

nav ul li a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* ── Layout ── */

.container {
    padding: 52px 48px;
    max-width: 1100px;
    width: 100%;
    margin: 56px auto 0;
}

/* ── Typography ── */

h1 {
    font-size: 38px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h2 {
    font-size: 26px;
    margin: 40px 0 18px;
    color: #1e3a5f;
    font-weight: 600;
}

h3 {
    font-size: 19px;
    margin: 32px 0 14px;
    color: #1e3a5f;
    font-weight: 600;
    letter-spacing: -0.01em;
    padding-left: 11px;
    position: relative;
}

h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 0.75em;
    background: #0369a1;
}

h4 {
    font-size: 17px;
    margin: 24px 0 10px;
    color: #1e3a5f;
    font-weight: 500;
}

p {
    margin: 8px 0;
}

hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 40px 0;
}

/* ── Links ── */

a {
    color: #0369a1;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #075985;
    text-decoration: underline;
}

/* ── Images ── */

.imgR, .imgL {
    border-radius: 6px;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
}

.imgR {
    float: right;
    margin-left: 36px;
}

.imgL {
    float: left;
    margin-right: 36px;
}

/* ── Tables ── */

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

table td, table td * {
    vertical-align: top;
}

th, td {
    text-align: left;
    padding: 22px 24px;
    border: 1px solid #f1f5f9;
}

tr:nth-child(odd) {
    background-color: #f9fafb;
}

/* ── Social icons ── */

.social-icons {
    margin: 20px 0 24px;
}

.social-icons a {
    margin-right: 18px;
    color: #9ca3af;
    font-size: 20px;
    font-weight: normal;
    transition: color 0.2s ease;
}

.social-icons a:hover {
    color: #0369a1;
    text-decoration: none;
}

/* ── Footer ── */

footer {
    text-align: center;
    padding: 22px;
    background: #0f172a;
    color: #64748b;
    font-size: 13px;
    margin-top: 64px;
}

/* ── Logo link in nav ── */

.logo-link {
    display: inline-block;
    padding: 11px 18px;
    transition: opacity 0.2s ease;
}

.logo-link img {
    vertical-align: middle;
}

.logo-link:hover {
    opacity: 0.7;
    background-color: transparent;
    text-decoration: none;
}

/* ── Video ── */

.video-container video {
    max-width: 300px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── Responsive ── */

@media only screen and (max-width: 600px) {
    h1 { font-size: 26px; }
    h2 { font-size: 22px; }
    h3 { font-size: 17px; }
    body { font-size: 16px; }

    nav ul li a {
        font-size: 11px;
        padding: 12px 8px;
    }

    nav ul li a.cv-link {
        font-size: 0;
        position: relative;
    }

    nav ul li a.cv-link::after {
        content: "CV";
        font-size: 11px;
        position: absolute;
        left: 8px;
    }

    .imgR, .imgL {
        max-width: 100%;
        margin: 0 0 20px;
        float: none;
    }

    .container { padding: 24px 16px; }

    .social-icons a { font-size: 24px; }

    iframe { width: 100%; height: auto; }
}
