:root {
  --bg: #f8f3e8;
  --surface: #fff9f0;
  --ink: #131316;
  --muted: #4e5262;
  --accent-a: #ff4f6d;
  --accent-b: #0b9d94;
  --accent-c: #ffbe0b;
  --accent-d: #4a67ff;
  --radius: 20px;
  --shadow: 0 20px 40px rgba(23, 16, 45, 0.12);
  --shared-bg-image: url("./images/Nieuwsletter .jpg");
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8ef 0%, #f5fbff 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(180deg, rgba(255, 248, 239, 0.78), rgba(245, 251, 255, 0.78)),
    var(--shared-bg-image);
  background-size: cover;
  background-position: center;
}

h1,
h2,
h3,
.brand {
  font-family: "Bricolage Grotesque", sans-serif;
  letter-spacing: -0.02em;
}

.bg-glow {
  position: fixed;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.35;
  z-index: -1;
}

.bg-glow-a {
  top: -120px;
  right: -120px;
  background: radial-gradient(circle at center, var(--accent-a), transparent 70%);
}

.bg-glow-b {
  bottom: -180px;
  left: -120px;
  background: radial-gradient(circle at center, var(--accent-b), transparent 70%);
}

.site-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-size: 3.1rem;
  font-weight: 800;
}

.brand-logo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(15, 11, 30, 0.2);
}

.site-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(19, 19, 22, 0.12);
  background: rgba(255, 255, 255, 0.85);
}

.lang-pill {
  text-decoration: none;
  display: inline-flex;
}

.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 6px 12px;
  opacity: 0.7;
  transition: opacity 220ms ease, background-color 220ms ease;
  min-width: 64px;
}

.lang-pill:hover .lang-option {
  opacity: 1;
}

.lang-option.is-active {
  opacity: 1;
  background: linear-gradient(130deg, rgba(255, 79, 109, 0.16), rgba(74, 103, 255, 0.18));
}

.tab-link {
  border: 1px solid rgba(19, 19, 22, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.82;
  cursor: pointer;
  transition: opacity 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.tab-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.tab-link.is-active {
  opacity: 1;
  background: linear-gradient(130deg, rgba(255, 79, 109, 0.2), rgba(74, 103, 255, 0.2));
  border-color: rgba(74, 103, 255, 0.28);
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.section {
  margin: 34px 0;
  background: color-mix(in srgb, var(--surface) 78%, white 22%);
  border: 1px solid rgba(16, 16, 20, 0.06);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.home-panel {
  overflow: visible;
}

.home-panel > *:not(.home-cloud) {
  position: relative;
  z-index: 1;
}

.home-cloud {
  position: absolute;
  top: calc(0% - 4cm);
  left: -30%;
  background: url("./images/Wolk-2-transparent.png") center/contain no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.2px);
  animation: cloud-orbit 40s linear infinite;
}

.home-cloud.cloud-a {
  top: calc(0% - 4cm);
  width: 210px;
  height: 130px;
  animation-duration: 34s;
  animation-delay: -4s;
}


.home-cloud.cloud-d {
  top: calc(0% - 4cm);
  left: -50%;
  width: 600px;
  height: 380px;
  opacity: 0.45;
  animation-duration: 50s;
  animation-delay: -20s;
}

.home-cloud.cloud-b {
  top: calc(8% - 4cm);
  left: -20%;
  width: 260px;
  height: 160px;
  opacity: 0.5;
  animation-duration: 42s;
  animation-delay: -10s;
}

.home-cloud.cloud-e {
  top: calc(10% - 4cm);
  left: -35%;
  width: 480px;
  height: 300px;
  opacity: 0.55;
  animation-duration: 60s;
  animation-delay: -28s;
}


.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 79, 109, 0.06),
    rgba(74, 103, 255, 0.06),
    rgba(11, 157, 148, 0.06)
  );
  pointer-events: none;
}

.section > *:not(.home-cloud) {
  position: relative;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.03;
  max-width: 13ch;
}

.hero-copy {
  max-width: 60ch;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  min-height: 90px;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-d);
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.section-head p {
  margin-top: 0;
  color: var(--muted);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#gallery .photo-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  justify-content: start;
  gap: 16px;
}

#gallery .photo-card {
  max-width: none;
  border-radius: 0;
}

#gallery .photo-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
  border-radius: 0;
}

.collection-panel #prints-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
}

.collection-panel #prints-grid .photo-card {
  max-width: 220px;
  width: 100%;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.photo-card {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(18, 14, 32, 0.18);
  background: #fff;
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.photo-card img.square-crop {
  aspect-ratio: 1 / 1;
  height: 100%;
  object-fit: cover;
}

.featured-grid .photo-card img {
  aspect-ratio: 3 / 4;
  height: auto;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.art-meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}

.art-price {
  font-weight: 700;
  color: var(--ink);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.shop-card {
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(20, 20, 26, 0.08);
}

.shop-card h3 {
  margin-top: 0;
}

.shop-card p {
  color: var(--muted);
}

.price {
  margin: 14px 0 18px;
  color: var(--ink);
  font-weight: 700;
}

.collection-previews {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.collection-panel {
  border-radius: 14px;
  padding: 20px;
  background: #fff;
  border: 1px solid rgba(20, 20, 26, 0.08);
}

.collection-panel h3 {
  margin: 0 0 8px;
}

.collection-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.contact-panel {
  margin-top: 18px;
}

.story {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 24px;
  align-items: center;
}

.home-story {
  margin: 0 0 30px;
}


.portrait {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(16, 12, 40, 0.24);
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.story p {
  color: var(--muted);
}

.signup {
  background-image:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(248, 245, 255, 0.88)),
    var(--shared-bg-image);
  background-size: cover;
  background-position: center;
}

.mailclub-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: center;
}

.mailclub-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.mailclub-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(18, 14, 32, 0.2);
}

.mailclub-photo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mailclub-disclaimer {
  margin: 8px 4px 0;
  font-size: 0.72rem;
  line-height: 1.2;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.mailclub-note {
  margin: 0 0 18px;
  color: var(--muted);
}

.mailclub-step + .mailclub-step {
  margin-top: 18px;
}

.mailclub-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.mailclub-modal[hidden] {
  display: none;
}

.mailclub-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 14, 32, 0.6);
  backdrop-filter: blur(3px);
}

.mailclub-modal-dialog {
  position: relative;
  width: min(640px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 24px 60px rgba(18, 14, 32, 0.35);
  z-index: 1;
}

.mailclub-modal-dialog h3 {
  margin-top: 4px;
  margin-bottom: 16px;
}

.mailclub-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(18, 14, 32, 0.08);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.mailclub-modal-close:hover {
  background: rgba(18, 14, 32, 0.16);
}

.mailclub-details-form {
  display: grid;
  gap: 16px;
}

.mailclub-country[hidden] {
  display: none;
}

.mailclub-details-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--muted);
}

.mailclub-details-form input,
.mailclub-details-form select {
  border: 1px solid rgba(21, 20, 30, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
}

.mailclub-fieldset {
  border: 1px solid rgba(21, 20, 30, 0.12);
  border-radius: 16px;
  padding: 14px 16px 12px;
  display: grid;
  gap: 10px;
}

.mailclub-fieldset legend {
  padding: 0 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--ink);
}

.mailclub-fieldset .radio-option {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.mailclub-fieldset .radio-option input {
  margin: 0;
}

.mailclub-details-grid {
  display: grid;
  gap: 12px 18px;
  grid-template-columns: minmax(0, 1fr);
}

.mailclub-details-grid .full-width {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .mailclub-details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}


.signup-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.mailclub-step-email .btn {
  margin-top: 18px;
  padding: 16px 28px;
  font-size: 1.35rem;
}

.signup-form input {
  flex: 1 1 250px;
  border: 1px solid rgba(21, 20, 30, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 1rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 11px 18px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.home-cta:hover {
  opacity: 0.9;
  filter: none;
  transform: translateX(-50%);
}

.btn-primary {
  background: linear-gradient(130deg, var(--accent-a), var(--accent-d));
  color: white;
  text-decoration: none;
  display: inline-block;
}

.home-cta {
  position: absolute;
  left: calc(62% + 4cm);
  top: -4cm;
  right: auto;
  width: 420px;
  height: 420px;
  border-radius: 0;
  padding: 0;
  background: none;
  color: #e7a9d8;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  font-family: "Pacifico", cursive;
  font-size: 2.4rem;
  letter-spacing: 0.01em;
  font-weight: 400;
  flex-direction: column;
  gap: 4px;
  transform: translateX(-50%);
  border: none;
  clip-path: none;
  transition: opacity 300ms ease;
  z-index: 0;
}

html[lang="fr"] .home-cta {
  font-size: 2.05rem;
}

html[lang="fr"] .home-cta-text {
  transform: translateY(-0.3cm);
}

.home-cta span {
  display: block;
  font-weight: 400;
}

.home-cta::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  background: url("./images/Wolk-2-transparent.png") center/contain no-repeat;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 300ms ease;
  z-index: -1;
}

.home-cta:hover::before {
  transform: translate(-50%, -50%) scale(1.06);
}

.home-cta-text {
  transform: translateY(-0.5cm);
  transform-origin: center;
}

.home-cta-line {
  display: block;
  transform: translateY(-0.3cm);
}


.btn-secondary {
  background: linear-gradient(130deg, var(--accent-c), #ff7f50);
  color: #131316;
}

.form-message {
  margin: 12px 0 0;
  color: var(--accent-b);
  font-weight: 600;
  min-height: 24px;
}

.form-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-hint a {
  color: var(--ink);
}

.form-hint a:hover {
  text-decoration: underline;
}

.site-footer {
  max-width: 1100px;
  margin: 0 auto 28px;
  padding: 0 20px;
  color: var(--muted);
  text-align: center;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.legal-page main {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}

.legal-page h1 {
  margin-top: 0;
}

.legal-page section {
  margin: 24px 0;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

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

@media (max-width: 900px) {
  .section {
    padding: 24px;
  }

  .home-panel {
    padding: 0 24px 24px;
  }

  .shop-grid {
    grid-template-columns: 1fr;
  }

  .story {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 260px;
  }

  .mailclub-layout {
    grid-template-columns: 1fr;
  }

  #gallery .photo-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  #gallery .photo-card {
    max-width: none;
  }

  #gallery .photo-card img {
    aspect-ratio: 3 / 4;
    height: auto;
  }

  .collection-panel #prints-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 190px));
  }

  .collection-panel #prints-grid .photo-card {
    max-width: 190px;
  }
}

@media (max-width: 680px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .brand {
    font-size: 2.4rem;
  }

  .brand-logo {
    width: 112px;
    height: 112px;
  }

  .featured-grid,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .home-cta {
    position: static;
    transform: none;
    width: 150px;
    height: 150px;
    font-size: 0.95rem;
    align-self: flex-end;
    margin-top: 10px;
  }

  .home-cta:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .section {
    animation: fadeup 520ms ease both;
  }

  .section:nth-of-type(2) {
    animation-delay: 70ms;
  }

  .section:nth-of-type(3) {
    animation-delay: 140ms;
  }

  .section:nth-of-type(4) {
    animation-delay: 210ms;
  }

  .section:nth-of-type(5) {
    animation-delay: 280ms;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-cloud {
    animation: none;
  }
}

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

@keyframes cloud-orbit {
  0% {
    transform: translate(-20vw, 0) scale(0.9);
    opacity: 0;
  }
  20% {
    transform: translate(10vw, 2vh) scale(1);
    opacity: 0.55;
  }
  80% {
    transform: translate(110vw, 6vh) scale(0.95);
    opacity: 0.55;
  }
  100% {
    transform: translate(140vw, 10vh) scale(0.9);
    opacity: 0;
  }
}
