/* Keuzepagina op mikofy.com: links de webdesignwereld (Mikofy-groen, Unbounded), rechts Mikofy Engine (grafiet, Host Grotesk). */
:root { --web: #0F1A12; --lime: #9FE870; --eng: #0E1611; --sig: #9FE870; --tx: #ECEDEA; --tx2: #A9B0AA; --ok: #9FE870; --wait: #F0B23A; --ease: cubic-bezier(.16, 1, .3, 1); }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--eng); color: var(--tx); font: 400 16px/1.5 'Host Grotesk', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--lime); color: var(--web); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
img { display: block; max-width: 100%; }

.k-top { position: fixed; z-index: 5; top: 0; left: 0; right: 0; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(16px, 3vw, 40px); pointer-events: none; }
.k-top > * { pointer-events: auto; }
.k-logo img { height: 26px; width: auto; }
.k-lang { display: flex; gap: 2px; font: 400 13px/1 'Fragment Mono', ui-monospace, monospace; }
.k-lang a { padding: 8px 9px; border-radius: 4px; color: var(--tx2); }
.k-lang a[aria-current] { color: var(--tx); background: rgba(236, 237, 234, .1); }

.k { display: flex; min-height: 100vh; min-height: 100svh; position: relative; }
.k-q { position: absolute; z-index: 4; top: 88px; left: clamp(20px, 4vw, 64px); margin: 0; text-align: left; font: 500 16px/1.4 'Host Grotesk', system-ui, sans-serif; color: var(--tx2); pointer-events: none; }

.k-half { flex: 1 1 0; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; padding: 150px clamp(20px, 4vw, 64px) clamp(32px, 5vw, 64px); overflow: hidden; transition: flex-grow .7s var(--ease); }
.k-web { background: var(--web); }
.k-eng { background: var(--lime); color: var(--web); }
.k-half.k-eng p { color: #23401F; }
.k-eng:focus-visible { outline-color: var(--web); }
@media (hover: hover) and (min-width: 861px) {
  .k:has(.k-half:hover) .k-half:not(:hover) .k-body, .k:has(.k-half:hover) .k-half:not(:hover) .k-show { opacity: .45; }
  .k-half:hover { flex-grow: 1.22; }
}
.k-body, .k-show { flex: none; transition: opacity .5s var(--ease); }

.k-half h2 { margin: 0; max-width: 13em; text-wrap: balance; }
.k-web h2 { font: 700 clamp(34px, 3.8vw, 60px)/1.04 'Unbounded', system-ui, sans-serif; letter-spacing: -.02em; }
.k-eng h2 { font: 600 clamp(38px, 4.4vw, 70px)/1 'Host Grotesk', system-ui, sans-serif; letter-spacing: -.04em; }
.k-half p { margin: 16px 0 0; max-width: 30em; color: var(--tx2); font-size: clamp(16px, 1.2vw, 18px); }
.k-web p { font-family: 'Geist', system-ui, sans-serif; }
.k-go { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; min-height: 52px; padding: 0 22px; border-radius: 4px; font-weight: 600; font-size: 17px; transition: background .25s; }
.k-go svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.k-half:hover .k-go svg, .k-half:focus-visible .k-go svg { transform: translateX(4px); }
.k-web .k-go { background: var(--lime); color: var(--web); font-family: 'Geist', system-ui, sans-serif; border-radius: 999px; } /* Geist en de ronde knop zijn de huisstijl van de webdesign-site zelf */
.k-eng .k-go { background: var(--web); color: var(--lime); }

/* webdesign: drie echte projecten, rustig gestapeld */
.k-web .k-show { position: relative; height: clamp(200px, 30vh, 320px); }
.k-web .k-show img { position: absolute; height: 80%; width: auto; max-width: 68%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 8px; border: 1px solid rgba(159, 232, 112, .22); transition: transform .8s var(--ease); }
.k-web .k-show img:nth-child(1) { left: 0; top: 20%; z-index: 1; }
.k-web .k-show img:nth-child(2) { left: 16%; top: 10%; z-index: 2; }
.k-web .k-show img:nth-child(3) { left: 32%; top: 0; z-index: 3; }
.k-web:hover .k-show img:nth-child(1) { transform: translateX(-4%); }
.k-web:hover .k-show img:nth-child(3) { transform: translateX(6%); }

/* engine: een logboek dat loopt */
.k-eng .k-show { height: clamp(200px, 30vh, 320px); display: flex; align-items: flex-end; }
.k-con { width: min(100%, 540px); border-radius: 4px; background: #0E1611; color: var(--tx); padding: 16px 18px 6px; font: 400 13px/1.4 'Fragment Mono', ui-monospace, monospace; }
.k-con-h { display: flex; justify-content: space-between; gap: 12px; color: var(--tx2); font-size: 12px; }
.k-st { display: inline-flex; align-items: center; gap: 8px; color: var(--tx); }
.k-st i { width: 8px; height: 8px; border-radius: 50%; background: var(--wait); }
.k-rail { display: flex; justify-content: space-between; position: relative; margin: 16px 0 10px; }
.k-rail::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(236, 237, 234, .13); }
.k-rail i { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(236, 237, 234, .25); background: #0E1611; }
.k-rail i.ok { background: var(--lime); border-color: var(--lime); }
.k-rail i.wait { background: var(--wait); border-color: var(--wait); }
.k-log { list-style: none; margin: 0; padding: 0; }
.k-log li { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 9px 0; border-top: 1px solid rgba(236, 237, 234, .12); }
.k-log time { color: var(--tx2); }
.k-log b { font-weight: 400; }
.k-log .ok { color: var(--lime); }
.k-log .wait { color: var(--wait); }
.js .k-log li { opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.js .k-log li.on { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .k { flex-direction: column; }
  .k-q { position: static; padding: 84px 16px 0; background: var(--web); text-align: left; }
  .k-half { flex: none; }
  .k-half { padding: 28px 16px 36px; gap: 26px; }
  .k-web { padding-top: 20px; }

  .k-web .k-show { height: 170px; }
  .k-web .k-show img { max-width: 62%; }
  .k-log li:nth-child(n+3) { display: none; }
  .k-eng .k-show { height: auto; }
  .k-go { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .js .k-log li { opacity: 1; transform: none; } }
@media (min-width: 861px) {
  /* taalkeuze staat boven de lime helft */
  .k-lang a { color: #23401F; }
  .k-lang a[aria-current] { color: var(--web); background: rgba(15, 26, 18, .12); }
  .k-lang a:focus-visible { outline-color: var(--web); }
}

/* Voet met bedrijfsgegevens (art. 3:15d BW) en skip-link */
.k-skip { position: absolute; left: -999px; top: 12px; z-index: 10; padding: 12px 18px; border-radius: 4px; background: var(--lime); color: var(--web); font-weight: 600; }
.k-skip:focus { left: 16px; }
.k-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 18px clamp(16px, 3vw, 40px) 22px; background: var(--eng); color: var(--tx2); font: 400 13px/1.6 'Fragment Mono', ui-monospace, monospace; }
.k-foot p { margin: 0; overflow-wrap: anywhere; }
.k-foot nav { display: flex; gap: 20px; }
.k-foot a { display: inline-block; padding: 10px 0; margin: -10px 0; }
.k-foot a:hover { color: var(--lime); }
