/* meltpels.nl, stijl A: helder. Wit en ijsblauw, kobalt als hoofdkleur, zonnegeel als accent. */
:root {
  --bg: #f5f8fc;
  --white: #fff;
  --ink: #0d1f3c;
  --blue: #2358ff;
  --blue-dark: #1a44cc;
  --sun: #ffc531;
  --sky: #e1ebff;
  --mute: #4b5d7a;
  --line: #d6e2f5;
  --font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 74rem;
}
@font-face{font-family:'Figtree';font-weight:300 900;font-display:swap;src:url(fonts/Figtree-normal-300.woff2) format('woff2')}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.15rem/1.65 var(--font); }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue); text-underline-offset: .2em; }
a:hover { color: var(--blue-dark); }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 99; }
.skip:focus { left: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.ic { width: 1.6em; height: 1.6em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* type */
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em; line-height: 1.02; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); letter-spacing: -.045em; line-height: .96; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0 0 1em; text-wrap: pretty; }
.kicker { font-weight: 700; font-size: .95rem; color: var(--blue); margin: 0 0 .7rem; letter-spacing: .01em; }
.lead { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.45; max-width: 36em; color: var(--mute); }
.prose { max-width: 38em; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--blue); font-weight: 700; }
.prose > :last-child { margin-bottom: 0; }

/* kop */
.nav { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.1rem var(--gutter); position: relative; z-index: 6; }
.nav .logo { font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; color: inherit; }
.nav .logo i { color: var(--sun); font-style: normal; }
.nav nav { display: flex; align-items: center; gap: clamp(.9rem, 2.4vw, 2rem); font-weight: 600; font-size: .98rem; flex-wrap: wrap; }
.nav nav a { color: inherit; text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav nav a:hover, .nav nav a[aria-current] { border-color: var(--sun); color: inherit; }
.nav nav a.pill { background: var(--sun); color: var(--ink); padding: .55rem 1.1rem; border-radius: 999px; border: 0; font-weight: 700; }
.nav nav a.pill:hover { background: #ffd05a; }
.nav.on-photo { position: absolute; inset: 0 0 auto 0; color: #fff; background: linear-gradient(rgba(5, 15, 35, .55), rgba(5, 15, 35, 0)); padding-bottom: 2.5rem; }
.nav:not(.on-photo) { color: var(--ink); }
.nav:not(.on-photo) .logo i { color: var(--blue); }

/* knoppen */
.btn { display: inline-flex; gap: .6rem; align-items: center; background: var(--sun); color: var(--ink); font-weight: 700; text-decoration: none; padding: .95rem 1.5rem; border-radius: 999px; transition: transform .15s, background .15s; border: 0; cursor: pointer; font-family: inherit; font-size: 1rem; }
.btn:hover { background: #ffd05a; color: var(--ink); transform: translateY(-2px); }
.btn .ic { width: 1.2em; height: 1.2em; }
.btn.blue { background: var(--blue); color: #fff; }
.btn.blue:hover { background: var(--blue-dark); color: #fff; }
.btn.ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px currentColor; }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; }
.linkbox { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }

/* hero's */
.hero { position: relative; display: flex; align-items: flex-end; min-height: 100svh; color: #fff; background: #26381f center / cover no-repeat; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 22, 50, .88) 0%, rgba(8, 22, 50, .45) 40%, rgba(8, 22, 50, .05) 75%); }
.hero .in { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; padding-bottom: clamp(2rem, 6vw, 4.5rem); }
.hero h1 { color: #fff; margin-bottom: .25em; max-width: 12em; }
.hero h1 span { color: var(--sun); }
.hero p { font-size: clamp(1.15rem, 2.2vw, 1.5rem); max-width: 34em; line-height: 1.4; margin-bottom: 1.4rem; color: #fff; }
.hero.small { min-height: min(68svh, 40rem); }
.hero.solid { background: linear-gradient(135deg, var(--blue) 0%, #0d1f3c 100%); }
.hero.solid::after { display: none; }
.hero.small h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); }

/* kopje zonder foto */
.phead { padding: clamp(1.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }
.phead h1 { font-size: clamp(2.4rem, 6.4vw, 4.8rem); max-width: 14em; }

/* cijfers */
.stats { background: var(--sky); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; padding-block: 2.4rem; }
.stats b { display: block; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -.04em; color: var(--blue); font-weight: 800; }
.stats span { display: block; margin-top: .4rem; font-size: 1rem; line-height: 1.35; color: var(--mute); }

/* secties */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
section.alt { background: var(--white); }
section.tight { padding-block: clamp(2rem, 5vw, 3.5rem); }
.two { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.two.flip > :first-child { order: 2; }
.two img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.two img.wide { aspect-ratio: 4 / 3; }
.two p { max-width: 32em; }
.check { list-style: none; padding: 0; margin: 1rem 0; }
.check li { position: relative; padding-left: 2rem; margin-bottom: .7rem; }
.check li::before { content: ''; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d1f3c' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.500'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* kaarten */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 1.7rem; }
section.alt .card { background: var(--bg); }
.card .badge { display: grid; place-items: center; width: 3.4rem; height: 3.4rem; background: var(--sun); border-radius: 16px; margin-bottom: 1rem; }
.card h3 { margin: 0 0 .4rem; }
.card p { margin: 0; color: var(--mute); font-size: 1.05rem; }
.card p + p { margin-top: .7em; }
.card .more { display: inline-flex; gap: .4rem; align-items: center; margin-top: 1rem; font-weight: 700; text-decoration: none; }
.card .more:hover { gap: .7rem; }

/* diensten met foto */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.svc a { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.svc a:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(13, 31, 60, .4); color: var(--ink); }
.svc .ph { aspect-ratio: 4 / 3; background: var(--blue) center / cover no-repeat; display: grid; place-items: center; color: #fff; }
.svc .ph .ic { width: 4.5rem; height: 4.5rem; stroke-width: 1.3; }
.svc .tx { padding: 1.4rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.svc h3 { margin-bottom: .4rem; }
.svc p { color: var(--mute); font-size: 1.05rem; flex: 1; }
.svc .go { font-weight: 700; color: var(--blue); display: inline-flex; gap: .4rem; align-items: center; }

/* stappen */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; margin-bottom: .8rem; }
.steps b { display: block; font-size: 1.15rem; margin-bottom: .3rem; letter-spacing: -.01em; }
.steps span { color: var(--mute); font-size: 1rem; line-height: 1.5; display: block; }

/* werk */
.work { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
.proj { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.2rem, 4vw, 3rem); align-items: center; }
.proj:nth-child(even) .shot { order: -1; }
.proj h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: .2rem 0 .4rem; display: flex; gap: .7rem; align-items: center; letter-spacing: -.03em; }
.proj h3 .ic { color: var(--blue); }
.proj h3 a { color: inherit; text-decoration: none; }
.proj p { color: var(--mute); max-width: 26em; }
.shot { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px -20px rgba(13, 31, 60, .4); background: var(--white); }
.shot img { width: 100%; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 1rem 0 1.2rem; padding: 0; }
.tags li { font-size: .82rem; font-weight: 700; background: var(--sky); color: var(--blue-dark); padding: .35rem .7rem; border-radius: 999px; }
.more { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; text-decoration: none; }
.more:hover { gap: .8rem; }

/* index (werkoverzicht) */
.index { border-top: 2px solid var(--ink); }
.index a { display: grid; grid-template-columns: 7rem minmax(0, 1.1fr) minmax(0, 2fr) minmax(0, 1.2fr) 1.5rem; gap: 1rem; align-items: baseline; padding: 1.2rem .5rem; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: background .15s; }
.index a:hover { background: var(--sky); color: var(--ink); }
.index .y, .index .stack { font-size: .9rem; color: var(--mute); }
.index .n { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.index .d { font-size: 1.05rem; line-height: 1.45; }
.index .arr { text-align: right; color: var(--blue); font-weight: 800; }

/* tijdlijn */
.tl { list-style: none; margin: 0; padding: 0; max-width: 54rem; }
.tl-item { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 0 1.2rem; }
.tl-item .when { font-weight: 700; font-size: .95rem; color: var(--blue); padding-top: .35rem; text-align: right; }
.tl-item .body { position: relative; border-left: 3px solid var(--line); padding: 0 0 2.4rem 2rem; }
.tl-item:last-child .body { padding-bottom: 0; border-left-color: transparent; }
.tl-item .body::before { content: ''; position: absolute; left: -.6rem; top: .55rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); }
.tl-item.now .body::before { background: var(--sun); border-color: var(--ink); }
.tl-item.now .when::after { content: 'Nu'; display: inline-block; margin-left: .5rem; background: var(--sun); color: var(--ink); border-radius: 999px; padding: .05rem .5rem; font-size: .75rem; }
.tl-item h3 { font-size: 1.3rem; margin: 0 0 .15rem; letter-spacing: -.015em; }
.tl-item .org { color: var(--mute); margin: 0 0 .5rem; font-size: 1rem; }
.tl-item p { max-width: 38em; }
.tl-item .body p:last-child { margin-bottom: 0; }
.phead .two img { aspect-ratio: 4 / 3; object-fit: cover; }

/* cv */
.cv { border-top: 2px solid var(--ink); }
.cv-row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.cv-row .when { font-weight: 700; color: var(--blue); font-size: .98rem; }
.cv-row b { display: block; font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
.cv-row .org { display: block; color: var(--mute); margin: .15rem 0 .4rem; }
.cv-row p { margin: 0; max-width: 42em; color: var(--ink); font-size: 1.05rem; }

/* foto-strip */
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: .8rem; padding: 0 .8rem; }
.strip img { width: 100%; height: clamp(220px, 34vw, 460px); object-fit: cover; border-radius: 20px; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; margin-bottom: .7rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.1rem 1.3rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 1.5rem; line-height: 1; font-weight: 700; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { padding: 0 1.3rem 1.2rem; margin: 0; color: var(--mute); max-width: 44em; }

/* projectpagina's */
.back { display: inline-block; margin-bottom: 1.4rem; font-weight: 700; text-decoration: none; }
.case-head { padding: clamp(1rem, 4vw, 2.5rem) 0 1.5rem; }
.case-head h1 { font-size: clamp(2.8rem, 8vw, 6rem); margin-bottom: .2em; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem 2rem; margin: 2rem 0 0; padding: 1.3rem 0; border-block: 1px solid var(--line); }
.meta dt { font-size: .8rem; font-weight: 700; color: var(--blue); margin-bottom: .3rem; }
.meta dd { margin: 0; font-size: 1.05rem; line-height: 1.4; }
.case-body { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem clamp(1.5rem, 5vw, 4rem); padding-block: 2.5rem; border-bottom: 1px solid var(--line); }
.case-body > h2 { font-size: 1rem; font-weight: 800; letter-spacing: 0; color: var(--blue); margin: .3rem 0 0; }
.case-body .prose { max-width: 40em; }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin: 1.5rem 0 .5rem; counter-reset: f; }
.flow > div { counter-increment: f; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; position: relative; }
.flow > div::before { content: counter(f); display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--sun); font-weight: 800; font-size: .9rem; margin-bottom: .6rem; }
.flow h3 { font-size: 1.05rem; margin-bottom: .4em; }
.flow p { margin: 0; font-size: .95rem; line-height: 1.4; color: var(--mute); }
.pic { margin: 1.5rem 0; }
.pic img { width: 100%; border-radius: 18px; }
.pic figcaption { margin-top: .6rem; font-size: .9rem; color: var(--mute); }
.next { display: block; padding-block: clamp(2.5rem, 6vw, 4rem); text-decoration: none; color: var(--ink); }
.next b { display: block; font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.045em; margin-top: .4rem; font-weight: 800; }
.next:hover b { color: var(--blue); }
blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.3rem; border-left: 5px solid var(--sun); font-size: 1.4rem; line-height: 1.4; font-weight: 600; max-width: 26em; }

/* D&D-variant: questlogboek en d20-knop */
.quests { list-style: none; counter-reset: q; padding: 0; margin: 0; display: grid; gap: 1rem; max-width: 52rem; }
.quests li { counter-increment: q; display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 1.3rem; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 1.2rem 1.5rem; }
.quests li::before { content: counter(q); display: grid; place-items: center; width: 4.2rem; height: 4.8rem; background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1.7rem; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.quests .qtag { display: block; font-size: .82rem; font-weight: 700; color: var(--blue); margin-bottom: .15rem; }
.quests b { display: block; font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; margin-bottom: .25rem; }
.quests p { margin: 0; color: var(--mute); font-size: 1.05rem; }
.btn.d20 .ic { width: 1.35em; height: 1.35em; }
.btn.d20:hover .ic { animation: roll .8s ease-in-out; }
@keyframes roll { 0% { transform: rotate(0); } 60% { transform: rotate(300deg) scale(1.2); } 100% { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.d20:hover .ic { animation: none; } }
@media (max-width: 40rem) { .quests li { grid-template-columns: 3.6rem minmax(0, 1fr); gap: 1rem; padding: 1rem; } .quests li::before { width: 3.4rem; height: 3.9rem; font-size: 1.4rem; } }


/* D&D-thema: perkament, goud, boekachtige koppen, kaartraster. Alleen met <body class="dnd"> */
@font-face{font-family:'Fraunces';font-weight:300 900;font-display:swap;src:url(fonts/Fraunces-normal-300.woff2) format('woff2')}
body.dnd { --parch: #ffffff; --parch2: #f5f8fc; --gold: #b0821f; --gold-l: #f0c456; --navy: #0d1f3c; background: var(--parch); }
body.dnd h1, body.dnd h2, body.dnd h3, body.dnd .quests b, body.dnd .adv .num { font-family: 'Fraunces', Georgia, serif; letter-spacing: -.015em; font-weight: 650; }
body.dnd h1 { font-size: clamp(2.5rem, 6.6vw, 5rem); line-height: 1; }
body.dnd .kicker, body.dnd .rune { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-style: italic; letter-spacing: .02em; color: var(--gold); font-size: 1.05rem; }
body.dnd .hero .rune { color: var(--gold-l); margin-bottom: .6rem; font-size: 1.2rem; font-weight: 700; text-shadow: 0 1px 10px rgba(5, 15, 35, .85), 0 0 2px rgba(5, 15, 35, .8); }
body.dnd .hero::after { background: linear-gradient(to top, rgba(8, 22, 50, .92) 0%, rgba(8, 22, 50, .6) 45%, rgba(8, 22, 50, .25) 80%); }
body.dnd .foot { background: var(--parch2); }
section.parch { background: var(--parch); }
section.parch2 { background: var(--parch2); }
body.dnd .nav:not(.on-photo) .logo i { color: var(--gold); }
.dropcap::first-letter { font-family: 'Fraunces', Georgia, serif; font-size: 3.9em; float: left; line-height: .78; padding: .06em .12em 0 0; color: var(--gold); font-weight: 700; }
.orn { display: flex; align-items: center; gap: 1rem; color: var(--gold); margin: 0 0 1.6rem; max-width: 24rem; }
.orn::before, .orn::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); }
.orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.orn .ic { width: 2.2rem; height: 2.2rem; stroke-width: 1.5; }
.framed { border: 2px solid var(--gold); padding: .6rem; background: var(--parch); box-shadow: 0 18px 40px -22px rgba(13, 31, 60, .55); border-radius: 6px; }
.framed img { width: 100%; border-radius: 2px; aspect-ratio: 4 / 5; object-fit: cover; }
.chars .char, .advs .adv { position: relative; background: var(--parch); border: 2px solid var(--gold); border-radius: 12px; padding: 1.5rem 1.4rem 1.4rem; box-shadow: inset 0 0 0 4px var(--parch), inset 0 0 0 5px rgba(176, 130, 31, .55); }
.char .stat { position: absolute; top: -1rem; right: 1rem; display: flex; align-items: center; gap: .5rem; background: var(--navy); color: var(--gold-l); border: 2px solid var(--gold); border-radius: 999px; padding: .15rem .7rem .15rem .9rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.char .stat b { font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; color: #fff; letter-spacing: 0; }
.char .ico { width: 3.2rem; height: 3.2rem; display: grid; place-items: center; background: var(--gold-l); color: var(--navy); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); margin-bottom: 1rem; }
.char .ico .ic { width: 1.5rem; height: 1.5rem; }
.char h3, .adv h3 { margin: 0 0 .4rem; font-size: 1.4rem; }
.char p, .adv p { margin: 0; color: var(--mute); font-size: 1.05rem; }
.adv .num { display: block; color: var(--gold); font-size: 1.1rem; font-style: italic; margin-bottom: .2rem; }
section.dungeon { background: var(--navy); color: var(--parch); background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px), radial-gradient(ellipse at 50% 0, rgba(240, 196, 86, .12), transparent 60%); background-size: 52px 52px, 52px 52px, 100% 100%; }
section.dungeon h2 { color: #fff; }
section.dungeon .kicker { color: var(--gold-l); }
section.dungeon .lead { color: #c7d0e0; }
section.dungeon .quests li { background: rgba(255, 255, 255, .06); border: 1px solid rgba(240, 196, 86, .45); color: var(--parch); }
section.dungeon .quests li::before { background: var(--gold-l); color: var(--navy); font-family: 'Fraunces', Georgia, serif; }
section.dungeon .quests .qtag { color: var(--gold-l); }
section.dungeon .quests b { color: #fff; }
section.dungeon .quests p { color: #c7d0e0; }
section.cta.dungeon { text-align: center; }
section.cta.dungeon p { color: #dbe3f0; opacity: 1; }
body.dnd .btn.d20 { background: var(--gold-l); border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--navy); }
body.dnd .btn.d20:hover { background: #f6d27a; transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--navy); }
section.cta.dungeon .btn.d20 { border-color: #fff; box-shadow: 3px 3px 0 rgba(255, 255, 255, .35); }
body.dnd .faq details { background: var(--parch); border-color: var(--gold); }
body.dnd .faq summary::after { color: var(--gold); }
body.dnd .check li::before { background-color: var(--gold-l); }
body.dnd .tags li { background: var(--parch2); color: var(--navy); }
@media (max-width: 56rem) { .framed img { aspect-ratio: 4 / 3; } }

/* afsluiting */
.cta { background: var(--blue); color: #fff; text-align: center; padding-block: clamp(3.5rem, 8vw, 6rem); }
.cta h2 { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.cta p { max-width: 34em; margin: 0 auto 1.4rem; font-size: 1.2rem; opacity: .92; }
.cta .linkbox { justify-content: center; }
.foot { padding: 2.2rem 0 3rem; color: var(--mute); font-size: .95rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.foot a { color: inherit; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.2rem; flex-wrap: wrap; }

@media (max-width: 56rem) {
  body { font-size: 1.1rem; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .two, .proj, .cards, .cards.three, .svc, .steps, .flow { grid-template-columns: 1fr; }
  .two.flip > :first-child { order: 0; }
  .proj:nth-child(even) .shot { order: 0; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img:first-child { grid-column: 1 / -1; }
  .meta { grid-template-columns: 1fr 1fr; }
  .case-body { grid-template-columns: 1fr; }
  .cv-row { grid-template-columns: 1fr; gap: .2rem; }
  .tl-item { grid-template-columns: 1fr; }
  .tl-item .when { text-align: left; padding: 0 0 .3rem 2.2rem; }
  .tl-item .body { padding-left: 2rem; margin-left: .45rem; }
  .index a { grid-template-columns: 1fr auto; row-gap: .25rem; }
  .index .y { order: 1; } .index .n { order: 2; } .index .d { order: 3; grid-column: 1 / -1; } .index .stack { order: 4; grid-column: 1 / -1; } .index .arr { order: 0; grid-column: 2; grid-row: 1 / span 2; }
  .nav nav { gap: .9rem; font-size: .92rem; }
  .hero { background-position: 68% 20%; }
}
/* telefoon: compact menu, hero krijgt ruimte onder de kop */
@media (max-width: 40rem) {
  .nav { padding: .9rem var(--gutter) 1rem; row-gap: .5rem; align-items: center; }
  .nav nav { display: contents; }
  .nav nav::before { content: ''; order: 1; flex-basis: 100%; height: 0; }
  .nav nav a { order: 2; font-size: .9rem; }
  .nav nav a.pill { order: 0; margin-left: auto; padding: .5rem 1rem; font-size: .9rem; }
  .nav .logo { font-size: 1.45rem; }
  .nav { column-gap: .85rem; }
  .nav.on-photo { padding-bottom: 2rem; }
  .hero { padding-top: 8.5rem; }
  .hero.small { min-height: 0; }
  .hero h1 { margin-top: 0; }
}
@media (max-width: 30rem) { .stats .wrap { grid-template-columns: 1fr; } .meta { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .nav nav, .cta, .foot ul { display: none; } }
