/* =========================================================
   TOET POUR L' ART — basisstylesheet
   Eerste opzet voor Dreamweaver, augustus 2026
   ========================================================= */

/* ---------- Basisvariabelen ---------- */
:root {
  --bg-dark: #360006;
  --bg-dark-2: #6d3940;
  --text-light: #f5eeee;
  --line-light: rgba(255, 255, 255, 0.72);
  --button-bg: rgba(209, 167, 167, 0.92);
  --button-border: rgba(255, 255, 255, 0.8);

  --page-max: 1180px;
  --page-gutter: clamp(22px, 4vw, 56px);

  --font-nav: "Raleway", Arial, sans-serif;
  --font-body: "Pontano Sans", Arial, sans-serif;
}

/* ---------- Webfonts ---------- */
@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-light-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

@font-face {
  font-family: "Pontano Sans";
  src: url("../fonts/pontano-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ubuntu Condensed";
  src: url("../fonts/ubuntu-condensed-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

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

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100%;
  background: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
}

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

a {
  color: inherit;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 10;
  background:
    linear-gradient(
      to bottom,
      #360006 0%,
      #3f070d 34%,
      #79474b 100%
    );
}

.header-inner {
  width: min(var(--page-max), calc(100% - (2 * var(--page-gutter))));
  min-height: 148px;
  margin-inline: auto;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 280px;
}

.brand {
  width: 104px;
  margin-top: 22px;
  flex: 0 0 auto;
	opacity: 0.8;
}

.brand img {
  width: 100%;
  height: auto;
}

/* ---------- Hoofdnavigatie ---------- */
.main-nav {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 0vw, 38px);
  padding-top: 57px;
	
  color: var(--text-light);

  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.main-nav > a,
.nav-dropdown-trigger {
  position: relative;
  display: inline-block;
  padding: 0 15px 22px;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav > a::after,
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  height: 1px;
  background: var(--line-light);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav > a:hover::after,
.main-nav > a:focus-visible::after,
.main-nav > a.is-active::after,
.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after {
  transform: scaleX(1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 50%;
  min-width: 125px;
  padding: 10px 0;

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -5px);
  transition:
    opacity 150ms ease,
    transform 150ms ease,
    visibility 150ms ease;

  background: rgba(54, 0, 6, 0.96);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  text-decoration: none;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(520px, 57vw, 650px);

  background-color: #a66f72;
  background-image: url("../images/introbg.png");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  overflow: hidden;
}

.hero-logo {
  position: absolute;
  width: 510px;
  max-width: 32vw;
  height: auto;

  left: 73%;
  top: 50%;
  transform: translate(-50%, -50%);

  opacity: 0.2;
  pointer-events: none;
}

/* ---------- Witte wisselbanner onder de homepage-hero ---------- */
.home-quote-banner {
  width: 100%;
  min-height: 139px;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
}

.home-quote {
  margin: 0;
  color: #7b4546;
  font-family: var(--font-nav);
  font-size: clamp(32px, 2.8vw, 41px);
  font-weight: 300;
  line-height: 1.2;

  opacity: 1;
  transition: opacity 800ms ease-in-out;
}

.home-quote.is-changing {
  opacity: 0;
}

.hero-inner {
  position: relative;
  width: min(var(--page-max), calc(100% - (2 * var(--page-gutter))));
  min-height: inherit;
  margin-inline: auto;
}

/* De positie volgt voorlopig bewust de bestaande homepage. */
.cta-button {
  position: absolute;
  left: 11%;
  top: 52%;

  min-width: 235px;
  padding: 13px 28px;
  border: 1px solid var(--button-border);
  border-radius: 10px;

  background: var(--button-bg);
  color: #fff;
  text-align: center;
  text-decoration: none;

  font-family: var(--font-nav);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.09em;
  text-transform: uppercase;

  transition:
    background 150ms ease,
    transform 150ms ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  background: rgba(224, 190, 190, 0.96);
  transform: translateY(-1px);
}

/* ---------- Socials ---------- */
.social-links {
  position: absolute;
  left: 0;
  bottom: 66px;

  display: flex;
  gap: 8px;
}

.social-links a {
  width: 38px;
  height: 34px;
  display: grid;
  place-items: center;

  background: rgba(75, 9, 15, 0.9);
  text-decoration: none;

  transition:
    background 150ms ease,
    transform 150ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(54, 0, 6, 1);
  transform: translateY(-1px);
}

.social-links img {
  width: 22px;
  height: 22px;
}

/* ---------- Hamburger ---------- */
.menu-toggle {
  display: none;
  width: 38px;
  height: 34px;
  padding: 6px;
  margin: 0;
  border: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {

  .about-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

@media (max-width: 900px) {

  .home-quote-banner {
    display: none;
  }

  .header-inner {
    position: relative;
    min-height: 96px;
    padding: 14px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  .brand {
    width: 70px;
    margin: 0;
  }
	
	.hero-logo {
    display: none;
}

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 12px 0 20px;
    background: rgba(54, 0, 6, 0.97);

    font-size: 12px;
  }

	.portfolio-page .main-nav {
  background: rgba(36, 38, 59, 0.97);
}

.portfolio-page .nav-dropdown-menu {
  background: rgba(36, 38, 59, 0.97);
}

  .main-nav.is-open {
    display: flex;
  }

  .main-nav > a,
  .nav-dropdown-trigger {
    display: block;
    padding: 12px 22px;
  }

  .main-nav > a::after,
  .nav-dropdown-trigger::after {
    display: none;
  }

 .nav-dropdown {
  width: 100%;
}

.nav-dropdown-trigger {
  width: 100%;
}

.nav-dropdown-menu {
  position: static;
  display: block;
  width: 100%;
  min-width: 0;

  margin: 0;
  padding: 0;

  opacity: 1;
  visibility: visible;
  transform: none;

  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  transform: none;
  opacity: 1;
  visibility: visible;
}

.nav-dropdown-menu a {
  display: block;
  width: 100%;
  padding: 9px 38px;
  box-sizing: border-box;
  white-space: normal;
  font-size: 11px;
  opacity: 0.85;

	}

  .hero {
    min-height: 560px;
    background-position: 56% center;
  }

  .cta-button {
    left: 4%;
  }

  .social-links {
    left: 0;
    bottom: 42px;
  }
}

@media (max-width: 650px) {
  .hero {
    min-height: 510px;
    background-position: 62% center;
  }

  .cta-button {
    left: 0;
    top: 54%;
    min-width: 205px;
    font-size: 15px;
  }

  .social-links {
    bottom: 28px;
  }
}


/* =========================================================
   ABOUT ME
   ========================================================= */

:root {
  --about-red: #7b4546;
  --about-text: #777777;
  --about-arrow: #d2d2d2;
  --about-border: #a8a8a8;
}

.about-page {
  background: #360006;
  color: var(--about-text);
}

.about-main {
  background-color: #360006;
  background-image: url("../images/about_me/introbg2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.about-stage {
  min-height: 760px;
}

.about-inner {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
  padding: 24px 0 36px;
}

.about-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 64%;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(123, 69, 70, 0.15);
}

.about-tab {
  position: relative;
  padding: 0 12px 12px;
  border: 0;
  background: transparent;
  color: var(--about-red);
  cursor: pointer;

  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.about-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 20%;
  bottom: -1px;
  height: 1px;
  background: var(--about-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.about-tab:hover::after,
.about-tab:focus-visible::after,
.about-tab.is-active::after {
  transform: scaleX(1);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(350px, 1fr);
  gap: 36px;
  align-items: start;
}

.about-visual {
  min-width: 0;
}

.card-frame {
  background: #fff;
  border: 4px solid #fff;
  box-shadow: 6px 6px 8px rgba(123, 69, 70, 0.26);
  overflow: hidden;
}

.card-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.card-frame img.is-changing {
  opacity: 0;
}

.about-image-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  margin-top: 28px;
}

.card-caption {
  max-width: 380px;
  margin: 0;
  color: var(--about-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
}

.card-controls {
  display: flex;
  gap: 18px;
}

.card-arrow {
  width: 41px;
  height: 47px;
  padding: 0;
  border: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  cursor: pointer;
}

.card-prev {
  background-image: url("../images/arrows/arrow-left-grey.svg");
}

.card-next {
  background-image: url("../images/arrows/arrow-right-grey.svg");
}

.card-prev:focus-visible {
  background-image: url("../images/arrows/arrow-left-red.svg");
}

.card-next:focus-visible {
  background-image: url("../images/arrows/arrow-right-red.svg");
}

@media (hover: hover) and (pointer: fine) {
  .card-prev:hover {
    background-image: url("../images/arrows/arrow-left-red.svg");
  }

  .card-next:hover {
    background-image: url("../images/arrows/arrow-right-red.svg");
  }
}

.about-copy {
  min-width: 0;
  padding-top: 0;
}

.about-panel {
  animation: aboutFade 180ms ease;
}

.about-panel h1 {
  margin: -4px 0 34px;
    color: var(--about-text);
  font-family: var(--font-nav);
  font-size: clamp(32px, 3.1vw, 42px);
  line-height: 1.1;
  font-weight: 300;
}

.about-panel p {
  margin: 0 0 28px;
    color: var(--about-text);
  font-size: 19px;
  line-height: 1.43;
  max-width: 550px;
}

.about-panel strong {
  color: #5a5a5a;
  font-family: var(--font-nav);
  font-size: 0.76em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.last-edit {
  margin-top: 64px !important;
}

@keyframes aboutFade {
  from { opacity: 0; transform: translateY(3px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1050px) {
  .about-inner {
    padding-top: 22px;
  }

  .about-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 18px;
  width: 100%;
  max-width: 800px;
  margin-bottom: 30px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-visual {
    width: 100%;
    max-width: 800px;
  }

  .card-frame {
    width: 100%;
    max-width: 800px;
  }

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

  .about-image-bottom {
    grid-template-columns: 1fr auto;
  }

  .card-controls {
    justify-self: end;
  }
}

@media (max-width: 650px) {
  .about-stage {
    min-height: 0;
  }

  .about-inner {
    padding: 20px 0 30px;
  }

  .about-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 0;
  }

  .about-tab {
    width: 50%;
    padding: 9px 10px 10px 0;
    font-size: 14px;
  }

  .about-tab::after {
    right: 16px;
  }

  .about-image-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .card-controls {
    justify-content: flex-end;
  }

  .card-arrow {
    width: 41px;
    height: 47px;
  }

  .about-panel h1 {
    margin-bottom: 24px;
    font-size: 31px;
  }

  .about-panel p {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.5;
  }

  .last-edit {
    margin-top: 38px !important;
  }
}


/* =========================================================
   UNPLUGGED
   Zelfde vaste geometrie als ABOUT ME; alleen inhoud/stijl wijkt af.
   ========================================================= */

.unplugged-page {
  background: #360006;
  color: var(--about-text);
}

/* Alleen de hoofdnavigatiestrook wijkt af van About. */
.unplugged-page .site-header {
  background-color: #4f252a;
  background-image: url("../images/unplugged/introbg0.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Het plaatje-praatje-gedeelte gebruikt exact dezelfde achtergrond als About. */
.unplugged-main {
  background-color: #360006;
  background-image: url("../images/about_me/introbg2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Onzichtbare plaatsvervanger voor de About-subnavigatie.
   Zo beginnen beeld en tekst op exact dezelfde Y-positie als op About. */
.unplugged-tabs-spacer {
  visibility: hidden;
  pointer-events: none;
}

/* Vast toneel: exact dezelfde 1000 x 686-verhouding voor iedere kaart.
   Het toneel zelf heeft géén witte achtergrond; alleen het kunstwerk kan een wit randje krijgen. */
.unplugged-card-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 686;
  background: transparent;
  overflow: visible;
}

/* Belangrijk voor Safari: de beelden worden absoluut binnen het vaste toneel geplaatst.
   Daardoor kan hun natuurlijke hoogte nooit de hoogte van het toneel veranderen. */
.unplugged-card-frame img {
  position: absolute;
  display: block;
  box-sizing: border-box;
  transition: opacity 120ms ease;
}

/* BO + Zittend naakt:
   exact van boven tot onder passend, horizontaal gecentreerd, mét wit randje. */
.unplugged-card-frame.mode-height img {
  top: 0;
  bottom: 0;
  left: 50%;
  height: 100%;
  width: auto;
  max-width: 100%;
  transform: translateX(-50%);
  border: 4px solid #fff;
  box-shadow: 6px 6px 8px rgba(123, 69, 70, 0.26);
}

/* Hades:
   vrijstaand, volledig zichtbaar en gecentreerd; géén witte rand en géén schaduw. */
.unplugged-card-frame.mode-free img {
  inset: 0;
  margin: auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border: 0;
  box-shadow: none;
}

/* De twee Bont-storyboards:
   eigen verhouding behouden, maximaal breed en exact tegen de bovenlijn. */
.unplugged-card-frame.mode-top img {
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  max-height: 100%;
  border: 4px solid #fff;
  box-shadow: 6px 6px 8px rgba(123, 69, 70, 0.26);
}

/* Liggend naakt + Dagboek:
   exact het vaste kader vullen, mét wit randje. */
.unplugged-card-frame.mode-fill img {
  inset: 0;
  width: 100%;
  height: 100%;
  border: 4px solid #fff;
  box-shadow: 6px 6px 8px rgba(123, 69, 70, 0.26);
}

.unplugged-card-frame img.is-changing {
  opacity: 0;
}

/* Onzichtbare caption houdt de pijlen exact op dezelfde positie als op About. */
.unplugged-caption-spacer {
  visibility: hidden;
}

.unplugged-panel {
  animation: aboutFade 180ms ease;
}

.unplugged-panel h1 {
  margin: -4px 0 34px;
  color: var(--about-text);
  font-family: var(--font-nav);
  font-size: clamp(32px, 3.1vw, 42px);
  line-height: 1.1;
  font-weight: 300;
}

.unplugged-panel p {
  margin: 0 0 28px;
  color: var(--about-text);
  font-size: 19px;
  line-height: 1.43;
  max-width: 550px;
}

.unplugged-panel strong {
  color: var(--about-red);
  font-family: var(--font-nav);
  font-size: 0.76em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.unplugged-meta {
  margin-top: 34px;
}

.unplugged-meta p {
  display: grid;
  grid-template-columns: 145px 1fr;
  column-gap: 12px;
  line-height: 1.43;
  align-items: baseline;
  margin-bottom: 0px;
}

/* Zelfde éénkolomsbreedte als About. */

@media (max-width: 1050px) {
    .unplugged-page .site-header {
    background-size: auto;
  }

 .unplugged-tabs-spacer {
    display: none;
  }
	
  .unplugged-content {
  margin-top: 12px;
}

  .unplugged-card-frame {
    max-width: none;
  }

  .unplugged-copy {
    max-width: 800px;
  }

  .unplugged-panel > p {
    max-width: 800px;
  }
}

@media (max-width: 650px) {
  .unplugged-panel h1 {
    margin-bottom: 24px;
    font-size: 31px;
  }
 
 .unplugged-caption-spacer {
  display: none;
}
	
 .unplugged-image-bottom .card-controls {
  transform: translateY(8px);
}

  .unplugged-panel p {
    margin-bottom: 22px;
    font-size: 17px;
    line-height: 1.5;
  }
  .unplugged-meta p {
  line-height: 1.43;
  margin-bottom: 0;
  }
}


/* =========================================================
   PORTFOLIO — PRINT
   Zelfde vaste geometrie als Unplugged, met eigen kleurwereld.
   ========================================================= */

:root {
  --portfolio-bg: #8280af;
  --portfolio-dark: #2b354e;
  --portfolio-dark-deep: #24263b;
  --portfolio-lilac: #d0c8e7;
  --portfolio-text: #ffffff;
}

.portfolio-page {
  background: var(--portfolio-dark-deep);
  color: var(--portfolio-text);
}

/* Donkerblauwe navigatiestrook uit het aangeleverde introbg6.jpg. */
.portfolio-page .site-header {
  background-color: var(--portfolio-dark);
  background-image: url("../images/print/introbg6.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Ook de Portfolio-pulldown krijgt de donkerblauwe kleurwereld. */
.portfolio-page .nav-dropdown-menu {
  background: rgba(36, 38, 59, 0.97);
}

.portfolio-page .nav-dropdown-menu a:hover,
.portfolio-page .nav-dropdown-menu a:focus-visible,
.portfolio-page .nav-dropdown-menu a.is-current {
  background: rgba(208, 200, 231, 0.14);
}

/* Grote lila achtergrond uit het aangeleverde introbg4b.jpg. */
.portfolio-main {
  background-color: var(--portfolio-bg);
  background-image: url("../images/print/introbg4b.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.portfolio-stage {
  min-height: 760px;
}

.portfolio-inner {
  width: min(1440px, calc(100% - 48px));
  margin-inline: auto;
  padding: 24px 0 36px;
}

/* Portfolio-subnavigatie: Print / Packaging / Online / Illustratie. */
.portfolio-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 64%;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.portfolio-tabs a {
  position: relative;
  padding: 0 12px 12px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}

.portfolio-tabs a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 20%;
  bottom: -1px;
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.portfolio-tabs a:hover::after,
.portfolio-tabs a:focus-visible::after,
.portfolio-tabs a.is-active::after {
  transform: scaleX(1);
}

/* Exact dezelfde tweekolomsgeometrie als About / Unplugged. */
.portfolio-content {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(350px, 1fr);
  gap: 36px;
  align-items: start;
}

.portfolio-visual {
  min-width: 0;
}

/* Alle aangeleverde Print-beelden zijn 1000 x 686.
   Geen wit kader: het beeld vult exact het vaste toneel. */
.portfolio-card-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 686;
  overflow: visible;
}

.portfolio-card-frame > #portfolio-card-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border: 0;
  box-shadow: none;
  transition: none;
}

.portfolio-card-frame > #portfolio-card-image.portfolio-image-contain {
  object-fit: contain;
  object-position: center top;
}

.portfolio-card-frame > #portfolio-card-image.is-changing {
  opacity: 0;
}

/* Flipbook-knop is een overlay en beïnvloedt de vaste geometrie dus niet. */
.portfolio-flipbook {
  position: absolute;
  right: 36px;
  bottom: 18px;
  z-index: 3;
  width: 74px;
  height: 74px;
  display: block;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 160ms ease, opacity 160ms ease;
  box-shadow: 4px 5px 7px rgba(25, 28, 48, 0.30);
}

.portfolio-flipbook img {
  width: 100%;
  height: 100%;
}

.portfolio-flipbook:hover,
.portfolio-flipbook:focus-visible {
  transform: scale(1.06);
}

.portfolio-flipbook.is-placeholder {
  cursor: default;
}

.portfolio-flipbook[hidden] {
  display: none;
}

/* Geen onderschrift onder Print: alleen de pijlen blijven staan. */
.portfolio-image-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}

.portfolio-image-bottom .card-controls {
  justify-self: end;
}

/* Witte pijlen, lila hover. */
.portfolio-prev {
  background-image: url("../images/arrows/arrow-left-white.svg");
}

.portfolio-next {
  background-image: url("../images/arrows/arrow-right-white.svg");
}

.portfolio-prev:focus-visible {
  background-image: url("../images/arrows/arrow-left-lilac.svg");
}

.portfolio-next:focus-visible {
  background-image: url("../images/arrows/arrow-right-lilac.svg");
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-prev:hover {
    background-image: url("../images/arrows/arrow-left-lilac.svg");
  }

  .portfolio-next:hover {
    background-image: url("../images/arrows/arrow-right-lilac.svg");
  }
}


@media (hover: none) and (pointer: coarse) {
  .about-panel > p,
  .unplugged-panel > p {
    color: #666666;
  }


  .card-prev:active {
    background-image: url("../images/arrows/arrow-left-red.svg");
  }

  .card-next:active {
    background-image: url("../images/arrows/arrow-right-red.svg");
  }

  .portfolio-prev:active {
    background-image: url("../images/arrows/arrow-left-lilac.svg");
  }

  .portfolio-next:active {
    background-image: url("../images/arrows/arrow-right-lilac.svg");
  }
}

.portfolio-copy {
  min-width: 0;
  padding-top: 0;
}

.portfolio-panel {
  animation: aboutFade 180ms ease;
}

.portfolio-panel h1 {
  margin: -4px 0 34px;
  color: #fff;
  font-family: var(--font-nav);
  font-size: clamp(32px, 3.1vw, 42px);
  line-height: 1.1;
  font-weight: 300;
}

.portfolio-panel > p {
  margin: 0 0 28px;
  color: #fff;
  font-size: 19px;
  line-height: 1.43;
  max-width: 550px;
}

.portfolio-meta {
  margin-top: 34px;
}

.portfolio-meta p {
  display: grid;
  grid-template-columns: 155px minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  margin: 0;
  color: #fff;
  font-size: 19px;
  line-height: 1.43;
}

.portfolio-meta strong {
  color: var(--portfolio-lilac);
  font-family: var(--font-nav);
  font-size: 0.76em;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.portfolio-meta span {
  min-width: 0;
}

@media (max-width: 1050px) {
  .portfolio-page .site-header {
    background-size: auto;
  }

  .portfolio-inner {
    padding-top: 22px;
  }

  .portfolio-tabs {
    width: 100%;
    max-width: 800px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0 18px;
    margin-bottom: 30px;
  }

  .portfolio-content {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .portfolio-visual,
  .portfolio-card-frame,
  .portfolio-image-bottom {
    width: 100%;
    max-width: 800px;
  }

  .portfolio-copy {
    max-width: 800px;
  }
 .portfolio-panel > p {
  max-width: 800px;
}
}

@media (max-width: 650px) {
  .portfolio-stage {
    min-height: 0;
  }

  .portfolio-inner {
    padding: 20px 0 30px;
  }

  .portfolio-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 0;
  }

  .portfolio-tabs a {
    width: 50%;
    box-sizing: border-box;
    padding: 9px 10px 10px 0;
    font-size: 14px;
  }

  .portfolio-tabs a::after {
    right: 16px;
  }

  .portfolio-image-bottom {
    margin-top: 20px;
  }

  .portfolio-image-bottom .card-controls {
    transform: translateY(8px);
  }

  .portfolio-flipbook {
    width: 60px;
    height: 60px;
    right: 22px;
    bottom: 16px;
  }

  .portfolio-panel h1 {
    margin-bottom: 24px;
    font-size: 31px;
  }

  .portfolio-panel > p,
  .portfolio-meta p {
    font-size: 17px;
    line-height: 1.5;
  }

  .portfolio-panel > p {
    margin-bottom: 22px;
  }

  .portfolio-meta {
    margin-top: 26px;
  }

  .portfolio-meta p {
    grid-template-columns: 145px minmax(0, 1fr);
  }
}

/* Illustratie: transparante witte onderlegger voor vrijstaande beelden. */
.portfolio-card-frame.portfolio-card-wash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.18);
}

.portfolio-card-frame.portfolio-card-wash > #portfolio-card-image {
  z-index: 1;
}

/* Toet-logo kleiner en gecentreerd */
.portfolio-card-frame.portfolio-card-wash > #portfolio-card-image[src*="1-Toet_logo"] {
  width: 65%;
  height: 65%;
  inset: 17.5%;
  object-fit: contain;
  object-position: center;
}

/* Potloodtekening – wit kader, uitsluitend Illustratie slide 2 */
.portfolio-card-frame.portfolio-pencil-border {
  border: 5px solid #fff;
  box-sizing: border-box;
}


/* Packaging: sterkere transparant-witte onderlegger, onafhankelijk van Illustratie. */
.portfolio-card-frame.portfolio-card-wash-packaging::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 255, 255, 0.28);
}

.portfolio-card-frame.portfolio-card-wash-packaging > #portfolio-card-image {
  z-index: 1;
}


/* =========================================================
   CONTACT
   ========================================================= */
:root { --contact-bg:#171414; --contact-text:#f3eeee; --contact-muted:rgba(243,238,238,.72); }
.contact-page { background:#483e47; color:var(--contact-text); }
.contact-page .site-header { background-color:#512b28; background-image:url("../images/contact/introbg3.jpg"); background-repeat:no-repeat; background-position:center; background-size:cover; }
.contact-page .nav-dropdown-menu,.contact-page .main-nav { --contact-nav-bg:rgba(48,25,24,.97); }
.contact-page .nav-dropdown-menu { background:var(--contact-nav-bg); }
.contact-main { background-color:var(--contact-bg); background-image:url("../images/contact/pattern_shapes.png"); background-repeat:repeat; background-size:150px 150px; }
.contact-stage { min-height:760px; }
.contact-inner { width:min(1440px,calc(100% - 48px)); margin-inline:auto; padding:50px 0 34px; }
.contact-content { display:grid; grid-template-columns:minmax(390px,.92fr) minmax(440px,1.08fr); gap:clamp(14px,1.6vw,24px); align-items:start; }
.contact-map-column,.contact-copy { min-width:0; }
.contact-map-column { display:flex; flex-direction:column; }
.contact-copy h1 { margin:-5px 0 28px; font-family:var(--font-nav); font-size:clamp(32px,3.1vw,42px); line-height:1.1; font-weight:300; }
.contact-details { display:grid; grid-template-columns:142px minmax(0,1fr); column-gap:20px; row-gap:5px; margin:0 0 25px; font-size:19px; line-height:1.43; }
.contact-details dt,.contact-section h2 { margin:0; font-family:var(--font-nav); font-size:14px; line-height:1.43; font-weight:700; letter-spacing:.02em; text-transform:uppercase; }
.contact-details dd { margin:0; }
.contact-note { margin-left:10px; color:var(--contact-muted); font-size:.82em; white-space:nowrap; }
.contact-copy a { text-underline-offset:3px; }
.contact-section { margin:0 0 20px; }
.contact-section h2 { margin-bottom:6px; }
.contact-section p { max-width:610px; margin:0; font-size:19px; line-height:1.43; }
.contact-footnote { margin-top:27px!important; color:var(--contact-muted); font-size:13px!important; line-height:1.4!important; }
.contact-disclaimer { order:3; margin-top:49px; font-size:14px; line-height:1.45; }
.contact-disclaimer summary { width:max-content; cursor:pointer; font-family:var(--font-nav); font-weight:700; text-transform:uppercase; letter-spacing:.02em; text-decoration:underline; text-underline-offset:3px; }
.contact-disclaimer summary::marker { color:var(--contact-muted); }
.contact-disclaimer p { max-width:none; margin:8px 0 0; color:var(--contact-muted); font-size:14px; line-height:1.45; }
.contact-copyright { margin:20px 0 0; color:var(--contact-muted); font-family:var(--font-nav); font-size:13px; letter-spacing:.16em; text-transform:uppercase; }
.contact-map { order:2; width:100%; aspect-ratio:1.55/1; min-height:360px; border:0; display:block; filter:saturate(.78) contrast(.96); }
.contact-socials { order:1; display:flex; gap:12px; margin:0 0 32px; }
.contact-socials a { width:48px; height:48px; display:grid; place-items:center; border:1px solid rgba(255,255,255,.34); color:#fff; text-decoration:none; font-family:var(--font-nav); font-size:15px; font-weight:700; transition:background 160ms ease,border-color 160ms ease; }
@media (hover:hover) and (pointer:fine) { .contact-socials a:hover,.contact-socials a:focus-visible { background:rgba(255,255,255,.12); border-color:rgba(255,255,255,.65); } }
@media (max-width:1050px) { .contact-inner { max-width:800px; padding-top:36px; } .contact-content { grid-template-columns:1fr; gap:38px; } .contact-map { max-width:800px; } }
@media (max-width:900px) { .contact-page .site-header { background-size:auto; } .contact-page .main-nav,.contact-page .nav-dropdown-menu { background:var(--contact-nav-bg); } }
@media (max-width:650px) { .contact-stage { min-height:0; } .contact-inner { width:calc(100% - 44px); padding:30px 0 34px; } .contact-copy h1 { margin-bottom:24px; font-size:31px; } .contact-details { grid-template-columns:104px minmax(0,1fr); column-gap:14px; font-size:17px; line-height:1.5; } .contact-details dt,.contact-section h2 { font-size:13px; line-height:1.5; } .contact-note { display:block; margin-left:0; } .contact-section p { font-size:17px; line-height:1.5; } .contact-map { min-height:300px; aspect-ratio:1/1; } .contact-socials a { width:44px; height:44px; } }

/* =========================================================
   DESKTOP GEOMETRIE — gelijke onderlijn pagina's
   ========================================================= */
@media (min-width:1051px) {
  .portfolio-stage,
  .contact-stage { min-height:784px; }
  .portfolio-image-bottom { margin-top:52px; }
}

/* Contact: mobiele volgorde en ritme */
@media (max-width:1050px) {
  .contact-map-column { display:flex; flex-direction:column; }
  .contact-socials { margin:0 0 32px; }
  .contact-disclaimer { margin-top:24px; }
}
@media (min-width:1051px) and (max-width:1200px) {
  .contact-socials {
    margin-bottom:40px;
  }

  .contact-disclaimer {
    margin-top:35px;
  }
}