/* Priojects – priojects.be */

@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #1B2A3A;
  --ink-2: #24364a;
  --green: #1FA37A;
  --green-dark: #17805f;
  --blue: #1E5BC6;
  --sand: #F5F2EC;
  --light: #EEF3F7;
  --greyblue: #B9C3CE;
  --text: #1B2A3A;
  --muted: #4f5f70;
  --line: #d5dde5;
  --display: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1120px;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--display);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; max-width: 20ch; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--sand); color: var(--ink); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

/* ---------- Top bar ---------- */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.topbar.is-scrolled { box-shadow: 0 1px 0 rgba(185,195,206,.15), 0 8px 24px rgba(10,20,30,.25); }
.topbar.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .topbar { transition: none; } }

.topbar__inner {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.topbar__logo { margin-right: auto; }
.topbar__logo img { height: 32px; width: auto; }

.menu ul {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
  font-family: var(--display); font-weight: 600; font-size: 0.95rem;
}
.menu a { color: var(--sand); text-decoration: none; }
.menu a:hover { color: #fff; text-decoration: underline; }

.lang { display: flex; gap: 2px; font-family: var(--display); font-weight: 700; font-size: 0.85rem; }
.lang a, .lang span {
  padding: 4px 8px; border-radius: 6px; text-decoration: none; color: var(--greyblue);
}
.lang [aria-current] { background: rgba(245, 242, 236, 0.12); color: var(--sand); }
.lang a:hover { color: var(--sand); }

/* Menu button: the three bars of the P */
.burger {
  display: none;
  background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.burger__bars { display: grid; gap: 4px; width: 24px; }
.burger__bars i { display: block; height: 4px; background: var(--sand); border-radius: 0 3px 3px 0; transition: transform .2s ease, opacity .2s ease, width .2s ease; }
.burger__bars i:first-child { background: var(--green); }
.burger__bars i:last-child { width: 45%; }
.is-open .burger__bars i:first-child { transform: translateY(8px) rotate(45deg); border-radius: 2px; }
.is-open .burger__bars i:nth-child(2) { opacity: 0; }
.is-open .burger__bars i:last-child { width: 100%; transform: translateY(-8px) rotate(-45deg); border-radius: 2px; }

@media (max-width: 899px) {
  .topbar .menu--simple { position: static; display: block; background: none; border: 0; box-shadow: none; }
  .menu--simple ul { padding: 0; font-size: .95rem; }
  .menu--simple a { border: 0; padding: 0; }
  .burger { display: block; }
  .topbar__inner { gap: 12px; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ink);
    border-top: 1px solid rgba(185,195,206,.15);
    box-shadow: 0 16px 32px rgba(10,20,30,.35);
    display: none;
  }
  .is-open .menu { display: block; }
  .menu ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--pad) 20px; font-size: 1.15rem; }
  .menu a { display: block; padding: 14px 0; border-bottom: 1px solid rgba(185,195,206,.12); }
  .menu li:last-child a { border-bottom: 0; }
}

/* ---------- Hero ---------- */

.hero {
  background: var(--ink);
  color: var(--sand);
  padding-top: 76px;
}

.hero__body {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 1fr);
  gap: 48px;
  padding-top: clamp(32px, 3.1vw + 20px, 64px);
  padding-bottom: clamp(56px, 5vw + 36px, 104px);
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-bottom: 18px;
  text-wrap: balance;
}
.hero__slogan {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: var(--greyblue);
  margin-bottom: 32px;
}
.hero__intro {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #dfe4ea;
  max-width: 58ch;
  margin-bottom: 36px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); }
.btn--ghost { border-color: rgba(245, 242, 236, 0.4); color: var(--sand); }
.btn--ghost:hover { border-color: var(--sand); }

/* The P mark: as tall as the text block, from the top of the headline to the bottom of the buttons */
.hero__mark { position: relative; }
.hero__mark svg {
  position: absolute;
  top: 0.11em; /* optical: top of the capitals in the headline */
  bottom: 0;
  right: 0;
  height: calc(100% - 0.11em);
  width: 100%;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
}
.hero__mark .b1 { fill: var(--green); }
.hero__mark .b2, .hero__mark .b3 { fill: var(--sand); }

@media (prefers-reduced-motion: no-preference) {
  .hero__mark path { transform-box: fill-box; transform-origin: left center; animation: grow .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__mark .b3 { animation-delay: .15s; }
  .hero__mark .b2 { animation-delay: .3s; }
  .hero__mark .b1 { animation-delay: .55s; animation-duration: .8s; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Below 1120px: no P, the text gets the full width */
@media (max-width: 1119px) {
  .hero__body { grid-template-columns: 1fr; }
  .hero__mark { display: none; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--light { background: var(--light); }
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; margin-top: 18px; margin-bottom: 0; }

/* Offer */
.offer { border-top: 2px solid var(--ink); }
.offer__row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.offer__row h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; }
.offer__row p { margin: 0; color: var(--muted); max-width: 60ch; }
.offer__note {
  margin-top: 36px;
  font-size: 1.1rem;
  max-width: 62ch;
}

/* Approach */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: minmax(260px, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 16px 40px;
}
.step__bar {
  display: flex; align-items: center; gap: 18px;
  background: var(--ink);
  color: var(--sand);
  padding: 20px 28px;
  min-height: 84px;
  border-radius: 0 60px 60px 0;
  font-family: var(--display);
}
.step:first-child .step__bar { background: var(--green); color: #fff; }
.step__num { font-weight: 800; font-size: 1.05rem; opacity: .7; font-variant-numeric: tabular-nums; }
.step__bar h3 { font-size: 1.25rem; font-weight: 800; }
.step p { margin: 0; color: var(--muted); max-width: 56ch; }

/* Why */
.traits {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 56px;
}
.traits li { position: relative; padding-left: 34px; font-size: 1.05rem; }
.traits li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 20px; height: 8px; background: var(--green);
  border-radius: 0 6px 6px 0;
}

.stories {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 56px;
}
.stories h3 { margin-bottom: 10px; }
.story { border-top: 2px solid var(--ink); padding-top: 22px; }
.story p { margin: 0; color: var(--muted); }
.stories__title { font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; margin: clamp(56px, 7vw, 88px) 0 0; }
.stories__title + .stories { margin-top: 28px; }

/* Experience */
.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.timeline li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 40px;
  padding: 28px 0;
  border-bottom: 1px solid #c9d3dd;
}
.timeline__when {
  font-family: var(--display); font-weight: 700; color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.timeline h3 { margin-bottom: 4px; }
.timeline__org { font-weight: 600; margin-bottom: 8px; }
.timeline p:last-child { margin-bottom: 0; color: var(--muted); max-width: 64ch; }
.timeline li.is-current .timeline__when { color: var(--green-dark); }

.edu { margin-top: 32px; color: var(--muted); }
.edu strong { color: var(--text); }

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 6vw, 88px);
  align-items: start;
}
.about__photo {
  max-width: 380px;
  background: var(--light);
  border-radius: 0 28% 28% 0 / 0 22% 22% 0;
  overflow: hidden;
}
.about__photo img { width: 100%; filter: grayscale(1); mix-blend-mode: multiply; }
.about__text h2 { margin-bottom: 28px; }
.about__text p { max-width: 62ch; }
.facts {
  display: grid; grid-template-columns: max-content 1fr;
  gap: 10px 28px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line);
}
.facts dt { font-family: var(--display); font-weight: 700; }
.facts dd { margin: 0; color: var(--muted); }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 40px clamp(40px, 6vw, 88px);
}
.contact__direct { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.contact__direct span { display: block; font-size: .9rem; color: var(--muted); }
.contact__direct a { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration-color: var(--green); }

.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-family: var(--display); font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.field .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1.5px solid #b7c3cf;
  border-radius: 10px;
  padding: 12px 14px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(31,163,122,.25); }
.form .btn { justify-self: start; }
.form__small { font-size: .9rem; color: var(--muted); margin: 0; }
.form__status { margin: 0; font-weight: 600; }
.form__status.ok { color: var(--green-dark); }
.form__status.err { color: var(--ink); background: #fff4d6; padding: 10px 14px; border-radius: 8px; }
.hp { position: absolute; left: -5000px; }

/* Footer */
.footer { background: var(--ink); color: var(--greyblue); padding: 56px 0 40px; font-size: .95rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer__brand img { height: 30px; width: auto; margin-bottom: 10px; }
.footer__brand p { font-family: var(--display); font-weight: 500; margin: 0; }
.footer address { font-style: normal; line-height: 1.7; }
.footer a { color: var(--sand); }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(185,195,206,.25); display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Legal page */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 12px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; max-width: none; }
.legal ul { padding-left: 1.2em; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .offer__row, .step, .about, .contact { grid-template-columns: 1fr; }
  .step { gap: 12px; }
  .step p { padding-left: 4px; }
  .traits, .stories { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .form__row { grid-template-columns: 1fr; }
  .about__photo { max-width: 260px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  .topbar__logo img { height: 28px; }
  .step__bar { padding: 16px 22px; min-height: 70px; }
}

/* Skills per role */
.chips { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-size: .88rem; font-weight: 500; color: var(--ink);
  background: var(--light); border-radius: 0 999px 999px 0;
  padding: 5px 14px 5px 12px; border-left: 3px solid var(--green);
}
.story--wide { grid-column: 1 / -1; }
.story--wide p { max-width: 80ch; }
.section--light .about__photo { background: #fff; }
