@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
:root{--bg:#101923;--panel:#192431;--panel2:#223140;--gold:#d3b079;--light:#f9f6ee;--muted:#a5b0ba;--line:#35414a;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--light);font-family:var(--sans)}button,input{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.wrap{width:min(1180px,calc(100% - 48px));margin:auto}.topbar{display:flex;justify-content:space-between;align-items:center;padding:25px 0;border-bottom:1px solid #ffffff15}.brand{display:flex;gap:12px;align-items:center}.brandmark{font-family:var(--serif);font-size:40px;line-height:1;font-weight:700;color:var(--gold)}.branddot{color:#fff}.brandwords{font-size:18px;letter-spacing:.23em;font-weight:700}.brandwords small{display:block;letter-spacing:.15em;color:var(--muted);font-size:9px;margin-top:5px}.topbar nav{display:flex;align-items:center;gap:35px;font-size:13px;color:#d8dde1}.nav-cta{border:1px solid #806e55;padding:12px 16px;border-radius:6px;color:var(--gold)}.hero{min-height:600px;display:grid;grid-template-columns:1.08fr .92fr;align-items:center;gap:60px;padding-top:55px;padding-bottom:75px}.eyebrow,.overline{font-size:11px;letter-spacing:.2em;color:var(--gold);font-weight:700}.eyebrow{display:flex;align-items:center;gap:11px}.pulse{display:inline-block;width:7px;height:7px;border-radius:100%;background:var(--gold);box-shadow:0 0 14px var(--gold)}h1,h2,h3,p{margin-top:0}.hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(48px,5.6vw,82px);line-height:1.13;letter-spacing:-.035em;margin:27px 0}.hero h1 em{color:var(--gold);font-weight:500}.hero-copy>p{max-width:500px;font-size:16px;line-height:1.85;color:#c0c7ce}.hero-buttons{display:flex;gap:13px;flex-wrap:wrap;margin:32px 0}.btn{padding:16px 20px;border-radius:5px;font-size:13px;font-weight:700;display:inline-flex;gap:24px;align-items:center;justify-content:center}.btn-primary{background:var(--gold);color:#101923}.btn-outline{border:1px solid #52606c}.hero-note{color:#929faa;font-size:11px;line-height:2;letter-spacing:.02em}.hero-art{min-height:470px;position:relative;border:1px solid #60523d;background:radial-gradient(circle at 50% 38%,#37424a,transparent 60%),linear-gradient(140deg,#23303e,#111b25 70%);overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column}.hero-circle{position:absolute;border:1px solid #bda17644;border-radius:50%;width:340px;height:340px;top:33px}.circle-two{width:280px;height:280px;top:63px}.bust{font-family:var(--serif);font-size:170px;filter:grayscale(1) sepia(.3);text-shadow:0 15px 60px #0008;z-index:1}.hero-quote{font-family:var(--serif);font-size:25px;line-height:1.4;text-align:center;font-style:italic;z-index:1;color:#f6e5c7;margin-top:0}.art-label{position:absolute;bottom:22px;letter-spacing:.2em;color:#ad9a7a;font-size:10px}.characters-section{background:#f3f0e9;color:#192431;padding:78px 0 90px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:32px}.section-head h2,.how h2{font:500 clamp(32px,4vw,48px)/1.2 var(--serif);margin:15px 0 10px}.section-head p{color:#64707a;margin:0}.small-note{font-size:10px;letter-spacing:.15em;color:#6f7880}.character-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.character-card{text-align:left;border:1px solid #d7d5ce;padding:0;background:#fff;color:inherit;overflow:hidden;border-radius:5px;transition:transform .2s,box-shadow .2s}.character-card:hover,.character-card:focus-visible{transform:translateY(-5px);box-shadow:0 15px 25px #0002}.card-image{height:230px;position:relative;display:grid;place-items:center;overflow:hidden}.marcus{background:radial-gradient(circle at center,#788185,#35434d 65%,#1a2630)}.cleopatra{background:radial-gradient(circle at center,#b28d5b,#504333 65%,#292923)}.leonardo{background:radial-gradient(circle at center,#a09379,#524d44 65%,#2a2c29)}.card-symbol{font:500 135px var(--serif);color:#f7eee0aa;text-shadow:0 12px 35px #0007}.era{position:absolute;bottom:15px;left:20px;color:#f5f0e5;letter-spacing:.12em;font-size:9px}.card-content{padding:24px}.tag{color:#94764f;font-size:9px;letter-spacing:.16em;font-weight:700}.card-content h3{font:500 28px var(--serif);margin:10px 0 11px}.card-content p{font-size:13px;line-height:1.8;color:#65707a;min-height:70px}.card-link{display:flex;justify-content:space-between;border-top:1px solid #e4e1db;padding-top:19px;font-size:12px;font-weight:700}.how{padding-top:82px;padding-bottom:85px}.how h2{margin-bottom:40px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.steps>div{border-top:1px solid #4d5358;padding-top:20px}.steps span{color:var(--gold);font:26px var(--serif)}.steps h3{font:500 25px var(--serif);margin:20px 0 8px}.steps p{color:#aeb8c1;font-size:14px;line-height:1.75}.disclaimer{background:#1c2834;border:1px solid #3b4854;border-left:3px solid var(--gold);padding:22px 26px;margin-bottom:75px}.disclaimer strong{font-size:14px}.disclaimer p{color:#b4bec7;font-size:12px;line-height:1.75;margin:8px 0 0}.footer{display:flex;justify-content:space-between;gap:15px;padding:28px 0 36px;border-top:1px solid #33404c;font-size:12px;color:#9da9b3}.chat-dialog{max-width:660px;width:calc(100% - 28px);height:min(760px,calc(100dvh - 36px));padding:0;border:1px solid #6a604f;border-radius:12px;background:#15212c;color:#f7f3e9;box-shadow:0 15px 70px #0008}.chat-dialog::backdrop{background:#020811bd;backdrop-filter:blur(5px)}.chat-shell{height:100%;display:flex;flex-direction:column}.chat-header{display:flex;align-items:center;padding:16px;gap:12px;border-bottom:1px solid #384550}.chat-avatar{height:43px;width:43px;display:grid;place-items:center;border-radius:50%;background:#574a36;color:#f2d6a6;font:25px var(--serif)}.chat-title{flex:1}.chat-title strong{display:block;font:22px var(--serif)}.chat-title span{display:block;color:#9eaab4;font-size:11px;margin-top:4px}.close-chat{border:0;background:transparent;color:#e4e9ed;font-size:19px;padding:9px}.messages{flex:1;padding:22px 20px;overflow:auto;display:flex;flex-direction:column;gap:14px}.bubble{max-width:87%;padding:14px 17px;border-radius:13px;line-height:1.65;font-size:14px;white-space:pre-wrap}.bubble.bot{align-self:flex-start;background:#273644;border-bottom-left-radius:3px}.bubble.user{align-self:flex-end;background:#d3b079;color:#18202a;border-bottom-right-radius:3px}.suggestions{display:flex;gap:8px;padding:7px 15px;overflow-x:auto}.suggestions button{white-space:nowrap;border:1px solid #65707b;color:#e8dac1;background:transparent;border-radius:20px;font-size:11px;padding:8px 12px}.chat-compose{display:flex;gap:8px;padding:12px 15px 8px}.chat-compose input{flex:1;min-width:0;padding:13px;border:1px solid #5a6873;border-radius:9px;background:#1e2b36;color:white}.chat-compose button{border:0;border-radius:9px;background:var(--gold);color:#17222c;width:44px;font-size:22px}.chat-footnote{text-align:center;color:#8f9daa;margin:1px 10px 12px;font-size:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:780px){.topbar nav>a:not(.nav-cta){display:none}.topbar nav{gap:0}.hero{grid-template-columns:1fr;gap:25px;padding-top:58px}.hero-art{min-height:330px}.hero-circle{width:250px;height:250px;top:15px}.circle-two{width:195px;height:195px;top:42px}.bust{font-size:120px}.hero-quote{font-size:20px}.character-grid{grid-template-columns:1fr}.card-image{height:210px}.card-content p{min-height:0}.steps{grid-template-columns:1fr;gap:15px}.section-head{align-items:start;flex-direction:column}.footer{flex-direction:column}}@media(max-width:470px){.wrap{width:calc(100% - 34px)}.brandwords{font-size:14px}.brandmark{font-size:32px}.nav-cta{font-size:11px;padding:10px}.hero h1{font-size:47px}.hero-note{font-size:10px}.eyebrow{font-size:9px}.hero-copy>p{font-size:14px}.hero-art{min-height:295px}.characters-section{padding-top:55px}}

.beta-access{padding:10px 16px;display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:12px;color:#e6dac4}.beta-access[hidden]{display:none}.beta-access input{flex:1;min-width:190px;padding:10px;border-radius:7px;border:1px solid #5a6873;background:#1e2b36;color:white}.bubble.pending{opacity:.7;font-style:italic}.chat-compose button:disabled{opacity:.5;cursor:wait}

/* Timeless 2.1: gespreksvormen */
.conversation-mode{border:0;border-bottom:1px solid #384550;margin:0;padding:12px 16px;display:grid;grid-template-columns:1fr 1fr;gap:9px}.conversation-mode legend{font-size:11px;color:#b9c1c9;padding-top:12px;float:left;width:100%;margin-bottom:7px}.conversation-mode label{display:flex;gap:7px;align-items:center;padding:11px 12px;border:1px solid #596575;border-radius:8px;cursor:pointer;line-height:1.3}.conversation-mode label:has(input:checked){border-color:#d3b079;background:#2b3440}.conversation-mode input{accent-color:#d3b079}.conversation-mode strong,.conversation-mode small{display:block}.conversation-mode strong{font-size:12px;color:#f9f6ee}.conversation-mode small{font-size:10px;color:#a5b0ba;margin-top:3px}@media(max-width:460px){.conversation-mode{padding:9px;gap:6px}.conversation-mode label{padding:7px 6px}.conversation-mode strong{font-size:11px}.conversation-mode small{font-size:9px}}

/* Timeless 2.2: compacte modus, aanpasbaar venster */
.chat-dialog.chat-wide{width:calc(100vw - 28px);max-width:1150px;height:calc(100dvh - 28px);max-height:none}
.chat-utility{background:transparent;color:#d5c4a9;border:1px solid #52606c;border-radius:6px;padding:7px 9px;font-size:11px;white-space:nowrap}
.chat-header{gap:8px}.chat-title{min-width:0}
.conversation-mode{display:flex;align-items:center;gap:8px;padding:8px 14px}.conversation-mode legend{float:none;width:auto;margin:0 8px 0 0;padding:0;font-size:11px}.conversation-mode label{flex:1;padding:8px 10px;justify-content:center}.conversation-mode label small{display:none}.conversation-mode strong{font-size:12px}
.local-privacy{font-size:10px;line-height:1.3;color:#a8b3bc;text-align:center;margin:1px 12px 4px}
@media(max-width:540px){.chat-utility{font-size:10px;padding:6px}.chat-title strong{font-size:18px}.chat-avatar{width:34px;height:34px;flex:none}.conversation-mode{flex-wrap:wrap;gap:5px}.conversation-mode legend{flex-basis:100%;font-size:10px}.conversation-mode label{padding:6px 5px}.conversation-mode strong{font-size:10px}.local-privacy{font-size:9px}}

/* 2.3: meerregelige, scrollbare invoer */
.chat-compose{align-items:stretch}
.chat-compose textarea{flex:1;min-width:0;min-height:76px;max-height:170px;overflow-y:auto;resize:vertical;padding:13px 14px;border:1px solid #5a6873;border-radius:9px;background:#1e2b36;color:white;font:inherit;font-size:14px;line-height:1.55;scrollbar-width:thin;scrollbar-color:#b99a69 #1e2b36;overscroll-behavior:contain}
.chat-compose textarea:focus{outline:2px solid #d3b079;outline-offset:1px}
.chat-compose textarea::-webkit-scrollbar{width:9px}
.chat-compose textarea::-webkit-scrollbar-thumb{background:#b99a69;border-radius:8px}
.chat-compose button{flex:0 0 44px;align-self:stretch;min-height:54px}
@media(max-width:540px){.chat-compose textarea{min-height:68px;max-height:135px}}

/* Timeless 3.0: bronnotities per gegenereerd antwoord */
.source-links{align-self:flex-start;display:flex;flex-direction:column;gap:.25rem;max-width:88%;font-size:.77rem;color:#abb6c5;padding:.25rem .8rem .75rem}.source-links a{color:#d1b17c;text-decoration:underline;text-underline-offset:3px}.source-links strong{font-size:.75rem;color:#b7c1cd}

/* Timeless: juridische informatie */
.footer{align-items:flex-start}.footer p{max-width:650px;line-height:1.7;margin:10px 0}.footer strong{color:#e7d3b0}.footer a,.local-privacy a,.disclaimer a{color:#ddbc86;text-decoration:underline;text-underline-offset:3px}.footer-links{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px 18px;max-width:390px;line-height:1.6}.footer-links a{white-space:nowrap}.legal-page{max-width:860px;padding:65px 0 95px;line-height:1.8}.legal-page h1{font:500 clamp(36px,5vw,58px)/1.18 var(--serif);color:#f9f6ee}.legal-page h2{font:500 27px var(--serif);color:#e6c28c;margin:35px 0 10px}.legal-page p,.legal-page li{color:#c5cdd4}.legal-page a{color:#e6c28c;text-decoration:underline}.legal-page .intro{font-size:17px;color:#ede7dc}.legal-page .note{border-left:3px solid #d3b079;padding:14px 18px;background:#1c2834;color:#cbd5dd}.legal-page ul{padding-left:23px}.legal-page .back{font-size:13px;margin-bottom:28px;display:inline-block}@media(max-width:780px){.footer-links{justify-content:flex-start;max-width:none}}

/* Timeless 3.9A: alleen-lezen historisch chatarchief */
.archive-dialog{max-width:min(850px,95vw);width:95vw;max-height:90vh;background:#18232d;color:#f1efe9;border:1px solid #bfa06f;border-radius:12px;padding:20px;}
.archive-dialog::backdrop{background:rgba(0,0,0,.65)}
.archive-header{display:flex;justify-content:space-between;gap:16px;align-items:center}.archive-header h2{font-size:1.25rem;margin:0}.archive-header button,.archive-choices button{border:1px solid #bfa06f;border-radius:8px;background:transparent;color:#e5d2ae;padding:9px 12px;cursor:pointer}.archive-choices{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.archive-note{color:#c3c8d0;font-size:.85rem}.archive-content{overflow:auto;max-height:58vh;display:flex;flex-direction:column;gap:12px}.archive-content .bubble{max-width:85%;padding:15px;white-space:pre-wrap}.archive-content .bubble.user{align-self:flex-end;background:#cfb384;color:#1a2630}.archive-content .bubble.bot{align-self:flex-start;background:#2b3948;color:#fff}


/* Timeless 3.9B: visuele identiteit, avatars en typanimatie */
.brand{display:flex;align-items:center;gap:12px;text-decoration:none}
.brand-logo{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 6px 20px rgba(0,0,0,.18))}
.brandmark,.card-symbol,.bust{display:none!important}
.brandwords{display:flex;flex-direction:column;line-height:1.02}
.brandwords small{margin-top:6px}
.hero-copy p{max-width:650px}
.hero-art{display:flex;flex-direction:column;justify-content:center;align-items:center}
.hero-avatars{position:relative;width:min(360px,86vw);height:260px}
.mini-avatar{position:absolute;width:130px;height:130px;border-radius:28px;box-shadow:0 14px 35px rgba(0,0,0,.22);background:#15212c;border:1px solid rgba(255,255,255,.08)}
.mini-marcus{left:0;top:45px;transform:rotate(-8deg)}
.mini-cleopatra{left:115px;top:0;z-index:2}
.mini-leonardo{right:0;top:68px;transform:rotate(8deg)}
.hero-quote{bottom:22px;text-align:center;max-width:420px}
.character-card{overflow:hidden}
.card-image{display:flex;align-items:flex-end;justify-content:center;padding-top:18px}
.card-portrait{width:min(78%,220px);height:auto;filter:drop-shadow(0 18px 24px rgba(0,0,0,.2))}
.chat-avatar{display:none}
.chat-avatar-img{width:43px;height:43px;border-radius:50%;background:#574a36;object-fit:cover;border:1px solid rgba(255,255,255,.12)}
.messages .bubble.bot.typing::after{content:'';display:inline-block;width:8px;height:1.1em;vertical-align:-0.2em;margin-left:3px;background:currentColor;opacity:.7;animation:blinkCaret 1s steps(1) infinite}
@keyframes blinkCaret{50%{opacity:0}}
.trust{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0 0 72px}
.trust-card{background:#17222c;border:1px solid #33404c;border-radius:18px;padding:18px 20px;color:#b7c1cb}
.trust-card strong{display:block;color:#f3e7d1;margin-bottom:8px;font-size:15px}
.trust-card a{color:#ddbc86}
.source-links summary{cursor:pointer;color:#e5c28b;font-weight:700}
.source-links{background:rgba(255,255,255,.03);border:1px solid #364553;border-radius:10px;padding:.55rem .85rem .8rem}
.source-links p{margin:.45rem 0;color:#c7d0d7;line-height:1.55}
.source-compact{display:flex;flex-direction:column;gap:.45rem;margin-top:.45rem}
.source-detail{background:rgba(255,255,255,.03);border:1px solid #2e3a45;border-radius:8px;padding:.4rem .65rem}
.source-detail summary{cursor:pointer;color:#ebd0a0}
.archive-choices button,.archive-header button,.chat-utility{transition:all .2s ease}
.archive-choices button:hover,.archive-header button:hover,.chat-utility:hover{background:rgba(211,176,121,.12);border-color:#d3b079}
@media(max-width:780px){.trust{grid-template-columns:1fr}.brand-logo{width:48px;height:48px}.hero-avatars{height:225px;width:min(320px,92vw)}.mini-avatar{width:110px;height:110px}.mini-cleopatra{left:96px}.mini-leonardo{top:76px}}
@media(max-width:540px){.topbar{padding-top:8px}.brandwords{font-size:13px}.brandwords small{font-size:8px}.hero-art{min-height:285px}.hero-avatars{height:190px}.mini-avatar{width:90px;height:90px;border-radius:20px}.mini-cleopatra{left:78px}.mini-leonardo{top:80px}.chat-avatar-img{width:36px;height:36px}.card-portrait{width:min(82%,200px)}}

/* Timeless 3.9C: gouden medaillons, merklogo en leesbare typanimatie */
.brand-logo{width:78px;height:78px;border-radius:16px;object-fit:cover;border:1px solid rgba(213,183,122,.48);box-shadow:0 8px 26px rgba(0,0,0,.26)}
.card-portrait{height:100%;max-height:220px;width:auto;aspect-ratio:1/1;object-fit:contain;filter:drop-shadow(0 12px 22px rgba(0,0,0,.3))}
.card-image{align-items:center;padding:16px 0 32px}
.mini-avatar{object-fit:cover;border-radius:50%;border:2px solid rgba(218,182,110,.64)}
.chat-avatar-img{border:1px solid #c6a46a;object-fit:cover}
.skip-typing{align-self:flex-start;margin:-6px 0 5px 2px;padding:7px 13px;background:transparent;border:1px solid #87714e;border-radius:16px;color:#e5c58e;font:inherit;font-size:11px;cursor:pointer}
.skip-typing:hover,.skip-typing:focus-visible{background:#364451;outline-offset:3px}
@media(max-width:780px){.brand-logo{width:64px;height:64px;border-radius:13px}}
@media(max-width:540px){.brand-logo{width:57px;height:57px;border-radius:12px}.card-portrait{max-height:195px}}

/* Timeless 4.0A: meer personages, schaalbare chronologische kaarten */
.character-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.card-image.deruyter{background:radial-gradient(circle at 50% 35%,#846e44,#242c36 78%)}
.card-image.cornelis,.card-image.johan{background:radial-gradient(circle at 50% 35%,#7d6241,#202a34 78%)}
.card-image.aletta{background:radial-gradient(circle at 50% 35%,#6d6051,#252a31 78%)}
.card-portrait{max-height:210px;object-fit:contain}
@media(max-width:780px){.character-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.character-grid{grid-template-columns:1fr}}

/* 4.0A.1: chronologische, medaillonvormige selectie */
.timeline-hero{position:relative;isolation:isolate;overflow:hidden;border-block:1px solid #413728;background:radial-gradient(ellipse at 45% 0%,#374048 0%,#17232d 52%,#101923 100%);padding:65px 0 0;min-height:440px}.timeline-hero:before{content:"";position:absolute;inset:0;opacity:.13;background:repeating-linear-gradient(90deg,transparent 0 135px,#dbba7950 136px 137px);pointer-events:none}.timeline-hero-content{text-align:center;position:relative;z-index:1}.timeline-hero h1{font:normal clamp(43px,6.7vw,86px)/1.05 var(--serif);letter-spacing:-.035em;margin:20px auto;color:#f7f3eb}.timeline-hero h1 em{color:#d3b079}.timeline-hero p{color:#b8c6ce;max-width:620px;margin:0 auto 28px;line-height:1.7}.timeline-hero .btn{display:inline-flex;margin-bottom:60px}.timeline-track{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:2px solid #bd975e;max-width:1200px;margin:auto;padding:14px 20px;color:#d8be92;letter-spacing:.12em;font-size:11px}.chronology-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.timeline-card{background:linear-gradient(165deg,#27323b,#151f29)!important;border:1px solid #514736!important;border-radius:17px!important;min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 17px 22px!important;color:#eee6d9!important;box-shadow:0 12px 24px #0002;transition:transform .2s,border-color .2s}.timeline-card:hover,.timeline-card:focus-visible{transform:translateY(-5px);border-color:#d2af73!important}.timeline-medallion{height:176px;display:flex;align-items:center;justify-content:center}.timeline-medallion>img{height:165px;width:165px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 3px #bfa067,0 0 0 7px #2e271c,0 14px 28px #0005}.timeline-card h3{font:normal 25px/1.2 var(--serif);margin:12px 0 3px}.timeline-period{font-size:10px;letter-spacing:.16em;color:#d5b77e;margin-top:11px}.timeline-dates{font-size:12px;color:#b8a17c}.timeline-card p{font-size:12px;line-height:1.55;color:#b3bdc7;flex:1;min-height:45px;margin:14px 4px 20px}.timeline-chat{font-size:12px;border:1px solid #b39460;color:#e2c28a;padding:10px 16px;border-radius:24px}.duo-portraits{display:flex;padding:5px 18px}.duo-portraits img{height:135px;width:135px;object-fit:cover;border-radius:50%;border:3px solid #bfa067;box-shadow:0 8px 20px #0005}.duo-portraits img+img{margin-left:-54px}.duo-answer{white-space:pre-wrap;border-left:3px solid #d3b079}.chronology-grid .card-image,.chronology-grid .card-content{display:none}@media(max-width:800px){.chronology-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.timeline-track{font-size:9px;gap:7px}.timeline-hero{min-height:380px;padding-top:52px}}@media(max-width:540px){.chronology-grid{grid-template-columns:1fr}.timeline-hero{min-height:365px;padding-top:45px}.timeline-track{overflow:auto;white-space:nowrap;justify-content:flex-start;gap:25px}.timeline-hero .btn{margin-bottom:54px}.timeline-card{padding:19px!important}.timeline-medallion{height:150px}.timeline-medallion>img{width:138px;height:138px}.duo-portraits img{width:120px;height:120px}.timeline-card p{min-height:0}}

/* 4.0A.2: afzonderlijke stemmen voor de gebroeders De Witt */
.duo-line{align-self:flex-start;width:min(92%,900px);display:flex;gap:12px;align-items:flex-start;margin:3px 0}
.duo-avatar{width:46px;height:46px;flex:none;border-radius:50%;object-fit:cover;border:2px solid #b99a69;background:#18212b}
.duo-bubble{min-width:0;flex:1;padding:15px 18px;background:#283542;border-radius:14px 14px 14px 3px;border-left:3px solid #bd9c63;color:#f4f0e7;line-height:1.65}
.duo-name{display:block;font-size:13px;letter-spacing:.03em;color:#e6c590;margin-bottom:5px}
.duo-body{font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:570px){.duo-line{width:100%;gap:7px}.duo-avatar{width:34px;height:34px}.duo-bubble{padding:10px 11px}.duo-body{font-size:13px}}


/* Timeless 4.0A.3 — MOBILE CHAT LAYOUT: overriding all earlier layout rules */
.chat-dialog{box-sizing:border-box;max-width:min(1150px,calc(100vw - 24px));overflow:hidden}
.chat-shell{min-width:0;min-height:0;overflow:hidden}
.chat-header{min-width:0;flex-shrink:0}
.chat-title{min-width:0;overflow-wrap:anywhere}
.messages{min-height:0;min-width:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.messages .bubble{overflow-wrap:anywhere;word-break:normal}
.suggestions{min-width:0;max-width:100%;flex-shrink:0;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.suggestions button{flex-shrink:0}
.chat-compose{min-width:0;flex-shrink:0}
.chat-compose textarea{width:100%;min-width:0;box-sizing:border-box}
.local-privacy,.chat-footnote{flex-shrink:0}
@media (max-width:640px){
 .chat-dialog,.chat-dialog.chat-wide{position:fixed;inset:0!important;margin:0!important;box-sizing:border-box;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;border:0!important;overflow:hidden}
 .chat-shell{height:100%;max-height:100dvh;display:flex;flex-direction:column;min-height:0;overflow:hidden;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
 .chat-header{display:grid!important;grid-template-columns:40px minmax(0,1fr) 40px;grid-template-areas:'avatar identity close' 'actions actions actions';gap:9px 10px!important;align-items:center!important;padding:12px 13px 10px!important;min-height:0!important;flex:0 0 auto}
 .chat-header .chat-avatar-img{grid-area:avatar;width:40px!important;height:40px!important;min-width:40px;display:block;align-self:center}
 .chat-header .chat-title{grid-area:identity;display:block;max-width:100%;min-width:0;overflow:hidden}
 .chat-header .chat-title strong{font-size:18px!important;line-height:1.2!important;display:block;overflow-wrap:normal;word-break:normal;hyphens:none}
 .chat-header .chat-title span{font-size:10px!important;line-height:1.4!important;margin-top:3px!important;white-space:normal;display:inline}
 .chat-header .close-chat{grid-area:close;width:40px;height:40px;display:grid;place-items:center;font-size:22px;padding:0}
 .chat-header .chat-utility{font-size:11px!important;padding:8px 6px!important;text-align:center;white-space:nowrap;min-width:0;overflow:hidden;text-overflow:ellipsis}
 .chat-header #viewOldChats{grid-area:actions;grid-row:2;justify-self:start;width:31%}
 .chat-header #clearConversation{grid-area:actions;grid-row:2;justify-self:center;width:33%}
 .chat-header #resizeChat{grid-area:actions;grid-row:2;justify-self:end;width:31%}
 .chat-header #resizeChat{display:none!important}
 .chat-header #viewOldChats{width:48%}
 .chat-header #clearConversation{width:48%}
 .chat-header #viewOldChats{justify-self:start}
 .chat-header #clearConversation{justify-self:end}
 .messages{flex:1 1 auto;padding:12px 11px!important;gap:12px!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important}
 .bubble{font-size:14px;max-width:94%;line-height:1.55;padding:12px 13px}
 .duo-line{width:100%!important;max-width:100%!important;gap:8px}
 .duo-avatar{width:34px;height:34px}
 .duo-bubble{min-width:0;max-width:calc(100% - 42px);padding:10px 11px;overflow-wrap:anywhere}
 .duo-name{font-size:12px}
 .duo-body{font-size:13px;line-height:1.55}
 .suggestions{padding:7px 11px!important;border-top:1px solid #394553;gap:7px;flex:0 0 auto}
 .suggestions button{font-size:11px;padding:8px 10px}
 .beta-access{padding:8px 11px!important;display:grid!important;grid-template-columns:1fr;gap:5px!important;flex:0 0 auto}
 .beta-access[hidden]{display:none!important}
 .beta-access label{font-size:10px;line-height:1.2}
 .beta-access input{width:100%;min-width:0!important;max-width:100%;height:36px;padding:8px 10px!important}
 .chat-compose{padding:8px 11px 3px!important;gap:8px;flex:0 0 auto;align-items:stretch}
 .chat-compose textarea{min-height:48px!important;max-height:105px!important;height:58px;resize:none;padding:10px!important;font-size:16px!important;line-height:1.35}
 .chat-compose button{height:auto;min-height:50px;flex:0 0 48px!important;width:48px!important;border-radius:8px}
 .local-privacy{margin:5px 10px 2px!important;font-size:9px!important;line-height:1.3!important}
 .chat-footnote{margin:1px 10px 8px!important;font-size:9px!important;line-height:1.2!important}
 .source-links{max-width:100%!important;overflow-wrap:anywhere}
 .archive-dialog{max-width:100vw;width:100vw;max-height:90dvh;border-radius:10px;padding:12px}
}
@media(max-width:360px){.chat-header .chat-title strong{font-size:16px!important}.chat-header{padding:9px 10px 8px!important}.messages{padding:9px!important}.local-privacy,.chat-footnote{font-size:8px!important}}

/* Timeless 4.0C: klikbare, responsieve miniportretten op de tijdlijn */
.timeline-people{width:min(1500px,calc(100% - 32px));margin:22px auto 0;position:relative;z-index:2;border-top:1px solid rgba(208,174,113,.65);padding-top:15px}
.timeline-people-scroller{display:flex;gap:9px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#bfa06f #1b2631;padding:9px 4px 18px}
.timeline-person{flex:0 0 126px;scroll-snap-align:start;min-width:0;border:1px solid transparent;border-radius:12px;padding:8px 5px;color:#eee4d2;background:rgba(17,27,36,.52);cursor:pointer;display:flex;align-items:center;flex-direction:column;gap:6px;font:inherit;transition:background .2s,border-color .2s,transform .2s}
.timeline-person:hover,.timeline-person:focus-visible{background:#263443;border-color:#d0b17b;transform:translateY(-2px)}
.timeline-person img{width:70px;height:70px;display:block;border-radius:50%;object-fit:cover;border:2px solid #b8965e;background:#29323b}
.timeline-person-name{font-size:12px;line-height:1.2;font-weight:700;min-height:29px;display:grid;place-items:center;text-align:center}
.timeline-person-dates{font-size:10px;line-height:1.1;color:#b6a688;white-space:nowrap;text-align:center}
@media(max-width:650px){.timeline-people{width:calc(100% - 20px);margin-top:18px;padding-top:9px}.timeline-person{flex-basis:105px}.timeline-person img{width:59px;height:59px}.timeline-person-name{font-size:11px}.timeline-person-dates{font-size:9px}.timeline-people-scroller{gap:4px}}
@media(prefers-reduced-motion:reduce){.timeline-person{transition:none}}

/* Public beta 4.1 */
#viewOldChats[hidden],#betaAccess[hidden]{display:none!important}
.beta-meter{display:grid;grid-template-columns:1fr auto;gap:7px 12px;font-size:12px;padding:8px 18px 10px;color:#e7cfaa}
.beta-meter-track{height:6px;border-radius:12px;background:#43515d;grid-column:1/-1;overflow:hidden}
.beta-meter-track span{display:block;background:#d3b079;height:100%;border-radius:12px;transition:width .3s}
.beta-public,.roadmap{padding:55px 0}.beta-public h2,.roadmap h2{font:500 clamp(28px,4vw,44px) Georgia,serif}.beta-public p{line-height:1.7;max-width:760px;color:#c1ccd3}.beta-countdown{font-size:clamp(17px,3vw,26px);font-weight:700;color:#deb981;margin:22px 0}.roadmap-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.roadmap-grid article{padding:18px;background:#192633;border:1px solid #4f4c44;border-radius:12px}.roadmap-grid p,.roadmap-note{font-size:13px;color:#bcc7cf;line-height:1.65}
.survey-dialog{max-width:500px;width:calc(100% - 32px);border:1px solid #bfa06f;border-radius:15px;background:#182533;color:#f1ece1;padding:24px}.survey-dialog::backdrop{background:#000a}.survey-dialog fieldset{border:0;padding:10px 0;display:flex;flex-direction:column;gap:10px}.survey-dialog legend{font-weight:bold;margin:10px 0}.survey-dialog label{font-size:14px}.survey-dialog input{accent-color:#d3b079}.survey-actions{display:flex;gap:9px;justify-content:flex-end}.survey-actions button{padding:10px 15px;border-radius:8px;border:1px solid #d3b079;background:#d3b079;color:#172431;font-weight:bold}.survey-actions button:first-child{background:transparent;color:#ecd6b5}
.beta-vote{display:flex;gap:8px;align-items:center;align-self:flex-start;margin:0 0 4px 8px}.beta-vote button{border:1px solid #566575;border-radius:7px;background:#1b2b3a;color:#d2c5aa;padding:5px 9px;cursor:pointer}.beta-vote button:disabled{opacity:.65}.beta-vote span{font-size:11px;color:#d1b77e}.beta-vote select{max-width:175px;background:#17232e;border:1px solid #887c6b;border-radius:5px;color:#fff}
@media(max-width:600px){.beta-public,.roadmap{padding:30px 0}.beta-meter{font-size:11px}.roadmap-grid{grid-template-columns:1fr}.survey-dialog{padding:15px}}

/* Timeless 4.1.1: groter logo en lichte browserverbeteringen */
.brand-logo{width:clamp(76px,8vw,112px)!important;height:clamp(76px,8vw,112px)!important;object-fit:cover!important;border-radius:22px!important;box-shadow:0 10px 26px rgba(0,0,0,.25)}
.topbar{min-height:100px;align-items:center}
.memory-control{margin-top:10px;margin-bottom:25px;padding:18px 20px;border:1px solid rgba(194,160,104,.35);border-radius:14px;background:#17242d;display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;color:#eee}
.memory-label{display:flex;align-items:center;gap:12px;cursor:pointer;flex:1;min-width:230px}
.memory-label input{width:19px;height:19px;accent-color:#c9a66c}
.memory-label strong,.memory-label small{display:block}.memory-label small{font-size:12px;color:#bac6cd;margin-top:5px;line-height:1.6}
.memory-result{width:100%;color:#d5bb90;font-size:13px;line-height:1.6}
.memory-result:empty{display:none}
.memory-clear{cursor:pointer;border:1px solid #596777;color:#eee;background:transparent;border-radius:9px;padding:8px 12px;font-size:12px}
.timeline-person{cursor:pointer}
.timeline-person:focus-visible,.character-card:focus-visible{outline:3px solid #e8c485;outline-offset:4px}
@media(max-width:580px){.brand-logo{width:68px!important;height:68px!important;border-radius:15px!important}.topbar{min-height:74px}.brandwords{font-size:13px!important}.brandwords small{font-size:7px!important}.memory-control{margin-top:0;padding:14px}}

.beta-survey-form fieldset{display:grid;gap:10px;border:1px solid #475768;border-radius:10px;margin:12px 0;padding:14px}.beta-survey-form legend{color:#f2d6a5;font-weight:600}.beta-survey-form label{display:flex;gap:9px;align-items:center;font-size:14px}.beta-survey-form input{accent-color:#d3b079}.beta-survey-form button{background:#c7a36e;border:0;border-radius:8px;color:#15212c;padding:10px 15px;cursor:pointer}

/* Timeless 4.1.2: chatgeheugen */
.memory-chat-button{border-color:#aa8755;color:#f4d5a1}
.memory-dialog{border:1px solid #bfa06f;background:#14212c;color:#f4ebd9;border-radius:16px;max-width:500px;width:calc(100% - 28px);max-height:85dvh;overflow:auto;padding:0}
.memory-dialog::backdrop{background:rgba(5,9,14,.78)}
.memory-panel{padding:24px;display:grid;gap:14px}.memory-panel h2{margin:0;font-size:24px;font-family:Georgia,serif}.memory-panel p{margin:0;line-height:1.6;color:#c8ced3;font-size:13px}
.memory-panel label:not(.memory-toggle){display:grid;gap:7px;font-size:13px;color:#f2e8d8}.memory-panel input:not([type=checkbox]),.memory-panel textarea{min-width:0;width:100%;box-sizing:border-box;border:1px solid #63707d;border-radius:8px;padding:11px;background:#243342;color:white;font:inherit}
.memory-panel .memory-toggle{display:flex;gap:9px;align-items:center;font-size:14px}.memory-toggle input{accent-color:#caa56e}.memory-panel .memory-note{font-size:11px}.memory-status{color:#f1cf9b!important;min-height:1em}.memory-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}.memory-buttons button{min-height:38px}.memory-save{border:0;padding:9px 16px;border-radius:7px;background:#c8a46e;color:#13212b;font-weight:700}
.memory-greeting{align-self:stretch;border-left:3px solid #c8a46e;background:#243443;border-radius:6px;padding:12px 15px;color:#f0d8af;white-space:pre-wrap;font-size:13px;line-height:1.6}
@media(max-width:540px){.memory-chat-button{order:4;flex:1 1 auto}.memory-panel{padding:18px}.memory-buttons{justify-content:stretch}.memory-buttons button{flex:1}}

/* Timeless 4.1.4: mobile chat header cleanup. Desktop untouched. */
@media (max-width: 640px) {
  .chat-header {
    grid-template-columns: 40px minmax(0,1fr) 40px !important;
    grid-template-areas: 'avatar identity close' 'memory memory clear' !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
  }
  .chat-header #chatMemoryButton,
  .chat-header #clearConversation {
    grid-row: 2 !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 40px !important;
    padding: 9px 10px !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: normal !important;
    flex: initial !important;
    order: initial !important;
  }
  .chat-header #chatMemoryButton { grid-area: memory !important; }
  .chat-header #clearConversation { grid-area: clear !important; }
  .chat-header #viewOldChats,
  .chat-header #resizeChat { display: none !important; }
  .chat-header .chat-title { overflow: hidden !important; }
}
@media (max-width: 360px) {
  .chat-header #chatMemoryButton,
  .chat-header #clearConversation { padding-inline: 5px !important; font-size: 11px !important; }
}

/* 4.1.4a: beide acties elk exact de helft van de mobiele headerbreedte */
@media (max-width:640px) {
  .chat-header {
    grid-template-columns: 40px minmax(0,1fr) 40px !important;
    grid-template-areas: 'avatar identity close' 'actions actions actions' !important;
  }
  .chat-header #chatMemoryButton,
  .chat-header #clearConversation {
    grid-area: actions !important;
    grid-row: 2 !important;
    width: calc(50% - 5px) !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    padding: 10px 6px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    font-size: 12px !important;
  }
  .chat-header #chatMemoryButton { justify-self: start !important; }
  .chat-header #clearConversation { justify-self: end !important; }
}

/* Timeless 4.1.6: live aftelklok openbare beta */
.beta-public .beta-countdown{font-size:inherit;margin:22px 0 0;max-width:650px}
.beta-clock-lead{font-size:14px!important;color:#d6bc90!important;font-weight:700;letter-spacing:.04em;margin:0 0 13px!important}
.beta-clock-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.beta-clock-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:0;padding:17px 6px 14px;border:1px solid #6b5739;border-radius:12px;background:#243443}
.beta-clock-number{font:600 clamp(26px,4vw,45px)/1.15 var(--sans);font-variant-numeric:tabular-nums;color:#e3c08a;white-space:nowrap}
.beta-clock-label{font-size:10px;letter-spacing:.08em;color:#c2cbd1;font-weight:700}
.beta-clock-end{font-size:13px!important;color:#d6bc90!important;margin:13px 0 0!important}
@media(max-width:470px){.beta-clock-grid{gap:6px}.beta-clock-cell{padding:13px 2px 11px;border-radius:8px}.beta-clock-number{font-size:clamp(23px,7vw,33px)}.beta-clock-label{font-size:8px;letter-spacing:0}}

/* Timeless 4.1.7: vrijwillige bijdrage en beheerderstatus */
.donation{padding:24px 0 62px}.donation-inner{background:#192633;border:1px solid #62513c;border-radius:18px;padding:28px 32px;display:flex;justify-content:space-between;align-items:center;gap:25px}.donation h2{font:500 35px Georgia,serif;margin:10px 0}.donation p{max-width:660px;margin:0;color:#c6d0d6;line-height:1.7;font-size:14px}.donation .btn{flex:none}.chat-utility.admin-on{border-color:#d3b079;background:#473c29;color:#f8e2b7}.admin-mode-note{display:block;font-size:11px;color:#ddc08e;text-align:center;padding:4px 8px}@media(max-width:780px){.donation-inner{flex-direction:column;align-items:flex-start;padding:22px}.donation .btn{width:100%}}@media(max-width:640px){.chat-header{grid-template-areas:'avatar identity close' 'actions actions actions' 'admin admin admin'!important}.chat-header #adminChatButton{grid-area:admin!important;grid-row:3!important;justify-self:stretch!important;display:block!important;width:100%!important;min-width:0!important;padding:7px!important;font-size:11px!important}.chat-header #chatMemoryButton,.chat-header #clearConversation{grid-row:2!important}}

/* 4.1.7b: donatielink in navigatie en transparante ontvanger */
.nav-donate{color:#d3b079!important;border:1px solid #786342;border-radius:6px;padding:10px 12px;white-space:nowrap}
.nav-donate:hover,.nav-donate:focus-visible{background:rgba(211,176,121,.12);border-color:#d3b079}
.donation .donation-recipient{margin-top:12px;font-size:12px;color:#dbc39c}
@media(max-width:780px){.topbar nav .nav-donate{display:inline-flex!important}.topbar nav{gap:8px}}
@media(max-width:520px){.topbar nav .nav-donate{font-size:11px;padding:9px 8px}.topbar nav .nav-cta{font-size:10px;padding:9px 8px}.topbar{gap:8px}.brand{gap:7px}}

/* Timeless 4.1.8 onderwijsvoorproef: alleen frontend */
.ka-open{background:#253542;color:#efce91;border:1px solid #ad8c59;border-radius:8px;margin:3px 16px 6px;padding:10px 12px;text-align:left;font-weight:600;font-size:12px;cursor:pointer;flex-shrink:0}.ka-open:hover,.ka-open:focus-visible{background:#334352}.ka-dialog{width:min(700px,calc(100% - 24px));max-height:86dvh;overflow:auto;background:#182632;color:#f7f0e4;border:1px solid #b59a68;border-radius:15px;padding:24px}.ka-dialog::backdrop{background:#070c12d9}.ka-heading{display:flex;align-items:start;justify-content:space-between;gap:18px}.ka-heading h2{font:normal 30px Georgia,serif;margin:6px 0}.ka-context{color:#bdc8d2;line-height:1.65}.ka-entries{display:grid;gap:12px}.ka-entry{background:#223341;border:1px solid #53606a;border-radius:12px;padding:14px}.ka-entry h3{font-size:16px;color:#f0d39d;margin:0 0 8px}.ka-entry p{font-size:13px;line-height:1.65;margin:6px 0}.ka-entry a{font-size:12px;color:#edd0a2;text-decoration:underline}.ka-label{color:#c3cad1;font-size:11px;letter-spacing:.04em}.ka-note{font-size:11px;color:#acb7c0;line-height:1.6;margin-top:18px}.ka-actions{margin-top:16px}.ka-ask{background:#d3b079;border:0;border-radius:8px;color:#12202c;padding:11px 15px;font-weight:700}@media(max-width:640px){.ka-dialog{padding:15px;max-height:90dvh}.ka-heading h2{font-size:25px}.ka-open{margin:2px 11px 5px}}
