/* =========================================================
   TechCampus Amsterdam — pixel-perfect replica van PDF-mockup
   Bricolage Grotesque (display) + Manrope (body)
   ========================================================= */

:root {
  --brand-blue:    #2356f5;
  --brand-blue-dk: #1a44d1;
  --brand-orange:  #f26a30;

  --accent-pink:   #e40a7a;
  --accent-yellow: #fdcc03;
  --accent-teal:   #41c1cc;
  --accent-green:  #2ea555;

  --ink:        #0d0d10;
  --ink-soft:   #2b2b30;
  --muted:      #6b6f76;
  --line:       #e6e8ec;
  --bg:         #ffffff;
  --bg-soft:    #f3f4f6;
  --bg-darkr:   #ededf2;
  --black:      #000000;

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body:    "Manrope", system-ui, sans-serif;

  --max:        1200px;
  --gutter:     clamp(20px, 4vw, 56px);
  --radius:     22px;
  --radius-sm:  12px;
  --shadow-sm:  0 1px 2px rgba(13,13,16,.06), 0 4px 12px rgba(13,13,16,.04);
  --shadow-md:  0 6px 18px rgba(13,13,16,.08), 0 18px 40px rgba(13,13,16,.06);
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin: 0 0 .4em;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.18rem; line-height: 1.25; letter-spacing: -.01em; }

.container {
  width: 100%;
  max-width: var(--max);
  padding-inline: var(--gutter);
  margin-inline: auto;
}

/* ========== Buttons / utility ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .7em 1.15em;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  white-space: nowrap;
  transition: background .2s;
}
.btn--primary { background: var(--brand-blue); color: #fff; }
.btn--primary:hover { background: var(--brand-blue-dk); }

/* Eyebrow / sectiebadge — pill-stijl zoals "Programma's" maar dan
   met een grijze achtergrond op witte secties. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: .4em 1.1em;
  background: #ebedf0;
  color: #51555a;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1em;
}
.eyebrow--invert { background: rgba(255,255,255,.16); color: #fff; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: .35em 1.1em;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  font-weight: 600;
  font-size: .72rem;
  letter-spacing: .05em;
  box-shadow: var(--shadow-sm);
}

/* ========== HERO ==========
   Structuur:
    .hero
      .hero__topbar       smalle zwarte balk bovenaan
        .hero__logo       zit grotendeels OP de balk, 20% overlap met foto
      .hero__inner        donkere foto met scoop-curve onderaan
      .hero__arc          teal halve-cirkel half over de curve
*/
.hero {
  position: relative;
  isolation: isolate;
  background: var(--black);
}

/* Smalle zwarte balk bovenaan — minder opvallend doordat de
   foto-overlay erná óók donker is */
.hero__topbar {
  position: relative;
  background: var(--black);
  height: 70px;
  z-index: 4;
}

/* Logo — paar pixels overlap met de balk; rest hangt in de foto */
.hero__logo {
  position: absolute;
  bottom: -76px;         /* logo-hoogte ~81px - 5px overlap = -76 */
  left: var(--gutter);
  z-index: 6;
  display: inline-block;
}
.hero__logo img {
  width: 260px;          /* 1.3× vorige 200 */
  height: auto;
  display: block;
}

/* Donkere foto-blok — geen border-radius meer, foto loopt full bleed */
.hero__inner {
  position: relative;
  color: #fff;
  overflow: hidden;
  min-height: 720px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
/* Donkere overlay — bovenkant bijna zwart zodat de balk wegvalt */
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(0,0,0,.95) 0%,
      rgba(0,0,0,.78) 14%,
      rgba(0,0,0,.55) 45%,
      rgba(0,0,0,.45) 100%);
}

/* Witte vorm rechtsonder OVER de hero — creëert de curve aan de
   onderkant van de hero (zoals de PDF). Top-left elliptische curve. */
.hero__cutout {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 400px;
  height: 60px;
  background: #fff;
  border-top-left-radius: 40px;
  z-index: 5;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 180px var(--gutter) 150px;
  max-width: var(--max);
  margin: 0 auto;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  margin: 0 0 .55em;
}
.hero p {
  font-size: clamp(.92rem, 1.05vw, 1.05rem);
  color: rgba(255,255,255,.92);
  max-width: 460px;
  margin: 0;
  line-height: 1.55;
}

/* Hero shapes — posities afgeleid van de PDF.
   Alle shapes liggen in de bovenste helft, zodat ze NIET door de
   headline lopen. */
.hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.shape { position: absolute; }
.shape--triangle       { top:  8%;  left: 44%; width: clamp(85px,  8.5vw, 115px); transform: rotate(-12deg); }
.shape--ellipse-yellow { top: 14%;  right: -100px; width: clamp(180px, 18vw, 240px); }
.shape--hexagon-green  { top: 42%;  right: 18%;   width: clamp(80px,  8vw,  105px); }

/* Teal arc bottom-left, paar px over de hero/wit-grens */
.hero__arc {
  position: absolute;
  bottom: -45px;
  left: 9%;
  width: clamp(110px, 11vw, 170px);
  z-index: 6;
  transform: rotate(-25deg);
}

/* ========== ABOUT (Over Ons) ========== */
.about {
  padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 8vw, 110px);
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__image {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}
.about__image img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 {
  color: var(--ink);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.about__text p {
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
  font-size: 1rem;
}

/* ========== Section head (programs / linkedin) ========== */
.section-head {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-head__decor {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 18px;
}
.section-head__decor img {
  width: 170px;        /* groter zoals PDF */
  height: auto;
}
.section-head__decor .pill {
  position: absolute;
  bottom: 22px;        /* steekt klein stukje IN de driehoek */
}
.section-head h2 {
  color: var(--ink);
  font-size: clamp(1.9rem, 4vw, 3rem);
}
.section-head__sub {
  color: var(--muted);
  font-size: .8rem;
  margin: 8px 0 0;
}

/* ========== PROGRAMS ==========
   Grijze BALK met heading/tabs, daaronder witte achtergrond
   met de kaartenraster.
*/
.programs {
  position: relative;
  background: #fff;
}
/* Grijze balk: 40px boven de pink shape en 40px onder de heading */
.programs__head {
  background: #ebedf0;
  padding: 40px 0 40px;
}
.programs__head .section-head {
  margin-bottom: 0;     /* geen extra ruimte na heading */
}
.programs__time {
  text-align: right;
  font-size: .82rem;
  color: #51555a;
  margin: 22px 0 14px;
}
.programs__body {
  padding: 0 var(--gutter) clamp(80px, 10vw, 140px);
}
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  border-bottom: 1px solid var(--line);
  margin: 0 0 36px;
}
.tab {
  padding: 14px 22px;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.card__media {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-darkr);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--icon {
  display: grid;
  place-items: center;
  background: var(--bg-darkr);
}
.card__media--icon svg { width: 64px; height: 64px; }

.card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.card h3 {
  font-size: 1rem;
  line-height: 1.25;
  margin: 0 0 4px;
  color: var(--brand-blue);
  font-family: var(--font-display);
}
.card__sub {
  display: inline;
  font-weight: 600;
  font-size: .9em;
  color: var(--brand-blue);
  letter-spacing: 0;
}
.card__desc {
  margin: 0;
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.card__link {
  color: var(--brand-blue);
  font-weight: 600;
  font-size: .82rem;
}
.card__link:hover { text-decoration: underline; }
.card__duration {
  margin: 4px 0 0;
  font-size: .82rem;
  color: var(--ink-soft);
  font-weight: 500;
}
.card__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  gap: 10px;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px 4px 6px;
  gap: 8px;
  background: #fff;
  font-size: .82rem;
  color: var(--ink-soft);
}
.stepper__icon {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-soft);
}
.stepper__val { font-weight: 600; }

/* Pink triangle die in PDF tussen secties zweeft (bottom van programs) */
.programs__triangle-bottom {
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%) rotate(180deg);
  width: 80px;
  z-index: 2;
  display: none; /* in PDF zit hij eigenlijk in de section-head van LinkedIn -> verberg hier */
}

/* ========== LINKEDIN SECTION ==========
   Grijze achtergrond start ~1/4 vanaf de bovenkant van de pink shape.
   Pink shape begint op padding-top (≈110px); 1/4 van 170px hoogte = ~42px,
   dus grijs start op ≈152px. */
.linkedin {
  padding: clamp(80px, 10vw, 130px) 0 clamp(70px, 9vw, 120px);
  background: linear-gradient(to bottom, #fff 0, #fff 172px, #ebedf0 172px, #ebedf0 100%);
}

/* Booking-iframe slot — geen extra styling, fungeert als placeholder
   voor de iframe code uit het bookingsysteem. */
.booking-iframe { /* leeg met opzet */ }
.curator-head {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  margin: 0 auto 28px;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
/* Center the curator head as a flex row in the page */
.linkedin .curator-head {
  display: flex;
  justify-content: center;
}
.curator-head__avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 3px;
}
.curator-head__info { display: flex; flex-direction: column; line-height: 1.1; }
.curator-head__info strong { font-size: .9rem; }
.curator-head__info span { font-size: .75rem; color: var(--muted); }
.curator-head__follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1f8f4d;
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  padding: 6px 12px;
  border-radius: 4px;
}

.li-feed {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.li-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .82rem;
}
.li-card__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-darkr);
}
.li-card__media img { width: 100%; height: 100%; object-fit: cover; }
.li-card__body {
  font-size: .78rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.4;
}
.li-card__more {
  color: var(--ink);
  font-weight: 600;
  font-size: .78rem;
}
.li-card__more:hover { text-decoration: underline; }
.li-card__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: auto;
}
.li-card__date {
  font-size: .72rem;
  color: var(--muted);
}
.li-card__react {
  display: flex;
  justify-content: space-between;
  font-size: .75rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 8px;
}
.li-icon {
  display: inline-grid;
  place-items: center;
  width: 18px; height: 18px;
  background: #0a66c2;
  color: #fff;
  border-radius: 3px;
  font-size: .65rem;
  font-weight: 800;
  font-family: Arial, sans-serif;
}

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  background: var(--black);
  color: #fff;
  padding: 90px var(--gutter) 50px;
  overflow: hidden;
  text-align: center;
}
.site-footer__decor {
  position: absolute;
  top: 0; right: 0;
  width: clamp(180px, 24vw, 320px);
  pointer-events: none;
}
.site-footer__decor svg { width: 100%; height: auto; display: block; }
.site-footer__inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.site-footer__logo {
  width: 280px;
  margin-bottom: 22px;
}
.site-footer h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #fff;
}
.site-footer p {
  margin: 0;
  font-size: .98rem;
  color: rgba(255,255,255,.92);
  line-height: 1.55;
}
.site-footer a {
  color: var(--brand-blue);
}
.site-footer a:hover { text-decoration: underline; }
.socials {
  display: flex;
  gap: 14px;
  margin: 12px 0 6px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  color: #fff;
  border-radius: 8px;
  transition: background .2s;
}
.socials a:hover { background: rgba(255,255,255,.1); }
.site-footer__address {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: 14px;
}

/* ========== Responsive ========== */
@media (max-width: 960px) {
  .about__inner { grid-template-columns: 1fr; }
  .about__image { aspect-ratio: 5/3; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .li-feed { grid-template-columns: repeat(2, 1fr); }
  .hero__cutout{display: none;}
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .li-feed { grid-template-columns: 1fr; }
  .hero__inner { border-radius: 0 0 30px 30px; }
  .shape--hexagon-green { display: none; }
  .tabs { gap: 0; }
  .tab { padding: 12px 14px; font-size: .68rem; }
}

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