/* Tajmeel Lab · concept "Twee schriften, één naam"
   Opbouw naar Mosaic Rooms: gestapelde woordmerken, smalle kolommen rond één groot beeld,
   vaste ronde knoppen, collage op wisselende hoogte. Nederlands en Arabisch gelijkwaardig. */
:root {
  --poeder: #EFE9EC;
  --inkt: #3E2147;
  --bordeaux: #701B27;
  --stuc: #6C8A96;
  --lavendel: #C7B6CB;
  --goud: #AF913A;
  --display: "Markazi Text", Georgia, serif;
  --body: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--poeder); color: var(--inkt); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 3px; }
[lang="ar"] { font-family: var(--body); }
.ar-kop { font-family: var(--display); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header: twee gestapelde woordmerken, gespiegeld ---------- */
.kop { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: 22px 28px 0; }
.stapel { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: .86; text-decoration: none; }
.stapel span { display: block; }
.stapel--ar { justify-self: end; text-align: right; font-size: 44px; line-height: 1.02; }
.kop__j { width: 44px; height: auto; }
.kop__rechts { display: flex; gap: 14px; align-items: start; justify-self: end; }
.rond { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: var(--inkt); display: grid; place-items: center; font: 500 15px/1 var(--body); cursor: pointer; }
.rond:hover { background: var(--inkt); color: var(--poeder); }
.rond svg { width: 18px; height: 18px; }
.menu { position: fixed; inset: 0; z-index: 40; background: var(--inkt); color: var(--poeder); display: none; padding: 90px 28px 40px; }
.menu.open { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-content: start; }
.menu a { display: block; font-family: var(--display); font-size: clamp(32px, 5vw, 56px); line-height: 1.15; text-decoration: none; }
.menu a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.menu [lang="ar"] { text-align: right; }
.menu .rond { position: absolute; top: 22px; right: 28px; color: var(--poeder); }
[dir="rtl"] .menu .rond { right: auto; left: 28px; }

/* ---------- hero: smalle kolommen rond twee helften ---------- */
.hero { display: grid; grid-template-columns: minmax(170px, 15%) 1fr minmax(170px, 15%); gap: 22px; padding: 34px 28px 0; }
.kolom { font-size: 15px; line-height: 1.5; padding-top: 6px; }
.kolom h2 { font-family: var(--display); font-weight: 700; font-size: 20px; margin: 0 0 16px; }
.kolom p { margin: 0 0 14px; }
.kolom .groot { font-family: var(--display); font-size: 27px; line-height: 1.05; margin-bottom: 18px; }
.kolom--ar { text-align: right; font-size: 16px; line-height: 1.8; }
.kolom--ar .groot { line-height: 1.3; }
.helften { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.helften figure { margin: 0; position: relative; }
.helften video { width: 100%; aspect-ratio: 1.12; object-fit: cover; object-position: 50% 40%; }
.helften figcaption { position: absolute; bottom: 12px; left: 14px; font-size: 13px; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.helften figure:last-child figcaption { left: auto; right: 14px; }

/* ---------- het woordmerk dat zich van twee kanten opschrijft ---------- */
.naam { display: flex; align-items: center; justify-content: center; gap: clamp(10px, 2vw, 28px); padding: 10px 28px 0; direction: ltr; }
.naam__lat, .naam__ar { font-family: var(--display); font-weight: 600; font-size: clamp(64px, 11vw, 176px); line-height: 1; white-space: nowrap; }
.naam__ar { line-height: 1.2; }
.naam__j { width: clamp(46px, 5.6vw, 84px); height: auto; }
.naam__sub { text-align: center; margin: 0; padding: 0 20px 70px; font-size: 18px; }
.naam__sub span { display: inline-block; }
.schrijf-lr { clip-path: inset(0 100% 0 0); animation: lr 1.5s .3s var(--ease) forwards; }
.schrijf-rl { clip-path: inset(0 0 0 100%); animation: rl 1.5s .3s var(--ease) forwards; }
.groei { opacity: 0; transform: scale(.6); transform-origin: 50% 70%; animation: groei .8s 1.6s var(--ease) forwards; }
.letter { opacity: 0; animation: letter .5s var(--ease) forwards; animation-delay: calc(2s + var(--i) * 45ms); }
@keyframes lr { to { clip-path: inset(0 0 0 0); } }
@keyframes rl { to { clip-path: inset(0 0 0 0); } }
@keyframes groei { to { opacity: 1; transform: none; } }
@keyframes letter { to { opacity: 1; } }

/* ---------- vaste ronde knoppen (Mosaic "DONATE"), NL links en AR rechts ---------- */
.vast { position: fixed; bottom: 22px; z-index: 30; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 1.5px solid var(--inkt); background: var(--poeder); color: var(--inkt); text-decoration: none; font-weight: 500; font-size: 15px; line-height: 1.2; transition: background .3s var(--ease), color .3s var(--ease); }
.vast:hover { background: var(--bordeaux); border-color: var(--bordeaux); color: var(--poeder); }
.vast--nl { left: 22px; } .vast--ar { right: 22px; font-size: 18px; }

/* ---------- gedeelde sectie-opbouw ---------- */
.sectie { padding: 90px 28px; max-width: 1360px; margin: 0 auto; }
.tweetalig { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 34px; }
.tweetalig h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 4.6vw, 64px); line-height: 1; margin: 0; }
.tweetalig [lang="ar"] { text-align: right; }
.tweetalig h2[lang="ar"] { line-height: 1.25; }
.noot { font-size: 13px; border: 1px dashed currentColor; padding: 3px 9px; display: inline-block; opacity: .8; }

/* ---------- filter: wat is je vraag? ---------- */
.vragen { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.vraag { font: inherit; font-size: 16px; cursor: pointer; padding: 12px 18px; border: 1.5px solid var(--inkt); background: transparent; color: var(--inkt); border-radius: 6px; display: inline-flex; gap: 12px; align-items: baseline; }
.vraag span[lang="ar"] { font-size: 17px; }
.vraag[aria-pressed="true"] { background: var(--inkt); color: var(--poeder); }
.vraag:hover { border-color: var(--bordeaux); }
.antwoord { display: grid; grid-template-columns: 1fr; border-top: 1.5px solid var(--inkt); }
.rij { display: grid; grid-template-columns: 1.3fr 1.3fr .5fr .5fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(62, 33, 71, .22); align-items: baseline; }
.rij [lang="ar"] { text-align: right; font-size: 17px; }
.rij .prijs { text-align: right; font-family: var(--display); font-size: 26px; line-height: 1; }
.rij .duur { font-size: 14px; opacity: .75; text-align: right; }
.rij[hidden] { display: none; }
.antwoord__uitleg { margin: 18px 0 0; font-size: 15px; }

/* ---------- collage (Mosaic-programmarij) ---------- */
.collage { display: grid; grid-template-columns: 1.1fr .9fr 1fr .8fr 1fr; gap: 20px; align-items: start; }
.kaart { margin: 0; }
.kaart__vlak { aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; text-align: center; padding: 18px; }
.kaart__vlak img { width: 100%; height: 100%; object-fit: cover; }
.kaart:nth-child(1) .kaart__vlak { padding: 0; background: var(--stuc); aspect-ratio: 3 / 4; }
.kaart:nth-child(2) { margin-top: 70px; } .kaart:nth-child(2) .kaart__vlak { background: var(--lavendel); aspect-ratio: 1; }
.kaart:nth-child(3) { margin-top: 20px; } .kaart:nth-child(3) .kaart__vlak { padding: 0; background: var(--bordeaux); aspect-ratio: 4 / 5; }
.kaart:nth-child(4) { margin-top: 120px; } .kaart:nth-child(4) .kaart__vlak { background: var(--bordeaux); color: var(--poeder); aspect-ratio: 3 / 4; }
.kaart:nth-child(5) { margin-top: 40px; } .kaart:nth-child(5) .kaart__vlak { padding: 0; aspect-ratio: 5 / 6; }
.kaart figcaption { padding-top: 12px; font-size: 15px; line-height: 1.45; }
.kaart figcaption b { display: block; font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1.1; }
.kaart figcaption [lang="ar"] { display: block; text-align: right; }
.kaart__vlak .groot { font-family: var(--display); font-size: 34px; line-height: 1.05; }
.ai-vlak { width: 100%; height: 100%; display: grid; place-items: center; border: 2px dashed var(--inkt); padding: 16px; font-size: 14px; text-align: center; }
.ai-vlak strong { display: block; font-family: var(--display); font-size: 22px; }

/* ---------- stemmen: NL van links, AR van rechts ---------- */
.stemmen { display: grid; gap: 50px; }
.stem { max-width: 720px; margin: 0; }
.stem p { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1.2; margin: 0 0 10px; }
.stem--ar { justify-self: end; text-align: right; }
.stem--ar p { line-height: 1.55; }
.stem .vert { font-family: var(--body); font-size: 15px; line-height: 1.5; opacity: .85; }
.stem footer { font-size: 14px; }

/* ---------- de naam ---------- */
.betekenis { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; background: var(--inkt); color: var(--poeder); padding: 70px 44px; }
.betekenis .ar-groot { font-family: var(--display); font-size: clamp(90px, 13vw, 190px); line-height: 1; text-align: center; color: var(--lavendel); }
.betekenis p { margin: 0; font-size: 18px; }
.betekenis [lang="ar"] { text-align: right; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact [lang="ar"] { text-align: right; }
.contact h3 { font-family: var(--display); font-size: 30px; font-weight: 600; margin: 0 0 10px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.knop { display: inline-block; padding: 13px 20px; border-radius: 6px; background: var(--bordeaux); color: var(--poeder); text-decoration: none; font-weight: 500; }
.knop--lijn { background: transparent; color: var(--inkt); box-shadow: inset 0 0 0 1.5px var(--inkt); }
.knop:hover { filter: brightness(1.12); }
.voet { padding: 40px 28px 150px; font-size: 14px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ---------- gespiegelde pagina (Arabisch eerst) ---------- */
[dir="rtl"] .stapel--ar { justify-self: start; }
[dir="rtl"] .kolom--nl { text-align: left; }
[dir="rtl"] .vast--nl { left: auto; right: 22px; } [dir="rtl"] .vast--ar { right: auto; left: 22px; }
[dir="rtl"] .stem--ar { justify-self: start; }
[dir="rtl"] .stem--nl { justify-self: end; text-align: left; }

/* ---------- responsief ---------- */
@media (max-width: 980px) {
  .kop { padding: 16px 16px 0; }
  .stapel { font-size: 30px; } .stapel--ar { font-size: 32px; }
  .kop__rechts .stapel--ar { display: none; }
  .hero { grid-template-columns: 1fr 1fr; padding: 24px 16px 0; }
  .helften { grid-column: 1 / -1; order: -1; }
  .kolom .groot { font-size: 23px; }
  .sectie { padding: 70px 16px; }
  .tweetalig { grid-template-columns: 1fr; gap: 10px; }
  .rij { grid-template-columns: 1fr auto; }
  .rij [lang="ar"] { grid-column: 1; text-align: left; }
  .rij .duur { grid-column: 2; grid-row: 1; }
  .rij .prijs { grid-column: 2; grid-row: 2; }
  .collage { grid-template-columns: 1fr 1fr; }
  .kaart { margin-top: 0 !important; }
  .kaart:nth-child(even) { margin-top: 40px !important; }
  .betekenis, .contact { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .vast { width: 84px; height: 84px; font-size: 13px; bottom: 14px; }
  .vast--nl { left: 14px; } .vast--ar { right: 14px; font-size: 16px; }
  .menu.open { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .schrijf-lr, .schrijf-rl, .groei, .letter { animation: none; clip-path: none; opacity: 1; transform: none; }
}

/* ---------- vrije kolommen voor de twee vaste boekknoppen, zodat ze geen koppen of tekst afdekken ---------- */
@media (min-width: 981px) {
  .sectie { padding-left: 150px; padding-right: 150px; }
  .voet { padding-left: 150px; padding-right: 150px; }
}
@media (max-width: 980px) {
  .vast { width: 68px; height: 68px; font-size: 11.5px; line-height: 1.15; bottom: 12px; }
  .vast--ar { font-size: 14px; }
  .sectie { padding-bottom: 96px; }
  .voet { padding-bottom: 110px; }
}
