/* ===== Design tokens ===== */
:root {
    --champagne-50: #faf5f2;
    --champagne-100: #f2e5d9;
    --champagne-200: #e9d1bf;
    --champagne-300: #dab397;
    --champagne-400: #ca8e6d;
    --champagne-500: #bf7350;
    --champagne-600: #b16045;
    --champagne-700: #944c3a;
    --champagne-800: #773f35;
    --champagne-900: #61352d;

    --text: #392a29;

    --font-sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--text);
    background-color: var(--champagne-50);
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Layout ===== */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container { max-width: 640px; }
}
@media (min-width: 768px) {
    .container { max-width: 768px; }
}
@media (min-width: 1024px) {
    .container { max-width: 1024px; }
}

section[id] {
    scroll-margin-top: 6rem;
}

address {
    font-style: normal;
}

cite {
    font-style: normal;
}

/* ===== Typography helpers ===== */
.serif {
    font-family: var(--font-serif);
}

p + p,
p + address {
    margin-top: 1rem;
}

/* ===== Header & navigation ===== */
.site-header {
    background-color: var(--champagne-50);
    box-shadow: var(--shadow);
    z-index: 50;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.site-logo img {
    height: 4rem;
    width: auto;
}

.site-nav {
    display: none;
}

.site-nav a {
    font-size: 1rem;
    font-weight: 500;
}

.site-nav a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .site-header {
        position: sticky;
        top: 0;
    }

    .site-header__inner {
        justify-content: space-between;
    }

    .site-nav {
        display: flex;
        gap: 2rem;
        margin-left: 2.5rem;
    }
}

/* ===== Intro / hero ===== */
.intro {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.intro__grid {
    display: block;
}

.intro__image {
    margin-top: 1.25rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.intro__content {
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

.intro__content h1 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: var(--champagne-700);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .intro__grid {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .intro__image {
        flex: none;
        max-width: 20rem;
    }
}

@media (min-width: 1024px) {
    .intro__grid {
        gap: 2rem;
    }

    .intro__image {
        max-width: 28rem;
    }

    .intro__content h1 {
        margin-top: 3rem;
    }
}

/* ===== Button ===== */
.button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--champagne-700);
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
    transition: background-color 0.15s ease;
}

.button:hover {
    background-color: var(--champagne-900);
}

.button:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--champagne-50), 0 0 0 4px var(--champagne-500);
}

.button-wrapper {
    margin-top: 1.5rem;
}

/* ===== Inline link ===== */
.link {
    text-decoration: underline;
    color: var(--champagne-800);
}

.link:hover {
    color: var(--champagne-500);
}

/* ===== Pullquote ===== */
.pullquote {
    text-align: center;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.pullquote q {
    font-family: var(--font-serif);
    font-size: 3rem;
    line-height: 1;
    font-weight: 700;
    color: var(--champagne-700);
}

.pullquote__author {
    color: var(--champagne-900);
    font-size: 1.125rem;
    margin-top: 1rem;
}

/* ===== Services (Wat ik doe) ===== */
.services {
    background-color: var(--champagne-100);
}

.services__inner {
    padding-top: 5rem;
    padding-bottom: 5rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

.services h2 {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 3.5rem;
}

.services h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.875rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.services article + article h3 {
    margin-top: 3rem;
}

.services article p {
    max-width: 48rem;
}

@media (min-width: 1024px) {
    .services h2 {
        font-size: 3rem;
    }

    .services h3 {
        font-size: 2.25rem;
    }
}

/* ===== About (Over mij) ===== */
.about {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.about h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1.1;
    color: var(--champagne-700);
    margin-bottom: 1.5rem;
}

.about__content {
    max-width: 48rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

@media (min-width: 1024px) {
    .about h2 {
        font-size: 3rem;
    }
}

/* ===== References ===== */
.references {
    position: relative;
    background-color: var(--champagne-800);
    overflow: hidden;
}

.references__background {
    position: absolute;
    inset: 0;
}

.references__background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.references__overlay {
    position: absolute;
    inset: 0;
    background-color: var(--champagne-800);
    mix-blend-mode: multiply;
}

.references__inner {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.references__content {
    max-width: 48rem;
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--champagne-50);
}

.references h2 {
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1.5rem;
}

.references__intro {
    opacity: 0.75;
    margin-bottom: 1rem;
}

.reference {
    margin-bottom: 2rem;
    padding-left: 1rem;
}

.reference blockquote {
    margin-bottom: 1rem;
}

.reference figcaption {
    padding-left: 1.5rem;
}

@media (min-width: 1024px) {
    .references h2 {
        font-size: 3rem;
    }
}

/* ===== Contact ===== */
.contact {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.contact__grid {
    display: block;
}

.contact__image {
    margin-top: 1.25rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.contact__content {
    padding-top: 2rem;
    padding-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.75;
}

.contact__content h2 {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 2.25rem;
    line-height: 1.1;
    color: #576867;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .contact__grid {
        display: flex;
        gap: 1.5rem;
        align-items: flex-start;
    }

    .contact__image {
        flex: none;
        max-width: 20rem;
    }
}

@media (min-width: 1024px) {
    .contact__grid {
        gap: 2rem;
    }

    .contact__image {
        max-width: 24rem;
    }

    .contact__content {
        padding-top: 6rem;
    }

    .contact__content h2 {
        font-size: 3rem;
    }
}

/* ===== Footer spacer ===== */
.footer-spacer {
    height: 5rem;
}
