/* ============================================================
   Shapes in Space — huisstijl (licht, trouw aan het origineel)
   Sky-blue basis + donkere sterrenhemel-hero, speels en kleurrijk.
   ============================================================ */

:root {
  --sky:       #86b7cc;   /* basis-achtergrond, zoals het origineel */
  --sky-light: #a7d0e1;
  --sky-deep:  #6ba0b8;
  --paper:     #ffffff;
  --space:     #0d1a2b;   /* donkere sterrenhemel (hero, philosophy) */
  --space-2:   #16293d;
  --ink:       #11293c;   /* donkere tekst op licht */
  --ink-soft:  #3b596e;
  --line-soft: rgba(17,41,60,.14);
  --magenta:   #ff3d9a;
  --green:     #34d97b;
  --cyan:      #1f93d8;
  --violet:    #7c5cff;
  --yellow:    #eaff2e;   /* acid/neon geel — 90s rave */
  --grad-rave: linear-gradient(120deg, #ff3d9a, #eaff2e 52%, #34d97b);
  --grad-bar:  linear-gradient(90deg, #ff3d9a, #eaff2e 50%, #34d97b);
  --maxw:      1120px;
  --radius:    18px;
  --shadow:    0 16px 40px rgba(13,26,43,.20);
  --font-display: "Audiowide", "Space Grotesk", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--sky);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--magenta); }

h1, h2, h3 { line-height: 1.12; font-weight: 700; margin: 0 0 12px; }
h1, h2 { letter-spacing: .005em; }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--space); color: #eaf3f8; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.eyebrow {
  font-family: var(--font-display);
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--yellow); text-shadow: 0 0 16px rgba(234,255,46,.45); }
.lead { font-size: 1.18rem; color: var(--ink); max-width: 48ch; }
.section--dark .lead { color: #dcebf2; }
.muted { color: var(--ink-soft); }
.section--dark .muted { color: #b9d0dd; }

/* gradient hairline divider */
.divider { height: 3px; border: 0; margin: 0; background: var(--grad-bar); }

/* acid-yellow accent badge (e.g. "New") */
.badge { display: inline-block; font-family: var(--font-display); font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: var(--yellow); color: #0d1a2b; box-shadow: 0 0 18px rgba(234,255,46,.5); }

/* starry overlay for dark sections */
.starfield::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(2px 2px at 20% 30%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 70% 20%, #cfe8ff, transparent),
    radial-gradient(1.5px 1.5px at 40% 70%, #fff, transparent),
    radial-gradient(2px 2px at 85% 60%, #bfe0ff, transparent),
    radial-gradient(1px 1px at 55% 45%, #fff, transparent),
    radial-gradient(1px 1px at 10% 80%, #fff, transparent);
}
.section--dark .wrap { position: relative; z-index: 1; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(134,183,204,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sky-deep);
}
.nav { display: flex; align-items: center; gap: 18px; max-width: var(--maxw); margin: 0 auto; padding: 12px 22px; }
.brand { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .04em; color: var(--ink); white-space: nowrap; margin-right: auto; }
.brand:hover { color: var(--ink); }
.nav-links { display: flex; gap: 2px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--ink); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  font-family: var(--font-display); padding: 8px 13px; border-radius: 999px;
}
.nav-links a:hover { background: rgba(255,255,255,.35); }
.nav-links a[aria-current="page"] { background: var(--space); color: #fff; }
.nav-toggle { display: none; background: rgba(255,255,255,.3); border: 1px solid var(--sky-deep); color: var(--ink); border-radius: 10px; padding: 8px 11px; cursor: pointer; font-size: 1.1rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 78vh; display: grid; place-items: center; text-align: center;
  overflow: hidden; padding: 90px 22px; color: #fff; background: var(--space);
}
.hero video, .hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(120% 90% at 50% 35%, rgba(13,26,43,.30), rgba(13,26,43,.72)); }
.hero > * { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 8.5vw, 6rem); margin: 0; color: #fff; letter-spacing: .02em;
  text-shadow: 0 0 30px rgba(120,200,255,.55), 0 2px 10px rgba(0,0,0,.4);
}
.hero .tagline {
  display: inline-block; margin-top: 22px; padding: 9px 22px; border-radius: 999px;
  background: rgba(167,208,225,.85); color: var(--ink);
  font-family: var(--font-display); letter-spacing: .12em; text-transform: uppercase;
  font-size: clamp(.62rem, 2.2vw, .82rem);
}
.hero .sub { max-width: 56ch; margin: 22px auto 0; color: #eaf3f8; font-size: 1.08rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-display);
  letter-spacing: .04em; text-transform: uppercase; font-size: .78rem;
  padding: 13px 26px; border-radius: 999px; cursor: pointer; border: 0;
  background: var(--space); color: #fff; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 26px rgba(13,26,43,.35); background: #16293d; }
.btn--grad { background: var(--grad-rave); color: #0a0813; }
.btn--grad:hover { color: #0a0813; box-shadow: 0 12px 30px rgba(255,61,154,.4); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--space); }
.section--dark .btn--ghost { color: #fff; border-color: #fff; }
.btn--ghost:hover { background: var(--space); color: #fff; box-shadow: none; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--space); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero .cta-row { justify-content: center; }

/* ---------- feature rows ---------- */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.row + .row { margin-top: 76px; }
.row--flip .row-media { order: 2; }
.row-media img, .row-media video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.row-media video.portrait, .row-media img.portrait { width: auto; max-width: 100%; max-height: 560px; margin: 0 auto; background: #000; }

/* audio embeds (Mixcloud / SoundCloud) */
.audio-grid { display: grid; gap: 22px; }
.audio-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--space-2); }
.audio-embed iframe { display: block; width: 100%; border: 0; }
.row h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
.row .eyebrow { color: var(--magenta); }

/* ---------- project cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 360px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow); background: var(--space);
  transition: transform .2s ease; }
.card:hover { transform: translateY(-4px); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover img { transform: scale(1.05); }
.card-body { position: relative; padding: 26px; z-index: 1; color: #fff; }
.card-body::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent, rgba(8,14,24,.9)); }
.card h3 { font-size: 1.5rem; color: #fff; }
.card p { margin: 0; color: #dcebf2; }
.card--rave .card-body::before { background: linear-gradient(180deg, rgba(255,61,154,.05), rgba(124,92,255,.55) 60%, rgba(52,217,123,.65)); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { border-radius: 12px; aspect-ratio: 1/1; object-fit: cover; box-shadow: var(--shadow); transition: transform .25s; }
.gallery img:hover { transform: scale(1.03); }

/* ---------- tags ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li { font-family: var(--font-display); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 9px 16px; border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.section--dark .tags li { background: rgba(255,255,255,.12); color: #fff; box-shadow: none; transition: background .15s, color .15s; }
.tags li:hover { background: var(--yellow); color: #0d1a2b; box-shadow: 0 0 18px rgba(234,255,46,.45); }
.tags li:hover a { color: #0d1a2b; }

/* ---------- video embeds ---------- */
.embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.embed-grid figcaption { margin-top: 12px; font-family: var(--font-display); letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.section--dark .embed-grid figcaption { color: #cfe3ec; }

/* ---------- contact form ---------- */
.form { display: grid; gap: 16px; max-width: 540px; }
.form input, .form textarea {
  width: 100%; padding: 14px 16px; background: var(--paper);
  border: 1px solid var(--line-soft); border-radius: 12px; color: var(--ink);
  font-family: var(--font-body); font-size: 1rem;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(255,61,154,.18); }
.form textarea { min-height: 150px; resize: vertical; }
.form label { font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); font-family: var(--font-display); display: grid; gap: 7px; }
.hp { position: absolute; left: -9999px; }

/* ---------- footer ---------- */
.site-footer { background: var(--space); color: #cfe3ec; padding: 50px 0 38px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-grid .brand { color: #fff; }
.socials { display: flex; gap: 14px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; }
.socials a:hover { border-color: var(--magenta); background: rgba(255,255,255,.08); }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
.copyright { color: #9fbccb; font-size: .85rem; margin: 8px 0 0; }

/* contact strip */
.contact-strip { text-align: center; }
.contact-strip h2 { font-size: clamp(1.8rem, 5vw, 2.9rem); }

/* "Shapes in Space" wordmark-regel na "Let's make some..." (was een image op de oude site) */
.h-wordmark {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .04em;
  margin-top: 6px;
  padding-bottom: 8px;
  background-image: var(--grad-bar);
  background-size: 100% 4px;
  background-position: bottom;
  background-repeat: no-repeat;
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 22px 20px;
    background: var(--sky); border-bottom: 1px solid var(--sky-deep); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-toggle { display: block; }
  .row, .cards, .embed-grid { grid-template-columns: 1fr; }
  .row--flip .row-media { order: 0; }
  .row + .row { margin-top: 48px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
