/* [ I FOR IT Demo ] – huisstijl palet A (navy & cyaan), lettertype Archivo (lokaal). */
@font-face { font-family: 'Archivo'; font-weight: 400; font-display: swap; src: url('/fonts/archivo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 500; font-display: swap; src: url('/fonts/archivo-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 700; font-display: swap; src: url('/fonts/archivo-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-weight: 800; font-display: swap; src: url('/fonts/archivo-latin-800-normal.woff2') format('woff2'); }

:root {
  --navy: #0B1B33; --navy-800: #13284a; --cyan: #00B4D8; --blue: #0077A8;
  --grey-50: #F5F7FA; --grey-100: #E9EDF2; --grey-300: #C9D1DB; --grey-600: #4A5668;
  --white: #fff; --green: #1E7A46; --green-bg: #E3F3EA; --amber: #8A5A00; --amber-bg: #FFF3D6; --red: #B42318; --red-bg: #FDECEA;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--navy); background: var(--grey-50); font-size: 16px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--blue); }
h1, h2, h3 { margin: 0 0 12px; line-height: 1.2; }
h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: 21px; font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
p { line-height: 1.55; }
.muted { color: var(--grey-600); }
.small { font-size: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px; z-index: 10; }

header.site { background: var(--navy); color: #fff; }
footer.site { background: var(--navy); color: #c9d3e0; margin-top: auto; font-size: 14px; }
footer.site a { color: var(--cyan); }
footer.site .muted { color: #9fb0c6; }
.bar { max-width: 1040px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.bar.wide, main.wide { max-width: 1280px; }
.home { text-decoration: none; }
.logo { font-weight: 800; font-size: 20px; color: var(--navy); white-space: nowrap; }
.logo .br { color: var(--blue); font-weight: 800; }
.logo .sub { font-weight: 500; color: var(--grey-600); }
.logo.dark { color: #fff; } .logo.dark .br { color: var(--cyan); } .logo.dark .sub { color: #b8c4d4; }
.top-nav { display: flex; gap: 18px; align-items: center; }
.top-nav a { color: #fff; text-decoration: none; font-weight: 500; }
.top-nav a:hover { color: var(--cyan); }
form.inline { display: inline; margin: 0; }
button.link { background: none; border: 0; color: #fff; font: inherit; font-weight: 500; cursor: pointer; padding: 0; }
button.link:hover { color: var(--cyan); }

main { width: 100%; max-width: 1040px; margin: 0 auto; padding: 32px 24px 56px; }
.hero { background: var(--navy); color: #fff; border-radius: 0 0 28px 28px; padding: 56px 24px 64px; margin: -32px -24px 32px; }
.hero h1 { font-size: 40px; color: #fff; max-width: 720px; }
.hero p { color: #c9d3e0; max-width: 640px; font-size: 18px; }
.hero .eyebrow { color: var(--cyan); }

.btn, button.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border: 2px solid var(--navy); border-radius: 10px; padding: 11px 18px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-800); }
.btn.accent { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.btn.outline { background: transparent; color: var(--navy); border-color: var(--grey-300); }
.btn.green { background: var(--green); border-color: var(--green); }
.btn.amber { background: #fff; color: var(--amber); border-color: #E2B14A; }
.btn.danger { background: #fff; color: var(--red); border-color: var(--red); }
.btn.small { padding: 6px 12px; font-size: 14px; }
.top-nav .btn.small { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }

.card { background: #fff; border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(11,27,51,.04); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .grid2 { grid-template-columns: 1fr; } .hero h1 { font-size: 30px; } }
.section { margin-top: 32px; }

.project-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; text-decoration: none; color: inherit; }
.project-card > img, .project-card .noimg { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: var(--grey-100); display: block; }
.project-card .noimg { display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 28px; color: var(--grey-300); }
.project-card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
a.project-card:hover { border-color: var(--blue); }

.badge { display: inline-block; border-radius: 999px; padding: 3px 11px; font-size: 13px; font-weight: 700; background: var(--grey-100); color: var(--grey-600); }
.badge.review, .badge.open { background: var(--amber-bg); color: var(--amber); }
.badge.approved, .badge.live, .badge.done { background: var(--green-bg); color: var(--green); }
.badge.changes_requested { background: var(--red-bg); color: var(--red); }
.badge.development, .badge.in_progress { background: #E1F1F8; color: var(--blue); }

.links { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.link-card { border: 2px solid var(--grey-100); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.link-card:hover { border-color: var(--cyan); }
.link-card b { color: var(--navy); }
.link-card .go { color: var(--blue); font-weight: 700; font-size: 14px; }
.cred { background: var(--grey-50); border-radius: 10px; padding: 10px 12px; font-size: 14px; white-space: pre-wrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 22px; margin-top: 26px; align-items: end; }
.shots.narrow { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 760px) { .shots { gap: 20px 14px; } }
.shots.narrow figure, .admin-shots figure.is-phone .device { max-width: 210px; margin-left: auto; margin-right: auto; width: 100%; }
.shots figure { margin: 0; }
.shots figure > a { display: block; text-decoration: none; }
.shots figcaption { font-size: 13px; color: var(--grey-600); margin-top: 10px; text-align: center; }
.admin-shots figure .row { justify-content: center; margin-top: 8px; }
.admin-shots select { width: auto; padding: 5px 8px; }

/* Apparaatframes (laptop, tablet, telefoon). Randen in % zodat ze op elke grootte kloppen. */
.device { position: relative; filter: drop-shadow(0 10px 18px rgba(11,27,51,.18)); }
.device .screen { position: relative; overflow: hidden; background: #0d1018; }
.device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border: 0; border-radius: 0; background: #fff; }
.device.laptop { padding: 0 5.5%; }
.device.laptop .lid { background: linear-gradient(#262d3b, #161b26); padding: 2.4% 2.4% 3.2%; border-radius: 3.2% / 5%; }
.device.laptop .screen { aspect-ratio: 16 / 10; border-radius: .4%; }
.device.laptop .base { position: relative; margin: 0 -6.2%; padding-top: 2.8%; background: linear-gradient(#dfe3ea 0%, #c3c9d3 45%, #8a93a2 100%); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.device.laptop .base::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 15%; height: 42%; background: #a9b0bc; border-radius: 0 0 8px 8px; }
.device.tablet { background: linear-gradient(145deg, #2a3140, #10141c); padding: 3.4%; border-radius: 5.5% / 7.8%; }
.device.tablet .screen { aspect-ratio: 10 / 7; border-radius: 1.6% / 2.3%; }
.device.tablet img { object-position: left top; }
.device.phone { background: linear-gradient(145deg, #2d3341, #0c0f16); padding: 3.8%; border-radius: 16% / 7.4%; }
.device.phone .screen { border-radius: 12.5% / 5.8%; display: flex; flex-direction: column; background: #fff; container-type: inline-size; }
.device.phone img { flex: none; height: auto; }
.device.phone .statusbar { flex: none; height: 11.5cqw; display: flex; align-items: center; justify-content: space-between; padding: 1.5cqw 8.5cqw 0 10cqw; font-size: 4.3cqw; font-weight: 700; color: #0B1B33; background: #fff; }
.device.phone .statusbar .icons { display: flex; gap: 1.4cqw; align-items: center; }
.device.phone .statusbar i { display: block; width: 3.6cqw; height: 2.6cqw; background: #0B1B33; border-radius: .6cqw; }
.device.phone .statusbar i:last-child { width: 6cqw; height: 2.8cqw; border-radius: .9cqw; }
.device.phone .screen::before { content: ''; position: absolute; z-index: 1; top: 1.3%; left: 50%; transform: translateX(-50%); width: 31%; aspect-ratio: 3.3 / 1; background: #05070b; border-radius: 999px; }

/* Laptop, tablet en telefoon samen */
.devices { position: relative; aspect-ratio: 16 / 10.4; }
.devices .d-laptop { position: absolute; left: 0; top: 0; width: 78%; }
.devices .d-tablet { position: absolute; right: 11%; bottom: 0; width: 38%; }
.devices .d-phone { position: absolute; right: 0; bottom: 0; width: 15%; }
.trio-hero { background: radial-gradient(ellipse at 30% 20%, #ffffff 0%, #e8eff6 60%, #dbe5ef 100%); border: 1px solid var(--grey-100); border-radius: var(--radius); padding: 36px 40px 30px; }
.trio-hero .devices { max-width: 980px; margin: 0 auto; }
.project-card .thumb { background: radial-gradient(ellipse at 30% 20%, #ffffff 0%, #e8eff6 60%, #dbe5ef 100%); padding: 18px 20px 14px; border-bottom: 1px solid var(--grey-100); }
.project-card .thumb .device { filter: drop-shadow(0 4px 8px rgba(11,27,51,.18)); }
@media (max-width: 760px) { .trio-hero { padding: 18px 14px 14px; } }

label.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], select, textarea {
  font: inherit; color: var(--navy); border: 2px solid var(--grey-300); border-radius: 10px; padding: 10px 12px; background: #fff; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); }
textarea { min-height: 110px; resize: vertical; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.flash { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; }
.flash.ok { background: var(--green-bg); color: var(--green); }
.flash.error { background: var(--red-bg); color: var(--red); }

.thread { display: flex; flex-direction: column; gap: 12px; }
.msg { border-left: 4px solid var(--grey-100); padding: 4px 0 4px 14px; }
.msg.admin { border-color: var(--cyan); }
.msg .meta { font-size: 13px; color: var(--grey-600); margin-bottom: 4px; }
.msg img { max-width: 360px; width: 100%; border-radius: 8px; border: 1px solid var(--grey-100); margin-top: 8px; }
.replies { margin-left: 18px; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }

.decision { border: 2px solid var(--amber-bg); background: #FFFCF3; }
.decision.approved { border-color: var(--green-bg); background: #F6FCF8; }
.decision.changes_requested { border-color: var(--red-bg); background: #FFF8F7; }

table { width: 100%; border-collapse: collapse; background: #fff; }
th { text-align: left; font-size: 13px; color: var(--grey-600); padding: 10px 12px; border-bottom: 2px solid var(--grey-100); }
td { padding: 11px 12px; border-bottom: 1px solid var(--grey-100); vertical-align: top; }
.secret { background: var(--amber-bg); border-radius: 10px; padding: 14px; font-weight: 700; }
.secret code { font-size: 18px; }
details summary { cursor: pointer; font-weight: 700; color: var(--blue); }
.login-box { max-width: 420px; margin: 24px auto; }
.btn.on-dark { background: transparent; color: #fff; border-color: #3b5070; }
.btn.on-dark:hover { border-color: var(--cyan); }
