/* DE AFTER · een onderdeel van F/LINE
   Van nacht naar ochtend. Eerst voor de telefoon. */
:root {
  --nacht: #0E0E0D;
  --blauwuur: #1A1930;
  --lila: #A396F8;
  --lila-diep: #5B4BD6;
  --dageraad: #F4B69C;
  --zon: #F2DC6A;
  --ochtend: #F0EFEA;
  --inkt: #111110;
  --hartslag: #FF4B2B;
  --zonsopgang: #F6D2BE;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --breed: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- kloppende stip (ook in het menu op elke pagina) ---------- */
.stip { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hartslag); margin-right: 8px; vertical-align: middle; position: relative; top: -1px; animation: hartslag 1.2s ease-in-out infinite; }
@keyframes hartslag { 0%, 100% { transform: scale(1); opacity: 1; } 15% { transform: scale(1.45); } 30% { transform: scale(1); } 45% { transform: scale(1.25); opacity: .85; } }

/* ---------- donkere header op DE AFTER ---------- */
body.after { background: var(--nacht); }
body.after .kop { background: rgba(14, 14, 13, .92); border-bottom: 1px solid rgba(240, 239, 234, .08); }
body.after .nav a:not(.knop) { color: var(--ochtend); }
body.after .nav a:not(.knop)::after { background: var(--lila); }
body.after .nav a[aria-current="page"], body.after .nav a:not(.knop):hover { color: var(--ochtend); }
body.after .nav .knop { background: var(--lila); color: var(--nacht); border-color: var(--lila); }
body.after .menuknop { background: var(--lila); color: var(--nacht); }
@media (max-width: 1180px) { body.after .nav { background: var(--nacht); } body.after .nav a:not(.knop) { color: var(--ochtend); } }

/* ---------- de wereld: nacht → ochtend ---------- */
.after-wereld { font-family: var(--breed); }
.after-s { position: relative; padding: 88px 0 180px; }
.after-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; }
/* elke sectie loopt onderaan over in de volgende: één doorlopende zonsopgang */
.s-nacht    { background: linear-gradient(to bottom, var(--nacht) calc(100% - 160px), var(--blauwuur) 100%); color: var(--ochtend); }
.s-blauw    { background: linear-gradient(to bottom, var(--blauwuur) calc(100% - 160px), var(--dageraad) 100%); color: var(--ochtend); }
.s-dageraad { background: linear-gradient(to bottom, var(--dageraad) calc(100% - 160px), var(--zonsopgang) 100%); color: var(--inkt); }
.s-zon      { background: linear-gradient(to bottom, var(--zonsopgang) calc(100% - 160px), var(--ochtend) 100%); color: var(--inkt); }
.s-ochtend  { background: var(--ochtend); color: var(--inkt); padding-bottom: 96px; }

/* ---------- typografie ---------- */
.tijd { display: flex; align-items: baseline; gap: 14px; margin: 0 0 28px; }
.tijd .uur { font-family: var(--breed); font-stretch: 62%; font-weight: 300; font-size: clamp(44px, 12vw, 88px); line-height: .9; letter-spacing: -0.01em; }
.tijd-label, .after-mono { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.s-nacht .tijd .uur, .s-blauw .tijd .uur { color: var(--lila); }
.s-dageraad .tijd .uur, .s-zon .tijd .uur, .s-ochtend .tijd .uur { color: var(--lila-diep); }
.after-mono { margin: 0 0 10px; opacity: .85; }
.after-merk { font-family: var(--breed); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(64px, 19vw, 210px); line-height: .85; letter-spacing: -0.02em; margin: 0 0 22px; color: var(--ochtend); }
.after-regel { font-family: var(--breed); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: clamp(18px, 4.4vw, 30px); letter-spacing: .01em; margin: 0 0 22px; color: var(--lila); }
.after-kop { font-family: var(--breed); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 8vw, 76px); line-height: .92; letter-spacing: -0.01em; margin: 0 0 22px; color: inherit; overflow-wrap: break-word; hyphens: auto; }
.after-tekst { font-size: 18px; line-height: 1.6; max-width: 36em; margin: 0 0 28px; }
.s-blauw .after-tekst, .s-nacht .after-tekst { color: rgba(240, 239, 234, .88); }

/* ---------- knoppen: lichten op als een zonsopgang ---------- */
.after-knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.after-knop { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 24px; border-radius: 99px; font-family: var(--breed); font-stretch: 110%; font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; background: var(--lila); color: var(--nacht); border: 1.5px solid var(--lila); transition: box-shadow .35s ease, background .35s ease, color .35s ease; }
.after-knop:hover, .after-knop:focus-visible { background: var(--dageraad); border-color: var(--dageraad); color: var(--inkt); box-shadow: 0 0 0 6px rgba(244, 182, 156, .28), 0 10px 34px -6px rgba(242, 220, 106, .55); }
.after-knop.rand { background: transparent; color: var(--ochtend); border-color: rgba(240, 239, 234, .55); }
.after-knop.rand:hover, .after-knop.rand:focus-visible { background: var(--dageraad); color: var(--inkt); border-color: var(--dageraad); }
.s-dageraad .after-knop, .s-zon .after-knop, .s-ochtend .after-knop { background: var(--inkt); color: var(--ochtend); border-color: var(--inkt); }
.s-dageraad .after-knop:hover, .s-zon .after-knop:hover, .s-ochtend .after-knop:hover { background: var(--lila-diep); border-color: var(--lila-diep); color: #fff; box-shadow: 0 0 0 6px rgba(91, 75, 214, .18), 0 10px 34px -6px rgba(244, 182, 156, .9); }
.after-knop.rand-donker { background: transparent !important; color: var(--inkt) !important; border-color: var(--inkt) !important; }
.after-knop.rand-donker:hover { background: var(--inkt) !important; color: var(--ochtend) !important; }

/* ---------- 03:00 pijlers ---------- */
.pijlers { display: grid; gap: 14px; margin-top: 10px; }
.pijler { border: 1px solid rgba(240, 239, 234, .16); border-radius: 18px; padding: 22px; background: rgba(240, 239, 234, .04); }
.pijler-nr { font-family: var(--mono); font-size: 12px; color: var(--lila); }
.pijler h3 { font-family: var(--breed); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 24px; margin: 8px 0 6px; color: var(--ochtend); }
.pijler p { margin: 0; color: rgba(240, 239, 234, .85); font-size: 16px; }

/* ---------- 06:00 BEING ALIVE ---------- */
.nieuw { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: var(--zon); color: var(--inkt); padding: 6px 12px; border-radius: 99px; margin: 0 0 16px; }
.reels { display: grid; grid-template-columns: minmax(0, 280px); gap: 14px; margin: 8px 0 28px; }
.reel { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--nacht); color: var(--ochtend); text-decoration: none; padding: 20px; }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.reel > span { position: relative; }
.rec { position: absolute !important; top: 16px; left: 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; display: inline-flex; align-items: center; }
.reel-hook { font-family: var(--breed); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: .95; margin-bottom: 10px; }
.reel-sub { font-family: var(--mono); font-size: 13px; color: var(--lila); }
.reel.leeg { background: linear-gradient(160deg, var(--blauwuur), var(--nacht)); border: 1px dashed rgba(163, 150, 248, .5); }
.reel:hover .reel-sub, .reel:focus-visible .reel-sub { text-decoration: underline; }

/* ---------- 09:00 events als ticket ---------- */
.tickets { display: grid; gap: 16px; }
.ticket { display: grid; grid-template-columns: 1fr 96px; border-radius: 18px; background: var(--ochtend); color: var(--inkt); box-shadow: 0 18px 40px -24px rgba(17, 17, 16, .45); overflow: hidden; }
.ticket-main { padding: 22px; min-width: 0; }
.ticket-label { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--lila-diep); }
.ticket-titel { font-family: var(--breed); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1; margin: 8px 0; }
.ticket-info { margin: 0 0 18px; font-size: 16px; }
.ticket-stub { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-left: 2px dashed rgba(17, 17, 16, .25); background: var(--zon); padding: 12px 6px; }
.ticket-stub::before, .ticket-stub::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--zonsopgang); }
.ticket-stub::before { top: -10px; } .ticket-stub::after { bottom: -10px; }
.stub-dag { font-family: var(--breed); font-stretch: 62%; font-weight: 400; font-size: 52px; line-height: .9; }
.stub-maand { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- 12:00 doe mee ---------- */
.after-form { background: #fff; border-radius: 22px; padding: 22px; max-width: 620px; margin-bottom: 40px; }
.after-form .form label { color: var(--inkt); }
.after-form .form input { background: var(--ochtend); }
.after-form .knop { background: var(--inkt); border-color: var(--inkt); color: var(--ochtend); border-radius: 99px; text-transform: uppercase; font-weight: 700; letter-spacing: .02em; }
.after-form .knop:hover { background: var(--lila-diep); border-color: var(--lila-diep); }
.after-form a { color: var(--lila-diep); }
.after-blokken { display: grid; gap: 16px; }
.after-blok { border: 1px solid rgba(17, 17, 16, .14); border-radius: 18px; padding: 22px; }
.after-blok h3 { font-family: var(--breed); font-stretch: 112%; font-weight: 800; font-size: 22px; line-height: 1.15; margin: 4px 0 8px; color: var(--inkt); }
.after-blok p { margin: 0 0 16px; }
.after-blok .after-mono { color: var(--lila-diep); opacity: 1; }

/* ---------- deur naar DE AFTER op de F/LINE-home ---------- */
.deur { padding: 0 clamp(8px, 1.4vw, 20px); }
.deur-link { display: block; text-decoration: none; color: var(--ochtend); border-radius: 32px; padding: clamp(40px, 8vw, 96px) clamp(22px, 6vw, 80px); background: linear-gradient(170deg, var(--nacht) 0%, var(--nacht) 45%, var(--blauwuur) 78%, #3a2a3e 100%); position: relative; overflow: hidden; transition: box-shadow .4s ease; }
.deur-link:hover, .deur-link:focus-visible { box-shadow: 0 20px 60px -20px rgba(244, 182, 156, .55); }
.deur-klein { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(240, 239, 234, .85); margin-bottom: 18px; }
.deur-merk { display: block; font-family: var(--breed); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 15vw, 170px); line-height: .85; margin-bottom: 18px; }
.deur-regel { display: block; font-family: var(--breed); font-stretch: 125%; font-weight: 700; text-transform: uppercase; color: var(--lila); font-size: clamp(16px, 3.6vw, 26px); margin-bottom: 18px; }
.deur-tekst { display: block; max-width: 34em; font-size: 17px; line-height: 1.6; color: rgba(240, 239, 234, .88); margin-bottom: 28px; }
.deur-knop { display: inline-flex; min-height: 48px; align-items: center; padding: 14px 24px; border-radius: 99px; background: var(--lila); color: var(--nacht); font-family: var(--breed); font-stretch: 110%; font-weight: 700; text-transform: uppercase; font-size: 15px; transition: background .35s ease, box-shadow .35s ease; }
.deur-link:hover .deur-knop { background: var(--dageraad); box-shadow: 0 0 0 6px rgba(244, 182, 156, .28); }

/* ---------- groter scherm ---------- */
@media (min-width: 760px) {
  .after-s { padding: 120px 0 220px; }
  .after-wrap { padding: 0 40px; }
  .pijlers { grid-template-columns: repeat(3, 1fr); }
  .reels { grid-template-columns: repeat(3, minmax(0, 260px)); }
  .tickets { grid-template-columns: repeat(2, 1fr); }
  .after-blokken { grid-template-columns: 1fr 1fr; }
  .after-tekst { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .stip { animation: none; }
  .after-knop, .deur-link, .deur-knop { transition: none; }
}

/* ===== secuur nagelopen ===== */
@media (max-width: 1180px) { body.after .kop { background: var(--nacht); } }
body.after :focus-visible { outline-color: var(--lila); }
.deur-link:focus-visible { outline: 3px solid var(--lila-diep); outline-offset: 4px; }
.deur-merk { margin-top: 0; color: inherit; }
