/* ==========================================================================
   Homepage — gebaseerd op de huidige projectbang.agency.
   Work, Let's Create en Spotify blijven zoals live. Nieuw: header, hero (3 varianten), footer.
   Alleen Aeonik, zoals de huisstijl. #161616 / #F7F7F7.
   ========================================================================== */

body[data-page="homepage"] { --header-h: 84px; }
.u { text-transform: uppercase; }

/* ============================ HEADER ============================ */
.hdr { position: fixed; inset: 0 0 auto; z-index: 120; transition: transform .6s var(--ease); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__bar {
  height: var(--header-h); padding-inline: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  transition: height .4s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent;
}
.hdr::before { content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(22,22,22,.7), rgba(22,22,22,0)); transition: opacity .4s; }
.hdr.is-solid .hdr__bar { height: 64px; background: rgba(22,22,22,.86); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.hdr.is-solid::before { opacity: 0; }
.hdr__logo img { height: 30px; width: auto; transition: height .4s var(--ease); }
.hdr.is-solid .hdr__logo img { height: 24px; }
.hdr__nav { display: flex; gap: clamp(20px, 2.2vw, 36px); }
.hdr__nav a, .hdr__rise { position: relative; display: inline-block; overflow: hidden; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
/* tekst rolt omhoog bij hover */
.hdr__nav a span { display: block; transition: transform .45s var(--ease); }
.hdr__nav a span + span { position: absolute; left: 0; top: 100%; }
.hdr__nav a:hover span { transform: translateY(-100%); }
.hdr__nav a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.hdr__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hdr__rise { padding: 9px 14px; border: 1px solid var(--line-2); border-radius: 99px; transition: border-color .3s, background .3s, color .3s; }
.hdr__rise:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.hdr__cta { display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; height: 42px; border-radius: 99px; background: var(--fg); color: var(--bg); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .3s; }
.hdr__cta:hover { background: #fff; }
.hdr__cta-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd36b; box-shadow: 0 0 0 0 rgba(47,211,107,.5); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(47,211,107,0); } 100% { box-shadow: 0 0 0 0 rgba(47,211,107,0); } }
.hdr__menu { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hdr__menu-lines { display: grid; gap: 4px; width: 16px; }
.hdr__menu-lines i { height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.hdr__menu[aria-expanded="true"] .hdr__menu-lines i:first-child { transform: translateY(2.75px) rotate(45deg); }
.hdr__menu[aria-expanded="true"] .hdr__menu-lines i:last-child { transform: translateY(-2.75px) rotate(-45deg); }
@media (max-width: 1100px) {
  .hdr__bar { grid-template-columns: 1fr auto; }
  .hdr__nav, .hdr__rise { display: none; }
  .hdr__menu { display: inline-flex; }
}
@media (max-width: 480px) { .hdr__cta { display: none; } .hdr__logo img { height: 24px; } }

/* menu (mobiel/tablet) */
.menu2 { position: fixed; inset: 0; z-index: 110; background: var(--bg); padding: calc(var(--header-h) + 24px) var(--gutter) 32px; overflow-y: auto; }
.menu2[hidden] { display: none; }
.menu2__inner { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 40px; min-height: 100%; }
.menu2__nav { display: flex; flex-direction: column; }
.menu2__nav a { display: flex; align-items: baseline; gap: 14px; font-size: clamp(40px, 9vw, 88px); font-weight: 700; text-transform: uppercase; letter-spacing: -.03em; line-height: 1.02; }
.menu2__nav a span { font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--mute); }
.menu2__side { display: flex; flex-direction: column; gap: 10px; align-self: end; }
.menu2__big { font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; }
.menu2__social { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.menu-open .menu2 .menu2__nav a { animation: menuIn .7s var(--ease) both; }
.menu-open .menu2 .menu2__nav a:nth-child(2) { animation-delay: .04s; } .menu-open .menu2 .menu2__nav a:nth-child(3) { animation-delay: .08s; }
.menu-open .menu2 .menu2__nav a:nth-child(4) { animation-delay: .12s; } .menu-open .menu2 .menu2__nav a:nth-child(5) { animation-delay: .16s; } .menu-open .menu2 .menu2__nav a:nth-child(6) { animation-delay: .2s; }
@keyframes menuIn { from { opacity: 0; transform: translateY(30px); } }
@media (max-width: 760px) { .menu2__inner { grid-template-columns: 1fr; } }

/* ============================ HERO: glas ============================ */
.hero__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero__eyebrow span { font-weight: 400; color: rgba(247,247,247,.7); }
.hero__title { margin-top: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; font-size: clamp(40px, 6.6vw, 120px); max-width: 14ch; }
.hero__title em { font-style: normal; font-weight: 400; }
.hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-top: clamp(24px, 3vw, 40px); padding-top: 18px; border-top: 1px solid rgba(247,247,247,.22); }
.hero__tag { font-size: clamp(16px, 1.3vw, 20px); max-width: 34rem; color: rgba(247,247,247,.88); }
.hero__tag b { font-weight: 700; }
.hero__reel { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero__play { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(247,247,247,.5); transition: background .3s, border-color .3s, transform .5s var(--ease); }
.hero__play::before { content: ""; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.hero__reel:hover .hero__play { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: scale(1.08); }

.glass { position: relative; height: 320svh; }
.glass__pin { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; background: #070707; display: grid; grid-template-rows: 1fr auto; }
.glass__stage { position: absolute; inset: 0; }
.glass__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: opacity .6s; }
.glass__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s; }
.glass__stage::after { content: ""; position: absolute; inset: -50%; pointer-events: none; opacity: .06; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(5) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-4%,3%)} 50%{transform:translate(3%,-3%)} 75%{transform:translate(-2%,-4%)} 100%{transform:translate(0,0)} }
@media (prefers-reduced-motion: reduce) { .glass__stage::after { animation: none; } }
.glass-on .glass__gl { opacity: 1; }
.glass-on .glass__poster { opacity: 0; }
.glass__pin::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(11,11,11,.5) 0%, rgba(11,11,11,0) 18%, rgba(11,11,11,0) 70%, rgba(11,11,11,.75) 100%); }
.glass__copy { grid-row: 2; position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.4fr 1fr auto; gap: 24px; align-items: end; padding-bottom: clamp(24px, 4vh, 44px); opacity: var(--copy, 1); transform: translateY(calc((1 - var(--copy, 1)) * 24px)); }
.gc { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; }
.gc span { font-weight: 400; color: rgba(247,247,247,.62); }
.gc--title { font-size: 13px; }
.gc--what { color: rgba(247,247,247,.62); font-weight: 400; }
.gc--act { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.glass__hint { font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: rgba(247,247,247,.5); }
.hint-mob { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-mob { display: inline; } }
@media (max-width: 760px) {
  .glass__copy { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .gc--what { display: none; }
  .gc--act { grid-column: 2; grid-row: 1; }
  .gc--title { grid-column: 1 / -1; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .glass { height: auto; } .glass__pin { position: relative; } }

/* ============================ WORK (als live) ============================ */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: clamp(28px, 3vw, 48px); }
.sec-head h2 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cases-home { padding-top: clamp(96px, 9vw, 140px); }
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); }
.case-blok { display: block; margin-bottom: clamp(48px, 5.5vw, 102px); transition: transform .07s cubic-bezier(.17,.67,.83,.67); }
.case-blok:hover, .case-blok:focus-visible { transform: scale(1.01); }
.case-blok .media { aspect-ratio: 1; }
.case-data { padding-top: 1.15rem; }
.case-data h3 { font-size: 1.15rem; font-weight: 700; text-transform: uppercase; letter-spacing: -.02rem; line-height: 1.2; }
.case-data h3 span { display: block; font-weight: 400; font-size: .64em; letter-spacing: 0; margin-top: 4px; color: var(--mute); text-transform: none; }
@media (max-width: 860px) { .cases-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cases-grid { grid-template-columns: 1fr; } }

/* ============================ LET'S CREATE (als live) ============================ */
.create { padding-top: clamp(64px, 8vw, 132px); }
.create h2 { font-weight: 700; text-transform: uppercase; font-size: clamp(56px, 9vw, 150px); line-height: .86; letter-spacing: -.03em; }
.create__intro { font-size: 1.21rem; line-height: 1.51; max-width: 34rem; margin: 3.4rem 0 5.2rem auto; margin-right: max(0px, calc(50% - 34rem)); }
.create__steps { display: flex; flex-direction: column; gap: 2.8rem; }
.step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; }
.step h3 { font-size: 1.3rem; font-weight: 700; text-transform: uppercase; }
.step h4 { font-size: 1rem; font-weight: 400; text-transform: uppercase; margin-bottom: .82rem; }
.step p { font-size: 1.1rem; line-height: 1.51; margin-bottom: 1.6rem; max-width: 40rem; }
@media (max-width: 760px) { .step { grid-template-columns: 1fr; gap: 8px; } .create__intro { margin-left: 0; } }

/* ============================ SPOTIFY (als live) ============================ */
.spotify { padding-top: clamp(48px, 6vw, 96px); }
.spotify iframe { border: 0; border-radius: 12px; }

/* ============================ FOOTER ============================ */
.ftr { margin-top: clamp(96px, 10vw, 180px); padding: clamp(64px, 8vw, 128px) 0 24px; border-top: 1px solid var(--line); }
.ftr__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ftr__title { margin-top: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: -.04em; line-height: .9; font-size: clamp(40px, 7.2vw, 132px); max-width: 15ch; }
.ftr__actions { margin-top: clamp(40px, 5vw, 80px); border-top: 1px solid var(--line); }
.ftr__big { position: relative; display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 16px; padding: clamp(18px, 2vw, 28px) 0; border-bottom: 1px solid var(--line); font-size: clamp(22px, 3vw, 48px); font-weight: 500; letter-spacing: -.03em; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), padding .6s var(--ease); }
.ftr__big span { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); transition: color .45s; }
.ftr__big i { font-style: normal; transition: transform .6s var(--ease); }
.ftr__big::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--fg); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); }
.ftr__big:hover { color: var(--bg); padding-left: 16px; }
.ftr__big:hover span { color: #555; }
.ftr__big:hover i { transform: rotate(45deg); }
.ftr__big:hover::before { transform: scaleY(1); }
.ftr__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 6vw, 104px); }
.ftr__grid h3 { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.ftr__grid li + li { margin-top: 8px; }
.ftr__grid a { transition: opacity .2s; }
.ftr__grid a:hover { opacity: .6; }
.ftr__np a { display: flex; flex-direction: column; gap: 4px; font-size: 20px; font-weight: 500; }
.ftr__np small { font-size: 14px; color: var(--mute); font-weight: 400; }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; margin-bottom: 8px; }
.eq i { width: 3px; background: #2fd36b; animation: eq 1s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.4s; } .eq i:nth-child(3) { animation-delay: -.7s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 16px; } }
.ftr__brand { display: inline-flex; align-items: center; gap: 16px; }
.ftr__brand img { height: 22px; width: auto; }
.ftr__base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: clamp(56px, 6vw, 96px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.ftr__base a:hover { color: var(--fg); }
@media (max-width: 860px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__big { grid-template-columns: 1fr auto; } .ftr__big span { grid-column: 1 / -1; } }

/* ============================ REEL + DEMO ============================ */
.reel { position: fixed; inset: 0; z-index: 300; background: #000; display: grid; place-items: center; }
.reel[hidden] { display: none; }
.reel video { width: 100%; height: 100%; object-fit: contain; }
.reel__close { position: absolute; top: 20px; right: var(--gutter); }

@media (prefers-reduced-motion: reduce) { .hdr__cta-dot, .eq i { animation: none; } }
