/* Aquila Growth Hub, shared base. The Aquila ICP system skin (joinaquila.nl in an internal tool): navy ground with a glow, glass navy cards, gold only for what matters. Dark only, like the site. Rules: brand/ux-rules.md (every animation 1.2 s, motion G, text animation E, Lenis, dock blur on the dock itself). */
:root {
  color-scheme: dark;
  --navy: #020918; --navy-glow: #0b1a3a; --box: #0a1428;
  --card: linear-gradient(180deg, rgba(255,255,255,0.065) 0%, rgba(255,255,255,0.02) 100%);
  --block: rgba(255,255,255,0.04); --line: rgba(255,255,255,0.12); --line-soft: rgba(255,255,255,0.07); --wire: rgba(255,255,255,0.22);
  --pill: rgba(255,255,255,0.1); --pill-line: rgba(255,255,255,0.3);
  --ink: #ffffff; --ink-2: #b4b5b9; --ink-3: #7b7f8a;
  --gold: #cea830; --gold-grad: linear-gradient(180deg, #cea830 0%, #c89e19 100%); --gold-tint: rgba(195,153,22,0.15); --gold-line: rgba(206,168,48,0.5); --on-gold: #141414;
  --rose: #e0685e; --gold-deep: #c39916;
  --ease: cubic-bezier(0.3, 0.1, 0.1, 1);
  --head-grad: linear-gradient(172.6deg, #ffffff 13.33%, rgba(255,255,255,0.7) 69.08%);
  --display: 'SharpGrotesk', 'Sharp Grotesk', 'Archivo', system-ui, sans-serif;
  --body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --roman: 'Cinzel', 'Trajan Pro', 'Times New Roman', serif;
  --r-card: 24px; --r-block: 16px; --r-btn: 12px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--navy); }
body { margin: 0; background-color: var(--navy); background-image: radial-gradient(1200px 520px at 50% -120px, var(--navy-glow) 0%, transparent 70%); background-repeat: no-repeat; color: var(--ink-2); font: 500 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; padding-inline: 16px; }
button, select, textarea, input { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--gold); outline-offset: 2px; }
.t-label { font: 600 10.5px/1.3 var(--body); text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-3); }

/* nothing of the page shows until the session is confirmed */
html:not(.aq-ready) .aq-gate { visibility: hidden; }
.loading { color: var(--ink-3); font: 500 14px/1.5 var(--body); padding: 24px 4px; }
.aq-fatal { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 16px; background: rgba(1,6,15,0.82); }
.aq-fatal-in { max-width: 420px; display: grid; gap: 12px; justify-items: start; padding: 24px; border-radius: var(--r-card); border: 0.5px solid var(--line); background: #071022; background-image: var(--card); }
.aq-fatal-in h2 { margin: 0; font: 500 22px/1.2 var(--display); font-stretch: 118%; color: var(--ink); }
.aq-fatal-in p { margin: 0; font: 400 14.5px/1.55 var(--body); color: var(--ink-2); }

/* top bar with the official logo, page links and sign out */
.topbar { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 18px; border: 0.5px solid var(--line); border-radius: var(--r-block); background: rgba(2,9,24,0.82); }
.topbar img { display: block; height: 26px; width: auto; }
.topnav { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.topnav a, .topnav button { cursor: pointer; text-decoration: none; background: none; border: 0; border-radius: 50px; padding: 8px 12px; font: 500 13px/1 var(--body); color: var(--ink-2); white-space: nowrap; transition: background-color 0.15s, color 0.15s; }
.topnav a:hover, .topnav button:hover { color: var(--ink); background: var(--block); }
.topnav a[aria-current="page"] { color: var(--gold); }
@media (max-width: 520px) { .topbar { padding: 12px 12px 12px 16px; } .topnav a, .topnav button { padding: 8px 9px; } }

/* buttons */
.btn { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--body); color: var(--ink); background: var(--pill); border: 0.5px solid var(--pill-line); border-radius: 50px; padding: 10px 15px; white-space: nowrap; }
.btn:hover { background: rgba(255,255,255,0.16); }
.btn.primary { background: var(--gold-grad); color: var(--on-gold); border: 0; border-radius: var(--r-btn); font: 500 14px/1 var(--display); font-stretch: 112%; padding: 12px 18px; }
.btn.primary:hover { filter: brightness(1.06); background: var(--gold-grad); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.ghost:hover { color: var(--ink); background: var(--block); }
.btn.warn { color: var(--rose); }
.btn:disabled { opacity: 0.45; cursor: default; }

/* dialog card (person card on the org chart, Versies on the board) */
dialog.aq-dialog { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0.5px solid var(--line); border-radius: var(--r-card); background: #071022; color: var(--ink-2); box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
dialog.aq-dialog::backdrop { background: rgba(1,6,15,0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pc { display: grid; gap: 18px; padding: 26px; background: var(--card); }
.pc-top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.pc h3 { margin: 0; font: 500 24px/1.15 var(--display); font-stretch: 118%; color: var(--ink); text-wrap: balance; }
.pc .role { margin: 6px 0 0; font: 600 13px/1.3 var(--body); color: var(--gold); }
.close { cursor: pointer; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50px; background: var(--pill); border: 0.5px solid var(--pill-line); color: var(--ink); padding: 0; }
.close:hover { background: rgba(255,255,255,0.18); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 12px/1 var(--body); padding: 7px 11px; border-radius: 50px; background: var(--pill); border: 0.5px solid var(--pill-line); color: var(--ink); }
.chip.ghost { background: transparent; border-color: var(--line); color: var(--ink-2); }
.chip.go { background: var(--gold-grad); border-color: transparent; color: var(--on-gold); font-weight: 600; }
@media (max-width: 560px) { .pc { padding: 20px; } }

/* Aquila motion G, Onthullen: 1.2 s, fades 0 to 100% while it is revealed top to bottom and moves 8px. Closing is the same move backwards. */
@keyframes aq-reveal { from { opacity: 0; transform: translateY(8px); clip-path: inset(-120px -120px 100% -120px); } to { opacity: 1; transform: none; clip-path: inset(-120px -120px -120px -120px); } }
@keyframes aq-fade { from { opacity: 0; } }
/* the same two moves under their own names, played in reverse for closing: a new name starts a new animation (reusing the opening name with
   only the direction changed does not restart it, the element would jump to hidden and animationend would never come) */
@keyframes aq-reveal-back { from { opacity: 0; transform: translateY(8px); clip-path: inset(-120px -120px 100% -120px); } to { opacity: 1; transform: none; clip-path: inset(-120px -120px -120px -120px); } }
@keyframes aq-fade-back { from { opacity: 0; } }
@media (prefers-reduced-motion: no-preference) {
  dialog.aq-dialog[open] { animation: aq-reveal 1.2s var(--ease); }
  dialog.aq-dialog[open]::backdrop { animation: aq-fade 1.2s var(--ease); }
  dialog.aq-dialog.is-closing { animation: aq-reveal-back 1.2s var(--ease) reverse forwards; }
  dialog.aq-dialog.is-closing::backdrop { animation: aq-fade-back 1.2s var(--ease) reverse forwards; }
}
/* Aquila smooth scroll (Lenis, 1.2 s) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
/* Aquila text animation E, letter by letter: each letter fades in sharp from 4px lower and 4px blur, 1.2 s, letters 10 ms apart (whole run capped at 0.6 s) */
.aq-split .aq-w { display: inline-block; white-space: nowrap; }
.aq-split .aq-ch { display: inline-block; transition: opacity 1.2s cubic-bezier(0.3, 0.1, 0.1, 1), transform 1.2s cubic-bezier(0.3, 0.1, 0.1, 1), filter 1.2s cubic-bezier(0.3, 0.1, 0.1, 1); }
.aq-split .aq-ch.aq-from { opacity: 0; transform: translateY(4px); filter: blur(4px); }
.aq-split .aq-ch.aq-snap { transition: none !important; }
@media (prefers-reduced-motion: reduce) { .aq-split .aq-ch { transition: none !important; } }
