:root {
  color-scheme: light;
  --paper: #f6f3ec;
  --ink: #241d1a;
  --muted: #5c4e49;
  --line: #d8cfc4;
  --rust: #973e2b;
  --display: 'Playfair Display', Georgia, serif;
  --body: Manrope, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.65 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-underline-offset: 0.28em; }
a:focus-visible, button:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; width: 100%; height: auto; }
figure, h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.045em; }
h1 em, h2 em { font-weight: inherit; }
.frame { width: min(88.5%, 84rem); margin-inline: auto; }
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 1; padding: .5rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.25rem; min-height: 5.25rem; }
.identity { display: inline-flex; align-items: baseline; width: fit-content; gap: .45rem; text-decoration: none; }
.wordmark { font: 500 2.25rem/1 var(--display); letter-spacing: -.065em; }
.wordmark span { color: var(--rust); }
.wordmark-sub { font-size: .69rem; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; }
.main-nav, .languages { display: flex; align-items: center; }
.main-nav { gap: 2rem; font-size: .88rem; font-weight: 700; }
.main-nav a, .languages a { text-decoration: none; }
.main-nav a:hover { text-decoration: underline; }
.languages { justify-self: end; gap: .15rem; }
.languages a { min-width: 2.45rem; min-height: 2.75rem; display: grid; place-items: center; font-size: .75rem; font-weight: 800; color: var(--muted); }
.languages a[aria-current], .languages a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; }

.hero { display: grid; grid-template-columns: .91fr 1.09fr; gap: clamp(2rem, 4.7vw, 5rem); align-items: center; padding-block: 1.75rem 2.5rem; }
.hero-copy { padding-block: 2rem; }
.eyebrow { font-size: .78rem; line-height: 1.45; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero .eyebrow { color: var(--rust); display: flex; align-items: center; gap: .6rem; }
.hero .eyebrow span { width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; flex: none; }
h1 { font-size: clamp(3.3rem, 6.15vw, 6.3rem); line-height: 1.01; margin-top: 1.15rem; }
h1 em { color: var(--rust); }
html:not([lang='nl']) h1 { font-size: clamp(2.85rem, 5.35vw, 5.7rem); }
.intro { color: var(--muted); max-width: 32ch; font-size: clamp(1rem, 1.35vw, 1.17rem); margin-block: 1.55rem 1.8rem; }
.button { display: inline-flex; min-height: 3.6rem; align-items: center; justify-content: center; padding: .7rem 1.45rem; background: var(--ink); color: white; font-weight: 800; font-size: .88rem; text-decoration: none; transition: background-color .18s ease; }
.button:hover { background: var(--rust); }
.button:focus-visible { outline-color: var(--ink); }
.hero-photo, .hero-monogram { aspect-ratio: 1.04; overflow: hidden; background: #c5a99d; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero-monogram { display: grid; place-content: center; grid-auto-flow: column; background: #342622; color: #f0dbcc; font: 500 clamp(8rem, 24vw, 21rem)/1 var(--display); letter-spacing: -.11em; }
.hero-monogram span { color: #d9846e; }

.portfolio { border-top: 1px solid var(--line); padding-block: 4rem 5rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; }
.section-heading .eyebrow, .contact .eyebrow { margin-bottom: .65rem; }
.section-heading h2 { font-size: clamp(2.5rem, 4.8vw, 4.45rem); line-height: 1.05; }
.text-link { display: inline-flex; min-height: 2.75rem; align-items: center; font-size: .88rem; font-weight: 800; flex: none; color: var(--rust); }
.text-link:hover { color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.6rem 1.25rem; margin-top: 2rem; align-items: start; }
.print { text-decoration: none; min-width: 0; }
.print:nth-child(3n + 2) { margin-top: 2rem; }
.print img { aspect-ratio: 4 / 5; object-fit: cover; background: #ded2c7; transition: opacity .2s ease; }
.print:hover img { opacity: .87; }
.print:hover figcaption { text-decoration: underline; }
.print figcaption { padding-top: .65rem; color: var(--muted); font-size: .86rem; font-weight: 700; }

.contact { background: var(--ink); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1fr .76fr; align-items: center; gap: 3.5rem; padding-block: 4.7rem; }
.contact .eyebrow { color: #f0a48e; }
.contact h2 { font-size: clamp(2.75rem, 5.3vw, 5.2rem); line-height: 1.03; }
.contact h2 em { color: #f0a48e; }
.contact-copy > p { margin-bottom: 1.1rem; max-width: 40ch; color: #e2d7cf; }
.contact-links { border-top: 1px solid var(--line); }
.contact-links a { display: flex; justify-content: space-between; align-items: center; min-height: 3.35rem; gap: .7rem; padding-block: .55rem; border-bottom: 1px solid var(--line); text-decoration: none; }
.contact-links a:hover strong { text-decoration: underline; }
.contact-links span { font-size: .84rem; color: var(--muted); }
.contact .contact-links, .contact .contact-links a { border-color: #64534b; }
.contact .contact-links span { color: #e2d7cf; }
.footer-inner { min-height: 5.5rem; font-size: .82rem; color: var(--muted); }
.footer-inner a:last-child { justify-self: end; }

dialog { position: fixed; width: min(100% - 2rem, 29rem); max-height: calc(100% - 2rem); padding: 2.15rem; border: 1px solid var(--line); color: var(--ink); background: var(--paper); box-shadow: 0 1rem 5rem #20161038; }
dialog::backdrop { background: #231a18a6; }
dialog .eyebrow { padding-right: 2.5rem; color: var(--rust); }
dialog h2 { font-size: clamp(1.85rem, 6vw, 2.7rem); line-height: 1.1; margin-block: .55rem 1.45rem; }
.dialog-close { position: absolute; top: .65rem; right: .65rem; }
.dialog-close button { width: 2.75rem; height: 2.75rem; border: 0; background: transparent; color: var(--ink); font: 400 1.65rem/1 var(--body); cursor: pointer; }
.dialog-close button:hover { background: #e9e1d8; }

@media (max-width: 760px) {
  .frame { width: min(91%, 39rem); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 4.4rem; }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 1.65rem; padding-block: 1.8rem 1.75rem; }
  .hero-copy { padding-block: .15rem 0; }
  h1 { font-size: clamp(3rem, 10vw, 5.1rem); }
  html:not([lang='nl']) h1 { font-size: clamp(2.6rem, 9vw, 4.85rem); }
  .intro { margin-block: 1rem 1.2rem; }
  .hero-photo, .hero-monogram { aspect-ratio: 1 / 1.03; }
  .portfolio { padding-block: 2.6rem 3rem; }
  .section-heading { flex-wrap: wrap; gap: .65rem; }
  .gallery { gap: 1.25rem .7rem; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1rem; }
  .print:nth-child(3n + 2) { margin-top: 0; }
  .print figcaption { font-size: .79rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 3rem; }
  .footer-inner { grid-template-columns: 1fr auto; row-gap: .6rem; padding-block: 1.25rem; }
  .footer-inner .identity { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
