:root {
  --papier: #f2f4ef;  /* page */
  --vlak: #e4e9e3;    /* quiet band */
  --inkt: #17322b;    /* text, lines, "your team" */
  --mos: #4e6159;     /* secondary text */
  --lijn: #c9d1ca;    /* hairlines */
  --mint: #3ddc97;    /* signal, fill only: "Qvada" */
  --measure: 66ch;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font: 400 1.0625rem/1.6 "Schibsted Grotesk", system-ui, sans-serif;
}
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; }
:focus-visible { outline: 3px solid var(--inkt); outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.75rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.01em; }
p, ul.plain { margin: 0 0 1em; max-width: var(--measure); }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 112px) 0; }
.band { background: var(--vlak); }
.lead { font-size: 1.22rem; line-height: 1.55; color: var(--mos); max-width: 58ch; }

/* header */
.top { border-bottom: 1px solid var(--lijn); background: var(--papier); }
@media (min-width: 760px) { .top { position: sticky; top: 0; z-index: 10; } }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; min-height: 68px; flex-wrap: wrap; padding-block: 10px; }
.logo { font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo i { width: 18px; height: 18px; background: linear-gradient(90deg, var(--mint) 50%, var(--inkt) 50%); border-radius: 50%; }
.nav { display: flex; gap: 8px 24px; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; }
.nav .lang { color: var(--mos); font-weight: 400; }
@media (max-width: 600px) { .nav a[href*="#"]:not(.btn) { display: none; } } /* in-page anchors: phones just scroll */

.btn {
  display: inline-block; padding: .8em 1.35em; font-weight: 600; text-decoration: none; border-radius: 999px;
  background: var(--inkt); color: var(--papier); border: 2px solid var(--inkt);
}
.btn:hover { background: transparent; color: var(--inkt); }
.btn-ghost { background: transparent; color: var(--inkt); }
.btn-ghost:hover { background: var(--inkt); color: var(--papier); }
.nav .btn { padding: .45em 1.1em; }
.nav .btn:hover { text-decoration: none; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* hero */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { max-width: 16ch; }

/* the handover chart: the one memorable thing on the page */
.handover { margin: clamp(48px, 7vw, 80px) 0 0; }
.handover svg { width: 100%; height: auto; display: block; overflow: visible; }
.handover .q { fill: var(--mint); }
.handover .t { fill: var(--inkt); }
.handover .sep { stroke: var(--papier); stroke-width: 2; stroke-dasharray: 4 6; }
.handover text { font-family: "Schibsted Grotesk", sans-serif; font-size: 17px; }
.handover .lbl { font-weight: 700; font-size: 22px; }
.handover .phase { fill: var(--mos); font-size: 15px; }
.handover figcaption { color: var(--mos); margin-top: 18px; max-width: 60ch; }
.handover .grow { transform-origin: 0 100%; animation: grow 1.4s cubic-bezier(.2,.7,.2,1) .2s both; }
@keyframes grow { from { transform: scaleY(.2); } }
@media (prefers-reduced-motion: reduce) { .handover .grow { animation: none; } }
@media (max-width: 600px) { .handover .phase { display: none; } .handover .lbl { font-size: 40px; } }

/* recognisable situations + services: ruled columns */
.cols { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 40px; }
.col { border-top: 3px solid var(--inkt); padding-top: 20px; }
.col p { color: var(--mos); }

/* approach: a real sequence */
.steps { list-style: none; margin: 40px 0 28px; padding: 0; display: grid; gap: 32px 0; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.steps li { counter-increment: s; padding: 0 28px 0 0; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px;
  border-radius: 50%; font-weight: 700; color: var(--inkt);
  /* ring = share of the work done by your team at this step, same story as the hero chart */
  background: radial-gradient(var(--vlak) 58%, transparent 60%), conic-gradient(var(--inkt) var(--p), var(--mint) 0);
}
.steps li:nth-child(1) { --p: 15%; } .steps li:nth-child(2) { --p: 40%; }
.steps li:nth-child(3) { --p: 75%; } .steps li:nth-child(4) { --p: 100%; }
.steps p { color: var(--mos); }

.split { display: grid; gap: 40px clamp(32px, 6vw, 96px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

/* contact */
.contact { background: var(--inkt); color: var(--papier); }
.contact .lead { color: #c3d3cb; }
.contact .btn { background: var(--mint); color: var(--inkt); border-color: var(--mint); }
.contact .btn:hover { background: transparent; color: var(--mint); }
.contact :focus-visible { outline-color: var(--mint); }

.foot { padding: 32px 0; color: var(--mos); font-size: .95rem; }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* long-form pages (FDE explainer, blog posts) */
.article { max-width: 760px; }
.prose { font-size: 1.125rem; line-height: 1.7; }
.prose h2 { font-size: 1.9rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; max-width: var(--measure); }
.prose li { margin-bottom: .5em; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: 1rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--lijn); padding: 12px 16px 12px 0; text-align: left; vertical-align: top; }
.prose th { font-weight: 700; }
.prose tr.us td { font-weight: 600; }
.prose tr.us td:first-child { box-shadow: inset 4px 0 var(--mint); padding-left: 12px; }

/* blog (archive) */
.list { list-style: none; padding: 0; margin: 24px 0; max-width: 760px; }
.posts { display: grid; gap: 40px 32px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 40px; }
.post-card { text-decoration: none; display: block; }
.post-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: var(--lijn); margin-bottom: 14px; }
.post-card h3 { font-size: 1.2rem; }
.post-card:hover h3 { text-decoration: underline; }
.post-card time, .meta { color: var(--mos); }
.article .banner { aspect-ratio: 16/7; object-fit: cover; width: 100%; margin: 24px 0 32px; }
.prose hr { display: none; } /* old posts put --- under every heading */
.prose br + br { display: none; }
.prose img { margin: 1.5em 0; }
.prose pre { background: var(--vlak); padding: 16px; overflow-x: auto; }
