/* =========================
   Base
========================= */

body {
    background: #f8f8f8;
    color: #1f1f1f;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

* {
    box-sizing: border-box;
}

/* Links: neutral, no blue */
a,
a:visited {
    color: inherit;
}

a {
    text-decoration: none;
}

article a {
    text-decoration: underline;
    text-decoration-color: #d0d0d0;
    text-underline-offset: 3px;
}

article a:hover {
    text-decoration-color: #111;
}

/* =========================
   Layout
========================= */

article {
    max-width: 1050px;
    margin: 3rem auto;
    padding: 0 2rem;
}

/* =========================
   HOME layout (structured, not playful)
========================= */

.home-grid {
    position: relative;
    height: min(80vh, 720px);
}

/* Center name */
.center-name {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.center-name h1 {
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 300;
    letter-spacing: -0.04em;
    margin: 0;
}

/* =========================
   Tiles (quiet cards, no playfulness)
========================= */

.home-tile {
    position: absolute;
    display: block;

    max-width: 240px;
    padding: 0.9rem 1rem;

    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;

    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.home-tile:hover {
    border-color: #bdbdbd;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.home-tile h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.home-tile p {
    margin: 0;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.35;
}

/* =========================
   Layout geometry (stable grid-like placement)
========================= */

.tile-writing {
    top: 12%;
    left: 12%;
}

.tile-videos {
    top: 12%;
    right: 12%;
}

.tile-slides {
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
}

.tile-wip {
    bottom: 18%;
    left: 10%;
}

.tile-thought {
    bottom: 18%;
    right: 10%;
}

.tile-fun {
    bottom: 4%;
    left: 32%;
}

.tile-contact {
    bottom: 4%;
    left: 50%;
    transform: translateX(-50%);
}

.tile-amsterdam {
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
}

/* =========================
   Footer
========================= */

footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    font-size: 0.8rem;
    color: #888;
    border-top: 1px solid #eee;
}

/* =========================
   Images
========================= */

img {
    max-width: 160px;
    border-radius: 6px;
}

/* =========================
   Subpages
========================= */

article h1,
article h2 {
    font-weight: 500;
}

/* =========================
   Mobile
========================= */

@media (max-width: 768px) {
    article {
        margin: 2rem auto;
    }

    .home-grid {
        position: static;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .center-name {
        position: static;
        transform: none;
        margin-bottom: 1.5rem;
        pointer-events: auto;
    }

    .home-tile {
        position: static;
        transform: none !important;
        max-width: none;
    }
}