/* === Font faces (resolved via figma fonts resolve) === */
@font-face {
  font-family: "Bricolage Grotesque:Bold";
  src: url("https://static.figma.com/font/BricolageGrotesque_opsz_wdth_wght__1") format("woff2");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Bricolage Grotesque:ExtraBold";
  src: url("https://static.figma.com/font/BricolageGrotesque_opsz_wdth_wght__1") format("woff2");
  font-style: normal;
  font-weight: 800;
}
@font-face {
  font-family: "Inter:Medium";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 500;
}
@font-face {
  font-family: "Inter:Semi Bold";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 600;
}
@font-face {
  font-family: "Inter:Bold";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: normal;
  font-weight: 700;
}
@font-face {
  font-family: "Inter:Medium Italic";
  src: url("https://static.figma.com/font/Inter_1") format("woff2");
  font-style: italic;
  font-weight: 500;
}
@font-face {
  font-family: "Roboto Mono:Regular";
  src: url("https://static.figma.com/font/RobotoMono_wght__2") format("woff2");
  font-style: normal;
  font-weight: 400;
}

/* === Design tokens === */
:root {
  --purple-dark:    #2e1250;
  --green-bright:   #06ff00;
  --cyan-bright:    #00deff;
  --orange-bright:  #ff8331;
  --purple-light:   rgba(142, 112, 179, 0.2);
  --gray-placeholder: #c4c4c4;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --space-8: 64px;

  --max-content: 1312px;
  --page-x: var(--space-8);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--purple-dark); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul { margin: 0; padding: 0; }
ul { list-style: none; }

/* === Layout helpers === */
.container {
  width: 100%;
  max-width: calc(var(--max-content) + var(--page-x) * 2);
  margin-inline: auto;
  padding-inline: var(--page-x);
}

/* === Header === */
.site-header {
  background: var(--purple-dark);
  width: 100%;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-block: var(--space-4);
  flex-wrap: wrap;
}

.header-cta { margin-left: auto; }

.header-logo {
  flex-shrink: 0;
  /* content bbox: 826×333 at scale 52/333 = 129×52px */
  width: 129px;
  height: 52px;
  overflow: hidden;
  display: block;
}
.header-logo img {
  display: block;
  width: auto;
  height: 89px;       /* full 569px image at 52/333 scale */
  margin-left: -11px; /* crop 73px left padding at scale */
  margin-top: -21px;  /* crop 134px top padding at scale */
  max-width: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}
.primary-nav a {
  font-family: "Bricolage Grotesque:Bold", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 18px;
  line-height: 28px;
  color: #fff;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.primary-nav a:hover { opacity: 0.8; }

.header-cta {
  flex-shrink: 0;
  background: var(--green-bright);
  border: 1px solid #5629aa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1) var(--space-2) var(--space-1) var(--space-2);
  height: 48px;
  transition: opacity 0.15s;
}
.header-cta:hover { opacity: 0.9; }
.header-cta span {
  font-family: "Inter:Semi Bold", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 17px;
  line-height: 24px;
  color: var(--purple-dark);
  white-space: nowrap;
}

/* === Footer === */
.site-footer { width: 100%; }

.footer-top {
  background: var(--purple-dark);
  width: 100%;
}
.footer-top .container {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding-block: var(--space-4);
  flex-wrap: wrap;
}

.footer-socials { margin-left: auto; }

.footer-logo {
  flex-shrink: 0;
  /* content bbox: 826×333 at scale 44/333 = 109×44px */
  width: 109px;
  height: 44px;
  overflow: hidden;
  display: block;
}
.footer-logo img {
  display: block;
  width: auto;
  height: 75px;       /* full 569px image at 44/333 scale */
  margin-left: -10px; /* crop 73px left padding at scale */
  margin-top: -18px;  /* crop 134px top padding at scale */
  max-width: none;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.footer-nav a {
  font-family: "Inter:Semi Bold", sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  color: #fff;
  transition: opacity 0.15s;
}
.footer-nav a:hover { opacity: 0.8; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}
.footer-socials a {
  display: flex;
  align-items: center;
  transition: opacity 0.15s;
}
.footer-socials a:hover { opacity: 0.8; }

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  padding-block: var(--space-4);
}

.footer-note {
  font-family: "Roboto Mono:Regular", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  line-height: 12px;
  color: #000;
  width: 192px;
  flex-shrink: 0;
}

.funder-logo {
  display: block;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  transition: opacity 0.15s;
}
.funder-logo:hover { opacity: 0.8; }
.funder-logo img {
  position: absolute;
  max-width: none;
}

.funder-zoopcccu { width: 100px; height: 80px; }
.funder-zoopcccu img { inset: 0; width: 100%; height: 100%; }

.funder-digitall { width: 100px; height: 72px; }
.funder-digitall img { inset: 0; width: 100%; height: 100%; }

.funder-sci { width: 107px; height: 73px; overflow: hidden; }
.funder-sci img { inset: 0; width: 100%; height: 100%; }

.funder-bieb { width: 55px; height: 72px; }
.funder-bieb img { inset: 0; width: 100%; height: 100%; }

.funder-zimhic { width: 179px; height: 54px; }
.funder-zimhic img { width: 113.39%; height: 151.09%; left: -5.7%; top: -29.32%; }

.funder-vonk { width: 64px; height: 64px; }
.funder-vonk img { inset: 0; width: 100%; height: 100%; object-fit: cover; }

.funder-grc { width: 145px; height: 60px; }
.funder-grc img { width: 106.86%; height: 100%; left: -3.43%; top: 0; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 12px var(--space-2);
  cursor: pointer;
  transition: opacity 0.15s;
  flex-shrink: 0;
  align-self: flex-start;
}
.btn:hover { opacity: 0.9; }
.btn-text {
  font-family: "Inter:Medium", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 30px;
  line-height: 32px;
  color: var(--purple-dark);
  white-space: nowrap;
}
.btn-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
}
.btn-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.btn-green  { background: var(--green-bright); }
.btn-cyan   { background: var(--cyan-bright); }
.btn-orange { background: var(--orange-bright); }

/* === Page content wrapper === */
.page-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.page-content main { flex: 1; }

/* === Sections === */
.content-section {
  padding-block: var(--space-8);
}
.content-section .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* === Display headings === */
.heading-xl {
  font-family: "Bricolage Grotesque:ExtraBold", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 68px;
  line-height: 72px;
  color: var(--purple-dark);
}
.heading-l {
  font-family: "Bricolage Grotesque:ExtraBold", sans-serif;
  font-weight: 800;
  font-style: normal;
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 52px;
  line-height: 64px;
  color: var(--purple-dark);
}
.heading-m {
  font-family: "Bricolage Grotesque:Bold", sans-serif;
  font-weight: 700;
  font-style: normal;
  font-variation-settings: "opsz" 14, "wdth" 100;
  font-size: 42px;
  line-height: 48px;
  color: var(--purple-dark);
}
.body-intro {
  font-family: "Inter:Medium", sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 23px;
  line-height: 32px;
  color: var(--purple-dark);
}
.body-intro p + p { margin-top: 0; }

/* === Featured (2-col) layout === */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  align-items: start;
}
.featured-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.featured-media {
  position: relative;
  align-self: stretch;
  min-height: 400px;
  background: var(--gray-placeholder);
  overflow: hidden;
}
.featured-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

/* === Workshop band === */
.workshops-band {
  background: var(--purple-light);
  padding-block: var(--space-4) var(--space-8);
}
.workshops-band .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

/* === Workshop detail text === */
.workshop-detail-text { display: flex; flex-direction: column; gap: var(--space-3); }
.workshop-detail-text p { margin: 0; }
.workshop-detail-text .bold {
  font-family: "Inter:Bold", sans-serif;
  font-weight: 700;
}
.workshop-detail-text .italic {
  font-family: "Inter:Medium Italic", sans-serif;
  font-style: italic;
  font-weight: 500;
}
.workshop-detail-text ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.workshop-entry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(46, 18, 80, 0.12);
}
.workshop-entry:last-child { border-bottom: none; padding-bottom: 0; }

.workshop-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.workshop-meta { display: flex; flex-direction: column; gap: 4px; }
.workshop-meta p { margin: 0; }

.workshop-tags {
  font-family: "Roboto Mono:Regular", monospace;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: var(--purple-dark);
  opacity: 0.7;
}

.workshop-section-label {
  font-family: "Inter:Bold", sans-serif;
  font-weight: 700;
  font-size: 23px;
  line-height: 32px;
  color: var(--purple-dark);
  margin-bottom: 4px;
}

.workshop-ul {
  list-style: disc;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: "Inter:Medium", sans-serif;
  font-weight: 500;
  font-size: 23px;
  line-height: 32px;
  color: var(--purple-dark);
  margin: 0;
}

.workshop-italic {
  font-family: "Inter:Medium Italic", sans-serif;
  font-style: italic;
  font-weight: 500;
  font-size: 23px;
  line-height: 32px;
  color: var(--purple-dark);
  margin: 0;
}

.workshop-placeholder {
  background: var(--gray-placeholder);
  min-height: 480px;
  align-self: stretch;
}

/* === Responsive === */
@media (max-width: 900px) {
  :root { --page-x: 32px; }

  .heading-xl { font-size: 48px; line-height: 52px; }
  .heading-l  { font-size: 36px; line-height: 44px; }
  .heading-m  { font-size: 32px; line-height: 38px; }
  .body-intro { font-size: 18px; line-height: 28px; }
  .btn-text   { font-size: 22px; }

  .primary-nav a { font-size: 15px; }
  .primary-nav   { gap: var(--space-2); }

  .featured {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .featured-media { min-height: 280px; }

  /* flip reversed rows back to natural order on mobile */
  .featured.reverse { direction: ltr; }
  .featured.reverse .featured-text { order: 1; }
  .featured.reverse .featured-media { order: 2; }
  
  .workshop-entry {
    grid-template-columns: 1fr;
    padding-bottom: 48px;
  }
  .workshop-placeholder { min-height: 240px; }
  .workshop-ul { font-size: 18px; }
  .workshop-section-label { font-size: 18px; }
  .workshop-italic { font-size: 18px; }
}

@media (max-width: 600px) {
  :root { --page-x: 16px; }

  .heading-xl { font-size: 36px; line-height: 42px; }
  .heading-l  { font-size: 28px; line-height: 36px; }
  .heading-m  { font-size: 26px; line-height: 32px; }
  .body-intro { font-size: 16px; line-height: 26px; }
  .btn-text   { font-size: 18px; }
  .btn-icon   { width: 24px; height: 24px; }

  .header-cta { display: none; }
  .content-section { padding-block: var(--space-4); }
  .content-section .container { gap: var(--space-4); }
  .workshops-band { padding-block: var(--space-4) var(--space-6); }
  .workshops-band .container { gap: var(--space-6); }
  .featured-media { min-height: 220px; }
  
  .workshop-entry { padding-bottom: 32px; }
  .workshop-placeholder { min-height: 180px; }
  .workshop-ul { font-size: 16px; }
  .workshop-section-label { font-size: 16px; }
  .workshop-italic { font-size: 16px; }
}
