/* Lexis — lexis.earth
   Dezelfde taal als de app: wit, zwart, één grijs, strakke kapitalen,
   Georgia-cursief als accent, vierkante beelden. Weinig, maar precies. */
:root {
  --fg: #111;
  --muted: #8a8a8a;
  --soft: #f4f4f4;
  --line: #e6e6e6;
  --bg: #fff;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --wide: 1120px;
  --text: 660px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: #111; color: #fff; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--fg); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 16px; }

/* ---------- kop ---------- */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { max-width: var(--wide); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { font-weight: 800; letter-spacing: .2em; font-size: 20px; text-decoration: none; margin-right: auto; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); }
.langsw { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); text-decoration: none; border: 1.5px solid var(--line); padding: 5px 8px; }
.langsw:hover { color: var(--fg); border-color: var(--fg); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; margin: 0 -8px 0 0; cursor: pointer; color: var(--fg); }
@media (max-width: 760px) {
  .head-in { gap: 14px; }
  .menu-btn { display: block; }
  .nav { position: fixed; inset: 64px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--line); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { font-size: 15px; padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
}

/* ---------- algemene blokken ---------- */
main { display: block; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }
.col { max-width: var(--text); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--line); }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin: 0 0 14px; }
h1, h2, h3 { font-weight: 800; line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.6vw, 46px); margin-bottom: 22px; }
h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: 0; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(19px, 2.2vw, 22px); line-height: 1.5; color: #333; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.btn { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 15px 22px; background: var(--fg); color: #fff; text-decoration: none; border: 1.5px solid var(--fg); transition: transform .15s var(--ease), background-color .2s, color .2s; }
.btn:hover { text-decoration: none; background: #fff; color: var(--fg); }
.btn:active { transform: scale(.97); }
.btn.line { background: none; color: var(--fg); }
.btn.line:hover { background: var(--fg); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.note { font-size: 13px; color: var(--muted); }

/* ---------- opening ---------- */
.hero { position: relative; box-sizing: border-box; min-height: calc(100svh - 64px); display: flex; flex-direction: column; padding: clamp(16px, 3svh, 72px) 0 78px; text-align: center; }
.hero > .wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; }
.hero .word { font-size: clamp(46px, min(9vw, 9svh), 92px); font-weight: 800; letter-spacing: .24em; margin: 0 0 0 .24em; line-height: 1; }
.hero .tag { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 2.4vw, 24px); color: #555; margin-top: 14px; }
/* de aarde vult de ruimte die overblijft, zodat alles op het eerste scherm past */
.hero .earth { flex: 1 1 0; min-height: 200px; max-height: min(72vw, 420px); width: auto; height: auto; aspect-ratio: 1; object-fit: contain; margin: clamp(20px, 4svh, 52px) auto 0; filter: drop-shadow(0 30px 50px rgba(20,40,80,.18)); animation: rise 1.8s var(--ease) both; }
.stats { display: flex; justify-content: center; gap: clamp(28px, 8vw, 72px); margin-top: clamp(16px, 2.5svh, 44px); }
.stats div { display: flex; flex-direction: column; align-items: center; }
.stats b { font-size: clamp(24px, 4vw, 34px); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; }
.stats span { font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.hero .goal { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 26px); margin: clamp(16px, 3svh, 34px) auto 0; max-width: 760px; text-wrap: balance; }
.hero .btns { justify-content: center; margin-top: clamp(18px, 2.5svh, 40px); }
.hero .note { margin-top: clamp(14px, 2.5svh, 24px); }
/* scroll-hint: onderaan het eerste scherm, verdwijnt zodra je scrolt */
.cue { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 12px; text-decoration: none; color: var(--muted); transition: opacity .5s var(--ease), color .2s; animation: cuein 1s var(--ease) 1.6s backwards; }
.cue span { font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.cue i { position: relative; width: 1px; height: 30px; background: var(--line); overflow: hidden; }
.cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: #111; animation: drip 2s var(--ease) 2.4s infinite; transform: translateY(-14px); }
.cue:hover { color: #111; }
.cue.gone { opacity: 0; pointer-events: none; }
@keyframes cuein { from { opacity: 0; } to { opacity: 1; } }
@keyframes drip { 0% { transform: translateY(-14px); } 70%, 100% { transform: translateY(30px); } }
#kijken, #look { scroll-margin-top: 64px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }

/* ---------- twee kolommen ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* hetzelfde woord, een andere blik */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.trio figure { margin: 0; }
.trio img, .trio .you { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
.trio .you { border: 1.5px dashed #bbb; background: none; display: grid; place-items: center; font-size: 34px; font-weight: 300; color: #999; }
.trio figcaption { font-size: 13px; margin-top: 8px; line-height: 1.35; }
.trio figcaption b { display: block; font-size: 15px; }
.trio figcaption span { color: var(--muted); }
.trio-word { font-size: 28px; font-weight: 800; letter-spacing: .03em; margin-bottom: 14px; }

/* stappen */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; margin-top: 44px; }
.steps > div { border-top: 2px solid var(--fg); padding-top: 18px; }
.steps > div::before { counter-increment: s; content: "0" counter(s); display: block; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--muted); margin-bottom: 14px; }
.steps p { color: #444; font-size: 16px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* beelden uit de wereld */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; margin-top: 44px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
.gallery figcaption { margin-top: 10px; font-size: 14px; line-height: 1.35; }
.gallery figcaption b { font-size: 17px; letter-spacing: .03em; text-transform: uppercase; }
.gallery figcaption .tr { color: var(--muted); }
.gallery figcaption small { display: block; color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-top: 3px; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* één woord, duizenden talen */
.wordtabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 30px; }
.wordtabs button { font: inherit; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 9px 13px; background: none; border: 1.5px solid var(--line); color: var(--muted); cursor: pointer; transition: all .2s; }
.wordtabs button:hover { border-color: var(--fg); color: var(--fg); }
.wordtabs button[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: #fff; }
.wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); column-gap: 36px; border-top: 1px solid var(--line); }
.wall div { padding: 14px 0 12px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.wall b { font-size: 19px; overflow-wrap: anywhere; }
.wall i { font-family: var(--sans); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 6px; white-space: nowrap; }
.wall span { flex: none; max-width: 48%; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; text-align: right; }
.wall-count { margin-top: 18px; }

/* verdeling van woorden over talen */
.bars { margin-top: 36px; }
.bar { display: grid; grid-template-columns: 210px 1fr 70px; gap: 16px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bar .t { height: 10px; background: var(--soft); position: relative; }
.bar .t i { position: absolute; inset: 0 auto 0 0; background: var(--fg); transform-origin: left; }
.bar b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .bar { grid-template-columns: 1fr 64px; } .bar .t { grid-column: 1 / -1; order: 3; } }

/* principes */
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; margin-top: 40px; }
.principles > div { padding: 22px 0; border-top: 1px solid var(--line); }
.principles p { color: #444; font-size: 16px; margin: 0; }
@media (max-width: 760px) { .principles { grid-template-columns: 1fr; } }

/* schouders */
.shoulders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 40px; }
.shoulders p { font-size: 16px; color: #444; }
@media (max-width: 760px) { .shoulders { grid-template-columns: 1fr; gap: 24px; } }

/* slot */
.closing { text-align: center; }
.closing h2 { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* ---------- tekstpagina's ---------- */
.page-head { padding: 80px 0 40px; }
.page-head h1 { font-size: clamp(36px, 6vw, 60px); }
.page-head .lead { margin-top: 20px; }
.prose { padding-bottom: 96px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 56px 0 14px; }
.prose h3 { margin-top: 32px; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 16px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--fg); font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; }
.prose blockquote cite { display: block; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.draft { background: var(--soft); border-left: 3px solid #c58a1b; padding: 14px 18px; font-size: 14px; margin: 0 0 36px; }
.toc { font-size: 15px; columns: 2; column-gap: 40px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.toc a { display: block; text-decoration: none; padding: 3px 0; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 600px) { .toc { columns: 1; } }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; font-weight: 700; padding: 16px 30px 16px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 24px; font-weight: 300; transition: transform .25s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details > div { padding: 0 0 18px; color: #444; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.cards > div { border: 1.5px solid var(--line); padding: 22px; }
.cards p { font-size: 15px; color: #444; margin-bottom: 0; }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.factlist { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin: 16px 0 24px; }
.factlist div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.factlist b { display: block; font-size: 24px; }
.factlist span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* ---------- voet ---------- */
.site-foot { border-top: 1px solid var(--line); padding: 56px 0 40px; font-size: 14px; }
.foot-in { max-width: var(--wide); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-in .logo { display: inline-block; margin-bottom: 10px; }
.foot-in ul { list-style: none; margin: 0; padding: 0; }
.foot-in li { margin-bottom: 8px; }
.foot-in a { text-decoration: none; color: #444; }
.foot-in a:hover { color: var(--fg); text-decoration: underline; }
.foot-in h4 { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.foot-base { max-width: var(--wide); margin: 40px auto 0; padding: 22px 24px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; } .foot-in > div:first-child { grid-column: 1 / -1; } }

/* ---------- beweging ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
