/* ============================================================
   Martijn van Lith — style.css
   Fonts: Syne (headings) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,400&display=swap');

/* ---- Variables ---- */
:root {
    --accent:        #2C5F8A;
    --accent-mid:    #4A7FAE;
    --accent-light:  #EAF2F8;
    --text:          #1A1A1A;
    --text-muted:    #6B7280;
    --bg:            #FFFFFF;
    --border:        #E5E7EB;
    --font-head:     'Syne', sans-serif;
    --font-body:     'DM Sans', sans-serif;
    --max-w:         1080px;
    --nav-h:         68px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img  { max-width: 100%; display: block; }

/* ---- Base ---- */
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .2s;
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.15;
    color: var(--text);
}

/* ---- Layout wrapper ---- */
.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================================
   NAV
   ============================================================ */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    height: var(--nav-h);
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.site-nav .wrap {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text) !important;
    text-decoration: none;
    letter-spacing: -.01em;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    gap: 2.25rem;
    list-style: none;
}

.nav-links a {
    font-size: .84rem;
    font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    letter-spacing: .04em;
    position: relative;
    padding-bottom: 3px;
    transition: color .2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width .25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ---- Hamburger ---- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: .3rem;
}
.nav-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        gap: 0;
        padding: .5rem 2rem 1rem;
    }
    .nav-links.open { display: flex; }
    .nav-links a {
        font-size: 1rem;
        padding: .7rem 0;
        border-bottom: 1px solid var(--border);
        display: block;
        letter-spacing: 0;
    }
    .nav-links li:last-child a { border-bottom: none; }
    .nav-links a::after { display: none; }
}

/* ============================================================
   HERO  (homepage)
   ============================================================ */
.hero {
    padding: 7rem 0 5.5rem;
    border-bottom: 1px solid var(--border);
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.hero-tag::before {
    content: '';
    display: block;
    width: 28px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.hero-title {
    font-size: clamp(3rem, 9vw, 6.5rem);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.0;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
}

/* ============================================================
   PAGE HEADER  (inner pages)
   ============================================================ */
.page-header {
    padding: 4.5rem 0 3.5rem;
    border-bottom: 1px solid var(--border);
}

.page-eyebrow {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.page-eyebrow::before {
    content: '';
    display: block;
    width: 20px; height: 2px;
    background: var(--accent);
}

.page-title {
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.75;
}

/* ============================================================
   HOME TEASERS
   ============================================================ */
.teasers {
    padding: 4rem 0;
}

.teasers-title {
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.teaser-card {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: 3px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
.teaser-card:hover {
    border-color: var(--accent-mid);
    box-shadow: 0 6px 28px rgba(44,95,138,.08);
    transform: translateY(-3px);
    color: inherit;
}

.teaser-label {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .6rem;
}

.teaser-heading {
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: .7rem;
}

.teaser-text {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1.25rem;
}

.teaser-cta {
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
}

@media (max-width: 680px) {
    .teaser-grid { grid-template-columns: 1fr; }
}
@media (min-width: 681px) and (max-width: 900px) {
    .teaser-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   STORY LIST
   ============================================================ */
.story-intro {
    color: var(--text-muted);
    max-width: 560px;
    margin: 2.5rem 0 2rem;
    font-size: 1rem;
    line-height: 1.75;
}

.story-list { margin-top: 0; }

.story-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: color .2s;
}
.story-item:first-child { border-top: 1px solid var(--border); }
.story-item:hover { color: var(--accent); }
.story-item:hover .story-arrow {
    transform: translateX(5px);
    color: var(--accent);
}

.story-name {
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 600;
}

.story-right {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-shrink: 0;
}

.story-badge {
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .22em .65em;
    border-radius: 2px;
    background: var(--accent-light);
    color: var(--accent);
}

.story-arrow {
    color: var(--text-muted);
    font-size: .9rem;
    transition: transform .2s, color .2s;
}

/* ============================================================
   JOURNALISM
   ============================================================ */
.journalism-list { margin-top: 0; }

.journalism-item {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2.5rem;
    padding: 2.75rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.journalism-item:first-child { border-top: 1px solid var(--border); }

.journalism-source {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    line-height: 1.4;
}

.journalism-title {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: .7rem;
}

.journalism-body {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.journalism-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    transition: gap .2s;
}
.journalism-link:hover { gap: .55rem; color: var(--accent); }

@media (max-width: 660px) {
    .journalism-item {
        grid-template-columns: 1fr;
        gap: .75rem;
    }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.75fr;
    gap: 4.5rem;
    align-items: start;
    padding: 4rem 0;
}

.about-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 2px;
}

.about-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: .975rem;
}

.about-text p.lead {
    font-size: 1.05rem;
    color: var(--text);
}

@media (max-width: 720px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-photo { aspect-ratio: 4/4; max-width: 300px; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap {
    max-width: 520px;
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}
.contact-item:first-child { border-top: 1px solid var(--border); }

.contact-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-meta strong {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: .2rem;
}
.contact-meta a,
.contact-meta span {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text);
}
.contact-meta a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 1.75rem 0;
    margin-top: 5rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.footer-copy,
.footer-sub {
    font-size: .78rem;
    color: var(--text-muted);
}

.footer-sub { font-family: var(--font-head); font-weight: 600; }

@media (max-width: 500px) {
    .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
    opacity: 0;
    transform: translateY(14px);
    animation: fadeIn .55s ease forwards;
}
.fade-in:nth-child(1) { animation-delay: .05s; }
.fade-in:nth-child(2) { animation-delay: .15s; }
.fade-in:nth-child(3) { animation-delay: .25s; }
.fade-in:nth-child(4) { animation-delay: .35s; }

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}