@font-face {
  font-family: "Amatic SC";
  src: url("assets/fonts/amatic-sc-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

/* V4.1 — altijd zichtbare taalkeuze en socialknoppen. */
.language-selector {
  display: inline-flex;
  padding: 3px;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255, 250, 240, 0.55);
  border-radius: 999px;
  background: rgba(8, 20, 13, 0.28);
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.13);
}

.language-selector a,
.language-selector span {
  display: grid;
  min-width: 37px;
  height: 29px;
  padding: 0 8px;
  border-radius: 999px;
  place-items: center;
  color: #fffaf0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1;
}

.language-selector span[aria-current="true"] {
  background: #edc78f;
  color: var(--forest-deep);
}

.language-selector a:hover,
.language-selector a:focus-visible {
  background: rgba(255, 250, 240, 0.16);
}

.footer-social-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-social-title {
  color: rgba(255, 250, 240, 0.78);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-social-link,
.footer-social-link.is-pending {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 250, 240, 0.5);
  background: rgba(255, 255, 255, 0.07);
  color: #fffaf0;
  opacity: 1;
}

.footer-social-link svg {
  display: block;
  width: 21px;
  height: 21px;
  overflow: visible;
}

.footer-social-link.is-pending {
  opacity: 0.72;
}

.footer-language-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.42);
  color: #edc78f;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
}

@media (max-width: 760px) {
  .footer-social-block {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .language-selector a,
  .language-selector span {
    min-width: 33px;
    height: 27px;
    padding: 0 6px;
    font-size: 16px;
  }
}

@font-face {
  font-family: "Amatic SC";
  src: url("assets/fonts/amatic-sc-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --forest: #1b3025;
  --forest-deep: #112219;
  --moss: #516752;
  --sage: #93a187;
  --paper: #f2eadc;
  --paper-light: #fbf8f1;
  --rust: #a54d36;
  --ochre: #b77a25;
  --ink: #273028;
  --line: rgba(39, 48, 40, 0.19);
  --display: "Amatic SC", "Arial Narrow", sans-serif;
  --script: "Caveat", cursive;
  --body: Arial, Helvetica, sans-serif;
  --shadow: 0 24px 70px rgba(16, 31, 23, 0.17);
  --content: min(1160px, calc(100vw - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
}

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--ochre);
  color: var(--forest-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-160%);
  border-radius: 99px;
  background: var(--paper-light);
  color: var(--forest-deep);
  font-weight: 700;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: 82px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 10px clamp(22px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #fffaf0;
  transition: min-height 250ms ease, background-color 250ms ease, box-shadow 250ms ease;
}

.site-header.scrolled {
  min-height: 70px;
  background: rgba(17, 34, 25, 0.96);
  box-shadow: 0 12px 40px rgba(8, 17, 12, 0.18);
  backdrop-filter: blur(12px);
}

.site-header.inner-header {
  background: rgba(17, 34, 25, 0.97);
  box-shadow: 0 12px 40px rgba(8, 17, 12, 0.18);
  backdrop-filter: blur(12px);
}

.brand,
.footer-brand {
  display: flex;
  width: max-content;
  flex-direction: column;
  line-height: 0.85;
}

.brand span,
.footer-brand span {
  font-family: var(--script);
  font-size: clamp(25px, 2.2vw, 35px);
  font-weight: 700;
}

.brand small,
.footer-brand small {
  margin-top: 6px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-align: right;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: var(--ochre);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-nav img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 1;
}

.header-avatar {
  justify-self: end;
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.header-avatar img {
  height: 100%;
  object-fit: cover;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  height: 100svh;
  min-height: 600px;
  max-height: 980px;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(88px, 12svh, 130px) max(24px, calc((100vw - 1260px) / 2)) clamp(86px, 11svh, 112px);
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 26%, rgba(181, 122, 37, 0.2), transparent 22%),
    radial-gradient(circle at 84% 12%, rgba(99, 126, 103, 0.2), transparent 22%),
    linear-gradient(132deg, var(--forest-deep), var(--forest) 60%, #304738);
  color: #fffaf0;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 76px;
  content: "";
  background: var(--paper-light);
  clip-path: polygon(0 80%, 9% 54%, 20% 72%, 31% 38%, 42% 63%, 56% 32%, 67% 58%, 80% 30%, 91% 58%, 100% 28%, 100% 100%, 0 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-left: clamp(0px, 2vw, 30px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--rust);
  font-family: var(--script);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 700;
  line-height: 1;
}

.eyebrow {
  color: #e0ad70;
}

.eyebrow span {
  display: block;
  margin-top: 10px;
  color: #fffaf0;
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.94;
}

h1 {
  max-width: 620px;
  margin-bottom: clamp(22px, 4svh, 38px);
  font-size: clamp(54px, min(7.4vw, 10svh), 114px);
}

h1.page-title {
  max-width: none;
  margin-bottom: 22px;
  color: var(--forest);
  font-size: clamp(58px, 7vw, 96px);
}

h1.page-title-light {
  color: #fffaf0;
}

h1 em {
  color: #e0ad70;
  font-family: var(--script);
  font-size: 0.88em;
  font-style: normal;
  font-weight: 400;
}

h2 {
  margin-bottom: 22px;
  color: var(--forest);
  font-size: clamp(58px, 7vw, 96px);
}

h3 {
  margin-bottom: 28px;
  color: var(--forest);
  font-size: clamp(48px, 5vw, 76px);
}

h2.book-title {
  margin-bottom: 28px;
  color: var(--forest);
  font-size: clamp(48px, 5vw, 76px);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.07em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-light {
  background: var(--paper-light);
  color: var(--forest-deep);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.17);
}

.button-light:hover,
.button-light:focus-visible {
  background: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.button-dark {
  background: var(--forest);
  color: var(--paper-light);
  box-shadow: 0 12px 28px rgba(16, 31, 23, 0.2);
}

.hero-figure {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  margin: 0;
  justify-self: end;
}

.hero .image-wash-hero {
  max-height: min(65svh, 650px);
}

.image-wash {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-wash::after,
.portrait-frame::after,
.art-frame::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(130deg, rgba(181, 122, 37, 0.12), transparent 30%, rgba(27, 48, 37, 0.1));
  mix-blend-mode: multiply;
}

.image-wash-hero {
  aspect-ratio: 1.15;
  border-radius: 47% 53% 44% 56% / 54% 38% 62% 46%;
}

.image-wash-hero img {
  height: 100%;
  object-fit: cover;
}

.hero-figure figcaption,
.work-card figcaption,
.studio-image figcaption,
.chest-feature figcaption,
.about-portrait > p {
  font-family: var(--script);
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.12;
}

.hero-figure figcaption {
  width: 76%;
  margin: 16px auto 0;
  color: #f3ddbd;
  text-align: right;
}

.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.hero-orbit::before,
.hero-orbit::after {
  position: absolute;
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  content: "";
  background: var(--ochre);
  box-shadow: 0 0 20px rgba(181, 122, 37, 0.6);
}

.hero-orbit-one {
  top: -17vw;
  right: -8vw;
  width: 50vw;
  height: 50vw;
}

.hero-orbit-one::before {
  bottom: 12%;
  left: 8%;
}

.hero-orbit-two {
  bottom: -23vw;
  left: -13vw;
  width: 42vw;
  height: 42vw;
}

.hero-orbit-two::after {
  top: 12%;
  right: 8%;
}

.home-overview {
  padding: clamp(80px, 10vw, 145px) 0;
  overflow: hidden;
  background: var(--paper-light);
}

.home-feature {
  display: grid;
  width: var(--content);
  margin: 0 auto;
  padding: clamp(55px, 8vw, 110px) 0;
  grid-template-columns: minmax(320px, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(45px, 8vw, 115px);
  border-bottom: 1px solid var(--line);
}

.home-feature.reverse .home-feature-image,
.home-feature.reverse .home-book-stack {
  order: 2;
}

.home-feature-image {
  position: relative;
  overflow: hidden;
  border: 8px solid #fff;
  border-radius: 46% 54% 49% 51% / 51% 44% 56% 49%;
  box-shadow: var(--shadow);
}

.home-feature-image::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(130deg, rgba(181, 122, 37, 0.12), transparent 35%, rgba(27, 48, 37, 0.1));
  mix-blend-mode: multiply;
}

.home-feature-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-feature-image:hover img {
  transform: scale(1.025);
}

.home-feature-work .home-feature-image {
  width: min(100%, 560px);
  aspect-ratio: 0.82;
  justify-self: center;
}

.home-portrait {
  width: min(100%, 500px);
  aspect-ratio: 0.9;
  justify-self: center;
}

.home-feature-process .home-feature-image {
  width: min(100%, 610px);
  aspect-ratio: 1.28;
  justify-self: center;
  border-radius: 58% 42% 52% 48% / 46% 55% 45% 54%;
}

.home-feature-copy {
  max-width: 570px;
}

.home-feature-copy h2,
.home-contact-card h2 {
  margin-bottom: 20px;
  font-size: clamp(52px, 6vw, 82px);
}

.home-feature-copy > p:not(.section-kicker) {
  margin-bottom: 28px;
  font-size: 17px;
}

.home-process-list {
  display: flex;
  margin: -4px 0 28px;
  padding: 0;
  flex-wrap: wrap;
  gap: 9px;
  list-style: none;
}

.home-process-list li {
  padding: 5px 13px;
  border: 1px solid rgba(81, 103, 82, 0.28);
  border-radius: 999px;
  color: var(--forest);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  color: var(--rust);
  font-family: var(--display);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(5px);
}

.home-book-stack {
  position: relative;
  min-height: 530px;
}

.home-book-stack::before {
  position: absolute;
  inset: 10% 3% 4% 10%;
  border-radius: 47% 53% 58% 42% / 45% 47% 53% 55%;
  content: "";
  background: rgba(81, 103, 82, 0.18);
}

.home-book-stack img {
  position: absolute;
  width: 43%;
  border-radius: 3px 9px 9px 3px;
  box-shadow: 0 22px 50px rgba(16, 31, 23, 0.24);
}

.home-book-stack img:nth-child(1) {
  z-index: 1;
  top: 11%;
  left: 2%;
  transform: rotate(-8deg);
}

.home-book-stack img:nth-child(2) {
  z-index: 3;
  top: 1%;
  left: 29%;
  transform: rotate(1deg);
}

.home-book-stack img:nth-child(3) {
  z-index: 2;
  top: 13%;
  right: 0;
  transform: rotate(8deg);
}

.book-name-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.book-name-list li {
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.home-contact-card {
  display: grid;
  width: var(--content);
  margin: clamp(65px, 9vw, 125px) auto 0;
  padding: clamp(34px, 5vw, 66px);
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(25px, 5vw, 65px);
  border-radius: 45px 65px 42px 72px;
  background:
    radial-gradient(circle at 84% 20%, rgba(181, 122, 37, 0.16), transparent 24%),
    var(--forest);
  color: #fffaf0;
  box-shadow: var(--shadow);
}

.home-contact-card > img {
  width: 118px;
  height: 104px;
  object-fit: contain;
}

.home-contact-card h2 {
  color: #fffaf0;
}

.home-contact-card p:last-child {
  max-width: 650px;
  margin-bottom: 0;
}

.work-section,
.books-section,
.studio-section {
  position: relative;
  padding: clamp(90px, 11vw, 160px) 0;
}

.work-section.page-section {
  padding-top: clamp(150px, 14vw, 205px);
}

.section-intro {
  width: var(--content);
  margin: 0 auto clamp(54px, 7vw, 100px);
}

.section-intro > p:last-child {
  max-width: 710px;
  font-size: 18px;
}

.section-intro-centered {
  text-align: center;
}

.work-grid {
  display: grid;
  width: var(--content);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.2fr) minmax(250px, 0.8fr);
  gap: clamp(28px, 4vw, 66px);
  align-items: start;
}

.work-card {
  margin: 0;
  transform-style: preserve-3d;
}

.art-frame {
  position: relative;
  overflow: hidden;
  border: 10px solid #fff;
  background: #fff;
  box-shadow: var(--shadow);
}

.art-frame img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.work-card:hover .art-frame img {
  transform: scale(1.025);
}

.work-card figcaption {
  max-width: 610px;
  margin: 16px 12px 0;
  color: var(--rust);
}

.work-card-large .art-frame {
  aspect-ratio: 0.82;
  border-radius: 42% 58% 55% 45% / 47% 42% 58% 53%;
}

.work-card-tall {
  margin-top: 22%;
}

.work-card-tall .art-frame {
  aspect-ratio: 0.78;
  border-radius: 48% 52% 42% 58% / 54% 47% 53% 46%;
}

.work-card-wide {
  grid-column: 1 / -1;
  width: 84%;
  margin: 30px auto 0;
}

.work-card-wide .art-frame {
  aspect-ratio: 1.5;
  border-radius: 38% 62% 44% 56% / 56% 43% 57% 44%;
}

.work-card-wide figcaption {
  margin-left: auto;
  text-align: right;
}

.work-process-panel {
  display: grid;
  width: var(--content);
  margin: clamp(95px, 12vw, 165px) auto 0;
  padding-top: clamp(70px, 8vw, 110px);
  grid-template-columns: minmax(330px, 0.9fr) minmax(390px, 1.1fr);
  align-items: center;
  gap: clamp(55px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.work-process-visual {
  position: relative;
  min-height: 650px;
}

.work-process-image {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 8px solid #fff;
  background: #fff;
  box-shadow: var(--shadow);
}

.work-process-image img {
  height: 100%;
  object-fit: cover;
}

.work-process-image-main {
  inset: 0 16% 11% 0;
  border-radius: 40% 60% 46% 54% / 47% 42% 58% 53%;
}

.work-process-image-detail {
  right: 0;
  bottom: 0;
  width: 45%;
  aspect-ratio: 0.8;
  border-radius: 51% 49% 43% 57% / 59% 42% 58% 41%;
}

.work-process-copy h2,
.work-books-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(54px, 6vw, 82px);
  line-height: 0.93;
}

.work-process-copy > p:not(.section-kicker) {
  max-width: 620px;
  font-size: 18px;
}

.work-process-steps {
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.work-process-steps li {
  display: grid;
  padding: 18px 0;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line);
}

.work-process-steps li > span {
  color: var(--rust);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.work-process-steps strong {
  color: var(--forest);
  font-family: var(--script);
  font-size: 28px;
  line-height: 1.1;
}

.work-process-steps p {
  margin: 3px 0 0;
}

.work-books-callout {
  position: relative;
  display: grid;
  width: var(--content);
  min-height: 520px;
  margin: clamp(100px, 13vw, 175px) auto 0;
  padding: clamp(48px, 7vw, 85px);
  overflow: hidden;
  grid-template-columns: minmax(330px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(35px, 6vw, 80px);
  border-radius: 52px 82px 48px 76px;
  background:
    radial-gradient(circle at 86% 16%, rgba(183, 122, 37, 0.3), transparent 26%),
    radial-gradient(circle at 16% 88%, rgba(147, 161, 135, 0.18), transparent 28%),
    var(--forest);
  color: #fffaf0;
  box-shadow: var(--shadow);
}

.work-books-copy {
  position: relative;
  z-index: 2;
}

.work-books-copy .section-kicker,
.work-books-copy h2 {
  color: #fffaf0;
}

.work-books-copy p:not(.section-kicker) {
  max-width: 510px;
  margin-bottom: 30px;
  color: rgba(255, 250, 240, 0.84);
  font-size: 18px;
}

.work-books-stack {
  position: relative;
  min-height: 390px;
  perspective: 900px;
}

.work-books-stack img {
  position: absolute;
  width: 43%;
  max-width: 230px;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  box-shadow: 0 24px 50px rgba(7, 16, 10, 0.34);
}

.work-books-stack img:nth-child(1) {
  z-index: 1;
  top: 8%;
  left: 0;
  transform: rotate(-9deg);
}

.work-books-stack img:nth-child(2) {
  z-index: 3;
  top: 0;
  left: 29%;
  transform: rotate(1deg);
}

.work-books-stack img:nth-child(3) {
  z-index: 2;
  top: 9%;
  right: 0;
  transform: rotate(9deg);
}

.books-section {
  overflow: hidden;
  background: var(--paper);
}

.books-section.page-section {
  padding-top: clamp(150px, 14vw, 205px);
}

.paper-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 20% 25%, rgba(165, 77, 54, 0.055) 0 1px, transparent 1.4px),
    radial-gradient(circle at 70% 65%, rgba(27, 48, 37, 0.05) 0 1px, transparent 1.4px);
  background-size: 19px 23px, 27px 31px;
}

.books-list {
  position: relative;
  z-index: 1;
  width: var(--content);
  margin: 0 auto;
}

.book {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
  padding: clamp(50px, 7vw, 100px) 0;
  border-top: 1px solid var(--line);
}

.book.reverse .book-visual {
  order: 2;
}

.book-visual {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 22px;
  transform-style: preserve-3d;
}

.book-visual::before {
  position: absolute;
  z-index: -1;
  inset: 8% 0 0 8%;
  border-radius: 49% 51% 44% 56% / 54% 43% 57% 46%;
  content: "";
  background: var(--moss);
  opacity: 0.22;
  transform: rotate(-5deg);
}

.book-winter .book-visual::before {
  background: var(--ochre);
  transform: rotate(6deg);
}

.book-yoeroemi .book-visual::before {
  background: var(--rust);
}

.book-visual img {
  position: relative;
  border-radius: 4px 13px 13px 4px;
  box-shadow: 0 28px 55px rgba(24, 35, 27, 0.24), -9px 4px 0 rgba(255, 255, 255, 0.75);
  transform: translateZ(18px) rotate(-1.5deg);
}

.book-number {
  position: absolute;
  right: -2%;
  bottom: -2%;
  color: rgba(27, 48, 37, 0.1);
  font-family: var(--display);
  font-size: 120px;
  font-weight: 700;
  line-height: 0.8;
}

.book-copy {
  max-width: 650px;
}

.book-copy dl {
  margin: 0 0 28px;
}

.book-copy dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}

.book-copy dt {
  color: var(--rust);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.book-copy dd {
  margin: 0;
}

.edition {
  margin: -14px 0 22px;
  color: var(--moss);
  font-weight: 700;
}

.review-label {
  margin: 0 0 8px;
  color: var(--rust);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.book-copy blockquote,
.about-copy blockquote {
  padding-left: 24px;
  border-left: 2px solid var(--ochre);
  color: var(--moss);
  font-family: var(--script);
  font-size: clamp(25px, 2.7vw, 36px);
  line-height: 1.2;
}

.review-link {
  display: block;
  width: max-content;
  margin: -12px 0 28px 26px;
  border-bottom: 1px solid currentColor;
  color: var(--rust);
  font-weight: 700;
}

.about-section {
  display: grid;
  min-height: 820px;
  grid-template-columns: minmax(340px, 0.95fr) minmax(440px, 1.05fr);
  align-items: center;
  gap: clamp(45px, 8vw, 120px);
  padding: clamp(100px, 12vw, 170px) max(24px, calc((100vw - 1160px) / 2));
  overflow: hidden;
  background: var(--forest);
  color: #f8f1e5;
}

.about-section.page-section {
  padding-top: clamp(150px, 14vw, 205px);
}

.about-portrait {
  position: relative;
  margin-bottom: auto;
  padding-top: 60px;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.78;
  border: 10px solid rgba(255, 255, 255, 0.83);
  border-radius: 48% 52% 43% 57% / 38% 52% 48% 62%;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.3);
}

.portrait-frame img {
  height: 100%;
  object-fit: cover;
}

.about-portrait > p {
  margin: 18px 0 0 12%;
  color: #edc78f;
}

.about-copy h2 {
  color: #fffaf0;
}

.about-copy > p {
  max-width: 680px;
}

.about-copy blockquote {
  color: #edc78f;
}

.award-note {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid rgba(237, 199, 143, 0.5);
  border-radius: 999px;
  color: #edc78f;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.studio-section {
  background: var(--paper-light);
}

.studio-heading {
  width: var(--content);
  margin: 0 auto clamp(40px, 7vw, 90px);
}

.studio-row {
  display: grid;
  width: var(--content);
  margin: 0 auto clamp(85px, 11vw, 150px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(42px, 8vw, 115px);
}

.studio-row.reverse .studio-image {
  order: 2;
}

.studio-image {
  margin: 0;
}

.studio-image img,
.chest-image {
  border-radius: 46% 54% 51% 49% / 48% 43% 57% 52%;
  box-shadow: var(--shadow);
}

.studio-image-wide img {
  aspect-ratio: 1.25;
  object-fit: cover;
}

.studio-image figcaption {
  margin: 16px 12px 0;
  color: var(--rust);
}

.studio-copy p:first-child::first-letter {
  float: left;
  margin: 5px 7px 0 0;
  color: var(--rust);
  font-family: var(--display);
  font-size: 66px;
  font-weight: 700;
  line-height: 0.65;
}

.chest-feature {
  display: grid;
  width: var(--content);
  margin: 0 auto 85px;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.5fr);
  align-items: end;
  gap: clamp(35px, 6vw, 80px);
}

.chest-image {
  position: relative;
  overflow: hidden;
}

.chest-feature figcaption {
  padding-bottom: 12%;
  color: var(--rust);
  font-size: clamp(34px, 4.3vw, 60px);
}

.studio-quote {
  width: min(820px, calc(100vw - 48px));
  margin: 0 auto;
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(38px, 5.3vw, 70px);
  line-height: 1.05;
  text-align: center;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(420px, 1.2fr);
  gap: clamp(50px, 9vw, 130px);
  padding: clamp(100px, 12vw, 170px) max(24px, calc((100vw - 1160px) / 2));
  background:
    radial-gradient(circle at 85% 20%, rgba(181, 122, 37, 0.14), transparent 25%),
    var(--forest-deep);
  color: #fffaf0;
}

.contact-section.page-section {
  min-height: calc(100svh - 250px);
  padding-top: clamp(160px, 15vw, 220px);
}

.contact-copy h2 {
  color: #fffaf0;
}

.contact-copy > a {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-top: 14px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.5);
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 25px;
}

.contact-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-form label {
  color: #edc78f;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 13px 4px;
  resize: vertical;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: #fffaf0;
  font-family: var(--body);
  font-size: 16px;
  transition: border-color 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #edc78f;
}

.contact-form .button {
  width: max-content;
}

.form-status {
  min-height: 1.75em;
  margin: -10px 0 0;
  color: #edc78f;
}

.contact-availability {
  display: grid;
  width: var(--content);
  margin: 0 auto;
  padding: clamp(90px, 11vw, 155px) 0;
  grid-template-columns: minmax(390px, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(55px, 8vw, 115px);
}

.contact-availability-portrait {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 8px;
  border-radius: 42% 58% 55% 45% / 54% 43% 57% 46%;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-availability-portrait img {
  border-radius: inherit;
}

.contact-availability-copy h2 {
  margin-bottom: 22px;
  font-size: clamp(54px, 6vw, 84px);
  line-height: 0.94;
}

.contact-availability-copy > p:not(.section-kicker):not(.availability-status) {
  max-width: 580px;
  margin-bottom: 30px;
  font-size: 18px;
}

.availability-status {
  display: flex;
  width: max-content;
  max-width: 100%;
  margin: 0 0 20px;
  align-items: center;
  gap: 10px;
  color: var(--moss);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.availability-status span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #62845e;
  box-shadow: 0 0 0 5px rgba(98, 132, 94, 0.14);
}

.site-footer {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 1fr;
  align-items: center;
  gap: clamp(34px, 6vw, 90px);
  padding: 64px max(24px, calc((100vw - 1160px) / 2)) 38px;
  border-top: 1px solid rgba(237, 199, 143, 0.18);
  background: linear-gradient(135deg, #09140d, #10251a);
  color: #fffaf0;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.site-footer nav a,
.footer-email {
  width: max-content;
  border-bottom: 1px solid transparent;
}

.site-footer nav a:hover,
.footer-email:hover {
  border-color: currentColor;
}

.footer-contact {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 17px;
}

.footer-email {
  color: rgba(255, 250, 240, 0.82);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-link {
  display: grid;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  border-radius: 50%;
  place-items: center;
  color: #fffaf0;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.footer-social-link svg {
  width: 19px;
  height: 19px;
}

a.footer-social-link:hover {
  border-color: #edc78f;
  background: #edc78f;
  color: #13251a;
  transform: translateY(-2px);
}

.footer-social-link.is-pending {
  cursor: default;
  opacity: 0.48;
}

.copyright {
  grid-column: 1 / -1;
  margin: 15px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-align: center;
}

.book-dialog {
  width: min(1180px, calc(100vw - 36px));
  max-height: calc(100svh - 36px);
  padding: clamp(28px, 5vw, 65px);
  overflow-x: hidden;
  border: 0;
  border-radius: 28px;
  background: var(--paper-light);
  color: var(--ink);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.book-dialog::backdrop {
  background: rgba(6, 14, 9, 0.82);
  backdrop-filter: blur(5px);
}

.book-dialog h2 {
  padding-right: 45px;
  font-size: clamp(48px, 7vw, 82px);
}

.dialog-summary {
  max-width: 760px;
  margin: -10px 0 34px;
  color: var(--forest);
  font-size: 17px;
  line-height: 1.75;
  white-space: pre-line;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  background: var(--paper);
  color: var(--forest);
  font-size: 34px;
  line-height: 1;
}

.dialog-gallery {
  display: grid;
  gap: 30px;
  align-items: start;
}

.dialog-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(24, 35, 27, 0.16);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 750ms ease, transform 750ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-card {
  transition: transform 200ms ease-out;
  will-change: transform;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .menu-button {
    z-index: 3;
    display: grid;
    width: 48px;
    height: 48px;
    margin-right: 14px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    place-content: center;
    gap: 5px;
    background: transparent;
    cursor: pointer;
  }

  .menu-button span:not(.sr-only) {
    width: 22px;
    height: 1px;
    background: #fffaf0;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: flex;
    padding: 115px 30px 50px;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    background: rgba(17, 34, 25, 0.985);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 200ms ease, transform 200ms ease;
  }

  .site-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    gap: 12px;
    font-size: 46px;
  }

  .site-nav img {
    width: 68px;
    height: 58px;
  }

  .header-avatar {
    z-index: 3;
  }

  .hero {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
  }

  .home-feature {
    grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.05fr);
    gap: 45px;
  }

  .home-book-stack {
    min-height: 440px;
  }

  .home-contact-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
  }

  .home-contact-card > img {
    width: 72px;
    height: 72px;
  }

  .book {
    grid-template-columns: minmax(250px, 0.75fr) minmax(390px, 1.25fr);
    gap: 45px;
  }

  .about-section {
    grid-template-columns: minmax(300px, 0.75fr) minmax(400px, 1.25fr);
    gap: 45px;
  }
}

/* Compacte laptops: alles, inclusief de knop, blijft binnen de eerste viewport. */
@media (min-width: 761px) and (max-height: 820px) {
  .hero {
    padding-top: 82px;
    padding-bottom: 84px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(48px, min(6.4vw, 9.5svh), 82px);
  }

  .hero-figure {
    max-width: min(52vw, 610px);
  }
}

@media (max-width: 760px) {
  :root {
    --content: calc(100vw - 36px);
  }

  .site-header {
    min-height: 70px;
    padding: 8px 18px;
  }

  .header-avatar {
    width: 47px;
    height: 47px;
  }

  .brand span {
    font-size: 25px;
  }

  .brand small {
    font-size: 13px;
  }

  .hero {
    display: flex;
    height: auto;
    min-height: 100svh;
    max-height: none;
    padding: 118px 18px 112px;
    flex-direction: column;
    align-items: stretch;
    gap: 52px;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(62px, 19vw, 90px);
  }

  .hero-copy {
    padding: 0 0 12px;
  }

  .hero-figure {
    width: 100%;
  }

  .hero-figure figcaption {
    width: 88%;
  }

  .home-overview {
    padding: 55px 0 90px;
  }

  .home-feature,
  .home-feature.reverse {
    display: flex;
    padding: 65px 0;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
  }

  .home-feature.reverse .home-feature-image,
  .home-feature.reverse .home-book-stack {
    order: initial;
  }

  .home-feature-copy {
    max-width: none;
  }

  .home-feature-copy h2,
  .home-contact-card h2 {
    font-size: clamp(52px, 16vw, 72px);
  }

  .home-feature-image,
  .home-portrait {
    width: 100%;
  }

  .home-feature-process .home-feature-image {
    width: 100%;
    aspect-ratio: 1.15;
  }

  .home-portrait {
    max-height: 590px;
  }

  .home-book-stack {
    min-height: min(108vw, 510px);
  }

  .home-contact-card {
    display: flex;
    padding: 38px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border-radius: 30px 46px 28px 50px;
  }

  .home-contact-card > img {
    width: 92px;
    height: 78px;
  }

  .work-section,
  .books-section,
  .studio-section {
    padding: 90px 0;
  }

  .section-intro {
    margin-bottom: 50px;
  }

  h2 {
    font-size: clamp(56px, 17vw, 78px);
  }

  .work-grid {
    display: flex;
    flex-direction: column;
    gap: 58px;
  }

  .work-card-tall,
  .work-card-wide {
    width: 100%;
    margin: 0;
  }

  .work-card-tall .art-frame {
    aspect-ratio: 0.92;
  }

  .work-card-wide .art-frame {
    aspect-ratio: 1.25;
  }

  .work-process-panel {
    display: flex;
    padding-top: 70px;
    flex-direction: column;
    align-items: stretch;
    gap: 54px;
  }

  .work-process-visual {
    width: min(100%, 540px);
    min-height: min(125vw, 610px);
    margin: 0 auto;
  }

  .work-process-image {
    border-width: 6px;
  }

  .work-process-copy h2,
  .work-books-copy h2 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .work-books-callout {
    display: flex;
    min-height: 0;
    padding: 52px 25px 44px;
    flex-direction: column;
    align-items: stretch;
    gap: 36px;
    border-radius: 34px 48px 32px 50px;
  }

  .work-books-copy {
    text-align: center;
  }

  .work-books-copy p:not(.section-kicker) {
    margin-right: auto;
    margin-left: auto;
  }

  .work-books-stack {
    width: 100%;
    min-height: min(92vw, 390px);
  }

  .work-books-stack img {
    width: 44%;
  }

  .art-frame {
    border-width: 6px;
  }

  .book,
  .book.reverse {
    display: flex;
    padding: 62px 0;
    flex-direction: column;
    gap: 42px;
  }

  .book.reverse .book-visual {
    order: initial;
  }

  .book-visual {
    width: min(86vw, 420px);
  }

  .book-copy {
    width: 100%;
  }

  .book-copy dl > div {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 10px;
  }

  .book-copy blockquote {
    margin-top: 25px;
  }

  .about-section {
    display: flex;
    min-height: auto;
    padding: 90px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 55px;
  }

  .about-portrait {
    width: min(100%, 500px);
    margin: 0 auto;
    padding-top: 0;
    transform: none !important;
  }

  .portrait-frame {
    aspect-ratio: 0.88;
  }

  .studio-row,
  .studio-row.reverse {
    display: flex;
    margin-bottom: 90px;
    flex-direction: column;
    align-items: stretch;
    gap: 35px;
  }

  .studio-row.reverse .studio-image {
    order: initial;
  }

  .chest-feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  .chest-feature figcaption {
    padding: 0;
  }

  .contact-section {
    display: flex;
    padding: 90px 18px;
    flex-direction: column;
    gap: 55px;
  }

  .contact-availability {
    display: flex;
    padding: 80px 0 90px;
    flex-direction: column;
    align-items: stretch;
    gap: 48px;
  }

  .contact-availability-portrait {
    width: 100%;
    padding: 6px;
  }

  .contact-availability-copy h2 {
    font-size: clamp(52px, 15vw, 72px);
  }

  .site-footer {
    display: flex;
    padding: 50px 18px;
    flex-direction: column;
    gap: 28px;
  }

  .footer-contact {
    align-items: flex-start;
  }

  .copyright {
    width: 100%;
    margin-top: 8px;
  }

  .book-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100svh - 20px);
    padding: 48px 15px 28px;
    border-radius: 18px;
  }

  .dialog-close {
    top: 10px;
    right: 10px;
  }
}

/* V4 — tweetalige CMS-pagina's, projectdetails en boekdetails. */
.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 11px;
}

.header-actions .header-avatar {
  justify-self: auto;
}

.language-switch {
  display: grid;
  min-width: 40px;
  height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(255, 250, 240, 0.42);
  border-radius: 999px;
  place-items: center;
  color: #fffaf0;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.language-switch:hover,
.language-switch:focus-visible {
  border-color: #edc78f;
  background: #edc78f;
  color: var(--forest-deep);
}

.work-project-grid {
  align-items: stretch;
}

.project-card-link {
  display: block;
  height: 100%;
}

.project-card-caption {
  max-width: 650px;
  padding: 19px 12px 0;
}

.project-card-caption small {
  color: var(--moss);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card-caption h2 {
  margin: 3px 0 10px;
  color: var(--rust);
  font-family: var(--script);
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1;
}

.project-card-caption p {
  margin: 0 0 13px;
  line-height: 1.6;
}

.project-card-caption span {
  color: var(--forest);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
}

.work-card-wide .project-card-caption {
  margin-left: auto;
  text-align: right;
}

.book-title a:hover,
.book-title a:focus-visible {
  color: var(--rust);
}

.book-actions {
  display: flex;
  margin-top: 22px;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.book-actions .text-link,
.dialog-detail-link {
  font-size: 22px;
}

.dialog-detail-link {
  margin-top: 28px;
}

.detail-page main {
  background: var(--paper-light);
}

.project-detail,
.book-detail,
.detail-not-found {
  width: var(--content);
  margin: 0 auto;
  padding-top: clamp(135px, 14vw, 195px);
  padding-bottom: clamp(85px, 10vw, 145px);
}

.detail-breadcrumb {
  margin-bottom: 34px;
  color: var(--rust);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 700;
}

.detail-breadcrumb a:hover,
.detail-breadcrumb a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(48px, 7vw, 105px);
}

.detail-hero-copy h1,
.book-detail-hero h1 {
  font-size: clamp(62px, 7vw, 106px);
}

.detail-lead {
  max-width: 650px;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.65;
}

.detail-hero figure {
  overflow: hidden;
  margin: 0;
  padding: 9px;
  border-radius: 43% 57% 52% 48% / 48% 44% 56% 52%;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-hero figure img {
  aspect-ratio: 1.12;
  border-radius: inherit;
  object-fit: cover;
}

.detail-body {
  width: min(780px, 100%);
  margin: clamp(65px, 8vw, 110px) auto;
  font-size: clamp(17px, 1.55vw, 20px);
}

.detail-body p + p {
  margin-top: 1.3em;
}

.detail-body p:first-child::first-letter {
  float: left;
  margin: 7px 8px 0 0;
  color: var(--rust);
  font-family: var(--display);
  font-size: 72px;
  font-weight: 700;
  line-height: 0.62;
}

.project-detail-gallery {
  display: grid;
  margin: clamp(55px, 7vw, 95px) 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 50px);
}

.project-detail-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.project-detail-gallery figure:nth-child(3n) {
  grid-column: 1 / -1;
}

.project-detail-gallery img {
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}

.detail-cta {
  display: grid;
  margin-top: clamp(70px, 9vw, 125px);
  padding: clamp(35px, 5vw, 64px);
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 45px;
  border-radius: 42px 64px 44px 58px;
  background: var(--forest);
  color: #fffaf0;
  box-shadow: var(--shadow);
}

.detail-cta h2 {
  color: #fffaf0;
  font-size: clamp(46px, 5vw, 72px);
}

.detail-cta p:last-child {
  max-width: 680px;
  margin-bottom: 0;
}

.detail-not-found {
  min-height: 70svh;
}

.book-detail-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(420px, 1.28fr);
  align-items: center;
  gap: clamp(48px, 8vw, 120px);
}

.book-detail-hero figure {
  margin: 0;
}

.book-detail-hero figure img {
  max-height: 710px;
  object-fit: contain;
  filter: drop-shadow(0 30px 38px rgba(16, 31, 23, 0.24));
}

.book-detail-hero dl {
  display: grid;
  margin: 28px 0;
  gap: 9px;
}

.book-detail-hero dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
}

.book-detail-hero dt {
  color: var(--moss);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
}

.book-detail-hero dd {
  margin: 0;
}

.book-detail-review {
  width: min(850px, 100%);
  margin: 70px auto;
  padding: clamp(30px, 5vw, 62px);
  border-radius: 30px;
  background: rgba(81, 103, 82, 0.1);
}

.book-detail-review blockquote {
  margin: 0 0 16px;
  color: var(--forest);
  font-family: var(--script);
  font-size: clamp(34px, 4vw, 55px);
  line-height: 1.12;
}

.book-detail-inside {
  margin: clamp(75px, 10vw, 135px) 0;
}

.detail-section-heading {
  margin-bottom: 35px;
  text-align: center;
}

.book-detail-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
  align-items: start;
}

.book-detail-gallery figure {
  margin: 0;
}

.book-detail-gallery figure:nth-child(3n) {
  grid-column: 1 / -1;
}

.book-detail-gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 22px 55px rgba(24, 35, 27, 0.18);
}

@media (max-width: 1000px) {
  .header-actions {
    z-index: 3;
  }

  .detail-hero,
  .book-detail-hero {
    grid-template-columns: minmax(260px, 0.8fr) minmax(350px, 1.2fr);
    gap: 42px;
  }
}

@media (max-width: 760px) {
  .header-actions {
    gap: 7px;
  }

  .language-switch {
    min-width: 36px;
    height: 31px;
    padding: 0 8px;
    font-size: 17px;
  }

  .work-card-wide .project-card-caption {
    margin-left: 0;
    text-align: left;
  }

  .project-detail,
  .book-detail,
  .detail-not-found {
    padding-top: 115px;
  }

  .detail-hero,
  .book-detail-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .detail-hero figure {
    order: -1;
  }

  .book-detail-hero figure img {
    max-height: 560px;
  }

  .book-detail-hero dl div {
    grid-template-columns: 110px 1fr;
  }

  .project-detail-gallery,
  .book-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .project-detail-gallery figure {
    width: 100%;
  }

  .project-detail-gallery img {
    min-height: 0;
  }

  .detail-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width: 430px) {
  .header-actions .header-avatar {
    display: none;
  }

  .menu-button {
    margin-right: 5px;
  }
}

@media (max-width: 430px) {
  .brand small {
    display: none;
  }

  .menu-button {
    margin-right: 8px;
  }

  .hero {
    padding-top: 105px;
  }

  .book-copy dl > div {
    display: block;
  }

  .book-copy dt {
    margin-bottom: 2px;
  }
}

/* Ook op korte telefoons blijft de call-to-action volledig zichtbaar. */
@media (max-width: 760px) and (max-height: 700px) {
  .hero {
    padding-top: 88px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(52px, 16vw, 70px);
  }

  .hero .eyebrow {
    font-size: 29px;
  }

  .hero .eyebrow span {
    margin-top: 7px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Homepage V3 — Dana's illustration becomes the complete opening scene. */
.home-page .hero-magic {
  --magic-x: 0;
  --magic-y: 0;
  display: grid;
  height: 100svh;
  min-height: 650px;
  max-height: 1080px;
  padding: clamp(112px, 15svh, 160px) max(28px, calc((100vw - 1280px) / 2)) clamp(92px, 12svh, 130px);
  grid-template-columns: minmax(0, 0.94fr) minmax(520px, 0.86fr);
  align-items: center;
  background: #352f26;
  isolation: isolate;
}

.home-page .hero-magic::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(17, 25, 19, 0.76) 0, rgba(17, 25, 19, 0.16) 145px, transparent 30%),
    linear-gradient(90deg, rgba(18, 24, 19, 0.11), transparent 44%, rgba(255, 239, 206, 0.08));
}

.home-page .hero-magic::after {
  z-index: 5;
  height: 58px;
  background: var(--paper-light);
  clip-path: polygon(0 82%, 8% 59%, 19% 74%, 31% 43%, 43% 66%, 56% 38%, 68% 63%, 81% 39%, 91% 62%, 100% 40%, 100% 100%, 0 100%);
}

.hero-magic-art {
  position: absolute;
  z-index: 0;
  inset: -18px;
  margin: 0;
  overflow: hidden;
  transform: translate3d(calc(var(--magic-x) * -9px), calc(var(--magic-y) * -7px), 0) scale(1.025);
  transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-magic-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  animation: magic-breathe 20s ease-in-out infinite alternate;
}

.hero-magic-light {
  position: absolute;
  z-index: 1;
  top: 13%;
  right: 1%;
  width: 58%;
  height: 77%;
  pointer-events: none;
  background: radial-gradient(ellipse at 52% 46%, rgba(255, 245, 210, 0.22), rgba(255, 201, 103, 0.08) 36%, transparent 68%);
  filter: blur(7px);
  mix-blend-mode: screen;
  transform: translate3d(calc(var(--magic-x) * 12px), calc(var(--magic-y) * 9px), 0);
  animation: magic-glow 6s ease-in-out infinite alternate;
}

.hero-motes {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-motes i {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffd37b;
  box-shadow: 0 0 8px 2px rgba(255, 205, 108, 0.58), 0 0 21px 6px rgba(255, 176, 62, 0.2);
  opacity: 0;
  animation: magic-mote var(--duration) ease-in-out var(--delay) infinite;
}

.home-page .hero-magic .hero-copy {
  z-index: 4;
  grid-column: 2;
  width: min(100%, 610px);
  padding: 0;
  justify-self: end;
  color: var(--forest-deep);
  text-shadow: 0 1px 0 rgba(255, 250, 240, 0.25);
  translate: clamp(12px, 2vw, 34px) 0;
}

.home-page .hero-magic .eyebrow {
  color: #8f422f;
}

.home-page .hero-magic .eyebrow span {
  color: var(--forest-deep);
}

.home-page .hero-magic h1 {
  max-width: 650px;
  margin-bottom: clamp(22px, 3.2svh, 34px);
  color: var(--forest-deep);
  font-size: clamp(58px, min(6vw, 9.7svh), 104px);
  text-wrap: balance;
}

.home-page .hero-magic h1 em {
  color: #9a4a32;
  text-shadow: 0 1px 18px rgba(255, 236, 191, 0.58);
}

.home-page .hero-magic .hero-button {
  background: rgba(17, 34, 25, 0.94);
  color: #fffaf0;
  box-shadow: 0 16px 34px rgba(43, 36, 24, 0.24);
}

.home-page .hero-magic .hero-caption {
  max-width: 460px;
  margin: 21px 0 0;
  color: #633d2e;
  font-family: var(--script);
  font-size: clamp(21px, 1.7vw, 28px);
  line-height: 1.12;
}

@keyframes magic-breathe {
  from { transform: scale(1.01); }
  to { transform: scale(1.055); }
}

@keyframes magic-glow {
  from { opacity: 0.62; transform: translate3d(calc(var(--magic-x) * 12px), calc(var(--magic-y) * 9px), 0) scale(0.96); }
  to { opacity: 1; transform: translate3d(calc(var(--magic-x) * 12px), calc(var(--magic-y) * 9px), 0) scale(1.05); }
}

@keyframes magic-mote {
  0%, 100% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.7); }
  24% { opacity: 0.85; }
  58% { opacity: 0.38; transform: translate3d(13px, -22px, 0) scale(1.15); }
  78% { opacity: 0.82; }
}

@media (min-width: 1400px) {
  .home-page .hero-magic .hero-copy {
    width: min(100%, 590px);
    translate: clamp(46px, 4vw, 76px) 0;
  }
}

@media (min-width: 761px) and (max-height: 820px) {
  .home-page .hero-magic {
    min-height: 560px;
    padding-top: 94px;
    padding-bottom: 75px;
  }

  .home-page .hero-magic h1 {
    margin-bottom: 18px;
    font-size: clamp(48px, min(5.7vw, 8.8svh), 76px);
  }

  .home-page .hero-magic .hero-caption {
    margin-top: 15px;
    font-size: 22px;
  }
}

@media (max-width: 760px) {
  .home-page .hero-magic {
    display: grid;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    background: var(--paper-light);
  }

  .home-page .hero-magic::before {
    z-index: 2;
    right: 0;
    bottom: auto;
    height: clamp(320px, 82vw, 445px);
    background:
      linear-gradient(180deg, rgba(12, 22, 16, 0.7) 0, rgba(12, 22, 16, 0.12) 105px, transparent 42%),
      linear-gradient(0deg, rgba(17, 31, 23, 0.22), transparent 38%);
  }

  .home-page .hero-magic::after {
    bottom: -1px;
    height: 38px;
  }

  .hero-magic-art {
    position: relative;
    z-index: 0;
    inset: auto;
    width: 100%;
    height: clamp(320px, 82vw, 445px);
    grid-row: 1;
    transform: none;
  }

  .hero-magic-art img {
    object-position: 47% center;
  }

  .hero-magic-light {
    z-index: 1;
    top: 12px;
    right: -12%;
    width: 74%;
    height: clamp(285px, 72vw, 400px);
    transform: none;
  }

  .home-page .hero-magic .hero-copy {
    position: relative;
    z-index: 4;
    width: 100%;
    margin-top: -26px;
    padding: 38px 20px 76px;
    grid-row: 2;
    border-radius: 30px 30px 0 0;
    background: var(--paper-light);
    color: var(--forest-deep);
    box-shadow: 0 -18px 48px rgba(17, 34, 25, 0.14);
    text-shadow: none;
    translate: 0 0;
  }

  .home-page .hero-magic .eyebrow {
    color: #934632;
    font-size: 29px;
  }

  .home-page .hero-magic .eyebrow span {
    color: var(--forest-deep);
    font-size: 16px;
  }

  .home-page .hero-magic h1 {
    max-width: 550px;
    margin-bottom: 22px;
    color: var(--forest-deep);
    font-size: clamp(50px, 15.5vw, 72px);
    text-wrap: pretty;
  }

  .home-page .hero-magic h1 em {
    color: #9a4a32;
    text-shadow: 0 1px 18px rgba(181, 122, 37, 0.16);
  }

  .home-page .hero-magic .hero-button {
    background: var(--forest-deep);
    color: #fffaf0;
  }

  .home-page .hero-magic .hero-caption {
    max-width: 360px;
    margin-top: 18px;
    color: #704838;
    font-size: 22px;
  }

  .hero-motes {
    right: 0;
    bottom: auto;
    height: clamp(320px, 82vw, 445px);
  }

  .hero-motes i:nth-child(even) {
    display: none;
  }
}

@media (max-width: 430px) {
  .home-page .hero-magic {
    padding: 0;
  }

  .home-page .hero-magic .hero-copy {
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 760px) and (max-height: 700px) {
  .home-page .hero-magic {
    padding: 0;
  }

  .home-page .hero-magic h1 {
    margin-bottom: 20px;
    font-size: clamp(48px, 15vw, 66px);
  }

  .home-page .hero-magic .hero-caption {
    margin-top: 16px;
    font-size: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-magic-art,
  .hero-magic-art img,
  .hero-magic-light,
  .hero-motes i {
    animation: none !important;
    transform: none !important;
  }
}

/* V3.2 — vaste desktoppositie en een eenvoudige, betrouwbare mobiele opbouw. */
@media (min-width: 761px) {
  .home-page .hero-magic .hero-copy {
    position: absolute;
    top: 50%;
    right: clamp(24px, 3vw, 64px);
    width: min(34vw, 470px);
    grid-column: auto;
    justify-self: auto;
    translate: 0 -50%;
  }

  .home-page .hero-magic h1 {
    font-size: clamp(54px, min(5.2vw, 9.2svh), 92px);
  }
}

/* Laptop: maak de titel rustiger zodat de volledige tekst in de lichte zone past. */
@media (min-width: 761px) and (max-width: 1440px) {
  .home-page .hero-magic h1 {
    font-size: clamp(48px, 4.5vw, 62px);
  }
}

/* Smallere laptops: laat de hero exact met de verhouding van de illustratie meeschalen. */
@media (min-width: 761px) and (max-width: 1320px) {
  .home-page .hero-magic {
    height: 69.5vw;
    min-height: 640px;
    max-height: 918px;
  }
}

@media (max-width: 760px) {
  .home-page .hero-magic {
    display: block;
    height: auto;
    min-height: 0;
    max-height: none;
    padding: 0;
    overflow: hidden;
    background: var(--paper-light);
  }

  .home-page .hero-magic::before {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: 112px;
    background: linear-gradient(180deg, rgba(12, 22, 16, 0.74), rgba(12, 22, 16, 0.12) 82%, transparent);
  }

  .home-page .hero-magic::after {
    bottom: -1px;
    height: 30px;
  }

  .home-page .hero-magic .hero-magic-art {
    position: relative;
    z-index: 0;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2691 / 1870;
    margin: 0;
    overflow: hidden;
    transform: none;
  }

  .home-page .hero-magic .hero-magic-art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .home-page .hero-magic .hero-copy,
  .home-page .hero-magic .hero-copy.reveal,
  .home-page .hero-magic .hero-copy.reveal.visible {
    position: relative;
    z-index: 4;
    top: auto;
    right: auto;
    display: block;
    width: 100%;
    margin: 0;
    padding: 38px 20px 72px;
    grid-column: auto;
    grid-row: auto;
    border-radius: 0;
    background: var(--paper-light);
    box-shadow: none;
    color: var(--forest-deep);
    opacity: 1;
    text-shadow: none;
    transform: none;
    translate: 0 0;
  }

  .home-page .hero-magic .eyebrow {
    color: #934632;
  }

  .home-page .hero-magic .eyebrow span,
  .home-page .hero-magic h1 {
    color: var(--forest-deep);
  }

  .home-page .hero-magic h1 {
    max-width: 560px;
    font-size: clamp(50px, 15.5vw, 72px);
  }

  .home-page .hero-magic h1 em {
    color: #9a4a32;
  }

  .home-page .hero-magic .hero-button {
    background: var(--forest-deep);
    color: #fffaf0;
  }

  .home-page .hero-magic .hero-caption {
    color: #704838;
  }

  .home-page .hero-magic .hero-magic-light {
    top: 0;
    right: -8%;
    width: 60%;
    height: min(69vw, 445px);
    transform: none;
  }

  .home-page .hero-magic .hero-motes {
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    height: min(69vw, 445px);
  }
}

/* Behoud deze zichtbaarheidsoverrides onderaan voor oudere browsercaches. */
.footer-social-link,
.footer-social-link.is-pending {
  width: 46px;
  height: 46px;
  border-color: rgba(255, 250, 240, 0.5);
  background: rgba(255, 255, 255, 0.07);
  color: #fffaf0;
}

.footer-social-link.is-pending {
  opacity: 0.72;
}

.footer-social-link svg {
  display: block;
  width: 21px;
  height: 21px;
  overflow: visible;
}
