/*
 Janson IT Solutions theme. Loads after styles.css (Bootstrap grid + reboot).
 Brand: ink #1c2040, periwinkle #666ae0, teal #33c3b5, amber #f5a524, gray #8c8c8c.
 Service colour codes: periwinkle = Websites & hosting, teal = Maatwerk software, amber = Automatisering.
*/

:root {
  --ink: #1c2040;
  --ink-deep: #151832;
  --ink-raised: #262b52;
  --paper: #f4f5fa;
  --white: #fff;
  --line: #dcdeec;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text: #1c2040;
  --muted: #555a78;
  --muted-dark: #b7badb;
  --peri: #666ae0;
  --peri-text: #4c50c8;
  --teal: #33c3b5;
  --teal-dark: #269288;
  --amber: #f5a524;
  --gray: #8c8c8c;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 0.75rem;
  --radius: 1.5rem;
  --pill: 999px;

  --vp-narrow: 375px;
  --vp-medium: 768px;
  --vp-wide: 1280px;

  --section-y: clamp(4rem, 9vw, 7.5rem);
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --circuit-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 304 304' width='304' height='304'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M44.1 224a5 5 0 1 1 0 2H0v-2h44.1zm160 48a5 5 0 1 1 0 2H82v-2h122.1zm57.8-46a5 5 0 1 1 0-2H304v2h-42.1zm0 16a5 5 0 1 1 0-2H304v2h-42.1zm6.2-114a5 5 0 1 1 0 2h-86.2a5 5 0 1 1 0-2h86.2zm-256-48a5 5 0 1 1 0 2H0v-2h12.1zm185.8 34a5 5 0 1 1 0-2h86.2a5 5 0 1 1 0 2h-86.2zM258 12.1a5 5 0 1 1-2 0V0h2v12.1zm-64 208a5 5 0 1 1-2 0v-54.2a5 5 0 1 1 2 0v54.2zm48-198.2V80h62v2h-64V21.9a5 5 0 1 1 2 0zm16 16V64h46v2h-48V37.9a5 5 0 1 1 2 0zm-128 96V208h16v12.1a5 5 0 1 1-2 0V210h-16v-76.1a5 5 0 1 1 2 0zm-5.9-21.9a5 5 0 1 1 0 2H114v48H85.9a5 5 0 1 1 0-2H112v-48h12.1zm-6.2 130a5 5 0 1 1 0-2H176v-74.1a5 5 0 1 1 2 0V242h-60.1zm-16-64a5 5 0 1 1 0-2H114v48h10.1a5 5 0 1 1 0 2H112v-48h-10.1zM66 284.1a5 5 0 1 1-2 0V274H50v30h-2v-32h18v12.1zM236.1 176a5 5 0 1 1 0 2H226v94h48v32h-2v-30h-48v-98h12.1zm25.8-30a5 5 0 1 1 0-2H274v44.1a5 5 0 1 1-2 0V146h-10.1zm-64 96a5 5 0 1 1 0-2H208v-80h16v-14h-42.1a5 5 0 1 1 0-2H226v18h-16v80h-12.1zm86.2-210a5 5 0 1 1 0 2H272V0h2v32h10.1zM98 101.9V146H53.9a5 5 0 1 1 0-2H96v-42.1a5 5 0 1 1 2 0zM53.9 34a5 5 0 1 1 0-2H80V0h2v34H53.9zm60.1 3.9V66H82v64H69.9a5 5 0 1 1 0-2H80V64h32V37.9a5 5 0 1 1 2 0zM101.9 82a5 5 0 1 1 0-2H128V37.9a5 5 0 1 1 2 0V82h-28.1zm16-64a5 5 0 1 1 0-2H146v44.1a5 5 0 1 1-2 0V18h-26.1zm102.2 270a5 5 0 1 1 0 2H98v14h-2v-16h124.1zM242 149.9V160h16v34h-16v62h48v48h-2v-46h-48v-66h16v-30h-16v-12.1a5 5 0 1 1 2 0zM53.9 18a5 5 0 1 1 0-2H64V2H48V0h18v18H53.9zm112 32a5 5 0 1 1 0-2H192V0h50v2h-48v48h-28.1zm-48-48a5 5 0 0 1-9.8-2h2.07a3 3 0 1 0 5.66 0H178v34h-18V21.9a5 5 0 1 1 2 0V32h14V2h-58.1zm0 96a5 5 0 1 1 0-2H137l32-32h39V21.9a5 5 0 1 1 2 0V66h-40.17l-32 32H117.9zm28.1 90.1a5 5 0 1 1-2 0v-76.51L175.59 80H224V21.9a5 5 0 1 1 2 0V82h-49.59L146 112.41v75.69zm16 32a5 5 0 1 1-2 0v-99.51L184.59 96H300.1a5 5 0 0 1 3.9-3.9v2.07a3 3 0 0 0 0 5.66v2.07a5 5 0 0 1-3.9-3.9H185.41L162 121.41v98.69zm-144-64a5 5 0 1 1-2 0v-3.51l48-48V48h32V0h2v50H66v55.41l-48 48v2.69zM50 53.9v43.51l-48 48V208h26.1a5 5 0 1 1 0 2H0v-65.41l48-48V53.9a5 5 0 1 1 2 0zm-16 16V89.41l-34 34v-2.82l32-32V69.9a5 5 0 1 1 2 0zM12.1 32a5 5 0 1 1 0 2H9.41L0 43.41V40.6L8.59 32h3.51zm265.8 18a5 5 0 1 1 0-2h18.69l7.41-7.41v2.82L297.41 50H277.9zm-16 160a5 5 0 1 1 0-2H288v-71.41l16-16v2.82l-14 14V210h-28.1zm-208 32a5 5 0 1 1 0-2H64v-22.59L40.59 194H21.9a5 5 0 1 1 0-2H41.41L66 216.59V242H53.9zm150.2 14a5 5 0 1 1 0 2H96v-56.6L56.6 162H37.9a5 5 0 1 1 0-2h19.5L98 200.6V256h106.1zm-150.2 2a5 5 0 1 1 0-2H80v-46.59L48.59 178H21.9a5 5 0 1 1 0-2H49.41L82 208.59V258H53.9zM34 39.8v1.61L9.41 66H0v-2h8.59L32 40.59V0h2v39.8zM2 300.1a5 5 0 0 1 3.9 3.9H3.83A3 3 0 0 0 0 302.17V256h18v48h-2v-46H2v42.1zM34 241v63h-2v-62H0v-2h34v1zM17 18H0v-2h16V0h2v18h-1zm273-2h14v2h-16V0h2v16zm-32 273v15h-2v-14h-14v14h-2v-16h18v1zM0 92.1A5.02 5.02 0 0 1 6 97a5 5 0 0 1-6 4.9v-2.07a3 3 0 1 0 0-5.66V92.1zM80 272h2v32h-2v-32zm37.9 32h-2.07a3 3 0 0 0-5.66 0h-2.07a5 5 0 0 1 9.8 0zM5.9 0A5.02 5.02 0 0 1 0 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 0 0 0 0 6zM17 84a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm32 64a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm16-16a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'%3E%3C/path%3E%3C/svg%3E");
}

/* Base */
body {
  font-family: var(--font-body);
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1, h2, h3, h4, h5,
.h1, .h2, .h3, .h4, .h5 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: inherit;
  overflow-wrap: break-word;
}

h2, .h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
}

p {
  line-height: 1.65;
}

b,
strong {
  font-weight: 600;
}

a {
  color: var(--peri-text);
}

a:hover {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--peri-text);
  outline-offset: 3px;
}

.on-ink :focus-visible {
  outline-color: var(--teal);
}

.wrap {
  width: 100%;
  max-width: var(--vp-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
}

.section-paper {
  background-color: var(--paper);
}

.on-ink {
  background-color: var(--ink);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background-color: var(--teal);
}

.on-ink .eyebrow {
  color: var(--muted-dark);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head p:not(.eyebrow) {
  font-size: 1.125rem;
  color: var(--muted);
  margin: 1rem 0 0;
}

.on-ink .section-head p:not(.eyebrow) {
  color: var(--muted-dark);
}

/* Subtle circuit: only in the hero and the contact block, faded out by a mask */
.circuit-fade {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.circuit-fade::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--circuit-light);
  background-size: 304px;
  opacity: 0.1;
  -webkit-mask-image: radial-gradient(ellipse 60% 85% at 100% 0%, #000 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 85% at 100% 0%, #000 15%, transparent 80%);
  pointer-events: none;
}

.circuit-fade.from-bottom-left::before {
  -webkit-mask-image: radial-gradient(ellipse 55% 80% at 0% 100%, #000 15%, transparent 80%);
  mask-image: radial-gradient(ellipse 55% 80% at 0% 100%, #000 15%, transparent 80%);
}

/* Buttons */
.btn-jits {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-jits i {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.btn-jits:hover i {
  transform: translateX(3px);
}

.btn-primary-jits {
  background-color: var(--teal);
  color: var(--ink);
}

.btn-primary-jits:hover {
  background-color: #5fd3c8;
  color: var(--ink);
}

.btn-primary-jits:disabled {
  background-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.btn-ghost-jits {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.btn-ghost-jits:hover {
  border-color: var(--white);
  color: var(--white);
}

.btn-ink-jits {
  background-color: var(--ink);
  color: var(--white);
}

.btn-ink-jits:hover {
  background-color: var(--ink-raised);
  color: var(--white);
}

/* Navigation */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.nav-logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: var(--pill);
  color: var(--text);
  font-weight: 400;
  text-decoration: none;
}

.nav-links a:not(.btn-jits) {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-links a[aria-current="page"] {
  text-decoration-thickness: 3px;
}

.nav-links a:hover {
  color: var(--peri-text);
}

.nav-links .btn-jits {
  margin-left: 0.75rem;
  padding: 0.6rem 1.25rem;
  color: var(--white);
}

.nav-links .btn-jits:hover {
  color: var(--white);
}

.nav-menu {
  display: none;
  position: relative;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0 1rem;
  font-weight: 600;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu[open] summary .fa-bars::before {
  content: "\f00d";
}

.nav-menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  min-width: 14rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(28, 32, 64, 0.07);
}

.nav-menu ul a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.9rem;
  border-radius: 0.5rem;
  color: var(--text);
  font-weight: 400;
  text-decoration: none;
}

.nav-menu ul a:hover {
  background-color: var(--paper);
}

@media (max-width: 767.98px) {
  .nav-menu {
    display: block;
  }

  .site-nav .wrap {
    gap: 0.5rem;
  }

  .nav-logo img {
    height: 28px;
  }

  .nav-links a {
    padding: 0 0.6rem;
  }

  .nav-links .btn-jits {
    margin-left: 0.25rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.875rem;
  }
}

/* Hero */
.hero {
  padding-block: clamp(4.5rem, 11vw, 9rem) clamp(3rem, 6vw, 5rem);
}

.hero h1 {
  max-width: 15ch;
  margin: 0 0 1.75rem;
  font-size: clamp(2.6rem, 7.2vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.hero h1 .accent {
  color: var(--teal);
}

.hero-lead {
  max-width: 36rem;
  margin: 0 0 2.5rem;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--muted-dark);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: clamp(4rem, 8vw, 6.5rem) 0 0;
  padding: 2rem 0 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--muted-dark);
}

@media (max-width: 767.98px) {
  .hero-stats {
    gap: 1rem;
  }

  .hero-stats span {
    font-size: 0.75rem;
  }
}

/* Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.service-card {
  --service: var(--peri);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-card.is-teal {
  --service: var(--teal);
}

.service-card.is-amber {
  --service: var(--amber);
}

.service-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.service-tag::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background-color: var(--service);
}

.service-card img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: 150px;
  margin: 1.5rem auto;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

@media (hover: hover) {
  .service-card:hover {
    border-color: var(--service);
    box-shadow: 0 16px 40px rgba(28, 32, 64, 0.06);
  }
}

@media (max-width: 991.98px) {
  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    display: grid;
    grid-template-columns: 1fr 140px;
    grid-template-areas:
      "tag img"
      "title img"
      "text img";
    column-gap: 1.5rem;
    align-items: start;
  }

  .service-tag { grid-area: tag; }
  .service-card h3 { grid-area: title; margin-top: 1rem; }
  .service-card p { grid-area: text; }

  .service-card img {
    grid-area: img;
    height: 110px;
    margin: 0;
  }
}

@media (max-width: 767.98px) {
  .service-card {
    display: flex;
    padding: 1.5rem;
  }

  .service-card img {
    height: 120px;
    margin: 1rem auto;
  }

  .service-card h3 {
    margin-top: 0;
  }
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-text {
  font-size: 1.125rem;
  color: var(--muted);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 2rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.9rem;
  border-right: 2px solid var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  transform: rotate(45deg);
}

@media (max-width: 767.98px) {
  .about {
    grid-template-columns: 1fr;
  }

  .checklist {
    grid-template-columns: 1fr;
  }
}

.about .text-link {
  margin-top: 1.5rem;
}

/* Werkwijze */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding-top: 1.5rem;
  border-top: 2px solid var(--teal);
  counter-increment: step;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--teal);
}

.steps h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.steps p {
  margin: 0;
  color: var(--muted-dark);
}

@media (max-width: 991.98px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* News */
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.head-row h2 {
  margin: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--peri-text);
  font-weight: 600;
  text-decoration: none;
}

.text-link i {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}

.text-link:hover {
  color: var(--ink);
}

.text-link:hover i {
  transform: translateX(3px);
}

.blog-card {
  display: block;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  color: var(--muted);
}

@media (hover: hover) {
  .blog-card:hover {
    border-color: var(--peri);
    box-shadow: 0 16px 40px rgba(28, 32, 64, 0.06);
  }
}

.blog-card h3 {
  max-width: 40ch;
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  color: var(--text);
}

.blog-card p {
  max-width: 65ch;
}

.blog-card .text-link {
  min-height: 0;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--peri-text);
  font-weight: 400;
}

.blog-tag.urgent {
  color: #b02a37;
}

.blog-date {
  color: var(--muted);
}

.blog-date::before {
  content: "/";
  margin-right: 0.75rem;
  color: var(--line);
}

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.faq-layout .section-head {
  margin-bottom: 0;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq {
  border-bottom: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 44px;
  padding: 1.35rem 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--peri-text);
}

.faq.open .faq-question::after {
  content: "\2212";
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.faq-question:hover {
  color: var(--peri-text);
}

.faq-answer {
  display: none;
  max-width: 60ch;
  padding: 0 3.5rem 1.5rem 0;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

@media (max-width: 767.98px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-answer {
    padding-right: 0;
  }
}

/* Partners */
.partners-head {
  margin-bottom: 2.5rem;
  text-align: center;
}

.partners-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.partner-track-wrapper {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}

.partner-track:hover {
  animation-play-state: paused;
}

.partner-logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
}

.partner-logo-item img {
  height: var(--h, 56px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo-item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-direct {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-direct li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-dark);
}

.contact-direct i {
  width: 1.25rem;
  color: var(--teal);
}

.contact-direct a {
  color: var(--white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 4px;
}

.contact-direct a:hover {
  text-decoration-color: var(--teal);
}

.form-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background-color: var(--white);
  border-radius: var(--radius);
  color: var(--text);
}

.form-card .row {
  --bs-gutter-x: 1rem;
}

.field {
  margin-bottom: 1.25rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.field .form-control {
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 1px solid #c4c7dc;
  border-radius: var(--radius-sm);
  color: var(--text);
}

.field textarea.form-control {
  height: 9rem;
}

.field .form-control:focus {
  border-color: var(--peri-text);
  box-shadow: 0 0 0 3px rgba(102, 106, 224, 0.2);
}

.field-error {
  margin: 0.4rem 0 0;
  font-size: 0.875rem;
  color: #b02a37;
}

.field-error:empty {
  display: none;
}

.field .form-control[aria-invalid="true"] {
  border-color: #b02a37;
}

/* Honeypot: kept out of view and out of the tab order; only bots fill it in */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 1rem 0 0;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status.is-ok {
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--teal-dark);
  background-color: #eaf8f6;
  color: #1d6e66;
}

.form-status.is-error {
  padding: 0.75rem 1rem;
  border-left: 3px solid #b02a37;
  background-color: #fdf3f4;
  color: #b02a37;
}

.form-hint {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-hint:empty {
  display: none;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.recaptcha-box {
  transform: scale(0.9);
  transform-origin: 0 0;
  height: 70px;
}

@media (max-width: 767.98px) {
  .contact {
    grid-template-columns: 1fr;
  }

  .contact .section-head {
    margin-bottom: 0;
  }
}

/* Footer */
.site-footer {
  padding-block: 2rem;
  background-color: var(--ink-deep);
  color: var(--muted-dark);
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.5rem;
  margin: 0 0 0 -0.5rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  color: var(--muted-dark);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

/* Signature triangle, bottom right */
.corner-mark {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: clamp(44px, 6vw, 84px);
  height: auto;
  pointer-events: none;
}

.corner-mark .cm-main {
  fill: var(--peri);
}

.corner-mark .cm-edge {
  fill: var(--teal);
}

@media print {
  .corner-mark,
  .site-nav {
    display: none;
  }
}

/* Blog index and posts */
.page-head {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem);
}

.page-head h1 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-head p:not(.eyebrow) {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  color: var(--muted-dark);
}

.page-head .blog-date {
  color: var(--muted-dark);
}

.page-head .blog-date::before {
  color: var(--line-dark);
}

.page-head .blog-tag.urgent {
  color: #ff9aa4;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  margin-bottom: 1.5rem;
  color: var(--muted-dark);
  font-weight: 400;
  text-decoration: none;
}

.back-link:hover {
  color: var(--white);
}

.blog-column {
  max-width: 760px;
}

.blog-article {
  color: #3a3f5c;
  font-size: 1.075rem;
  line-height: 1.75;
}

.blog-article h2,
.blog-article h3 {
  color: var(--text);
}

.blog-article h2 {
  margin-top: 2.75rem;
  font-size: 1.6rem;
  font-weight: 600;
}

.blog-article strong {
  color: var(--text);
}

.blog-lead {
  font-size: 1.2rem;
  color: var(--text);
}

.blog-callout {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background-color: #fdf3f4;
  border-left: 3px solid #dc3545;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.blog-callout h3 {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  color: #b02a37;
}

.blog-callout ul {
  margin-bottom: 0;
}

.blog-steps li {
  margin-bottom: 0.6rem;
}

.blog-help {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.blog-help-item {
  padding: 1.75rem;
  background-color: var(--paper);
  border-radius: var(--radius);
}

.blog-help-item h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.blog-help-item p {
  margin: 0;
  font-size: 1rem;
}

.blog-cta {
  margin-top: 2.5rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background-color: var(--ink);
  border-radius: var(--radius);
  color: var(--white);
}

.blog-cta h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.blog-cta p {
  color: var(--muted-dark);
}

.blog-cta .form-submit a:not(.btn-jits) {
  color: var(--white);
}

.blog-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .blog-help {
    grid-template-columns: 1fr;
  }
}

/* Embedded questionnaire */
.embed-frame {
  display: block;
  width: 100%;
  height: 1600px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--white);
}

/* Ervaring: timeline */
.timeline {
  --rail-x: 9px;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0;
  left: calc(10rem + var(--rail-x));
  width: 2px;
  background-color: var(--line);
}

.tl-item {
  --type: var(--teal);
  position: relative;
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  column-gap: 3rem;
  padding-bottom: 2.5rem;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item.is-web {
  --type: var(--peri);
}

.tl-item.is-automation {
  --type: var(--amber);
}

/* Circuit-style node on the rail */
.tl-item::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 10rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--type);
  background-color: var(--paper);
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 10px var(--type);
}

.tl-when {
  margin: 0;
  padding-top: 0.2rem;
  padding-right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--muted);
  text-align: right;
}

.tl-card {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  margin-left: 1rem;
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tl-media {
  display: block;
  background-color: var(--paper);
  border-right: 1px solid var(--line);
}

.tl-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  object-position: top center;
}

/* Illustrations share the ink background, so show them whole instead of cropping */
.tl-media.is-illustration {
  display: flex;
  align-items: center;
  background-color: var(--ink);
}

.tl-media.is-illustration.is-light {
  background-color: var(--paper);
}

.tl-media.is-illustration img {
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.tl-media-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  font-size: 2rem;
  color: var(--line);
}

.tl-body {
  padding: clamp(1.5rem, 3vw, 2rem);
}

.tl-type {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

.tl-type::before {
  content: "";
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background-color: var(--type);
}

.tl-body h2 {
  margin: 0.75rem 0 0.25rem;
  font-size: clamp(1.35rem, 2.4vw, 1.6rem);
  font-weight: 600;
}

.tl-meta {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
}

.tl-body > p:not(.tl-meta) {
  max-width: 65ch;
  color: var(--muted);
}

.tl-body .text-link {
  margin-top: 0.5rem;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.tech-badges li {
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background-color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text);
}

@media (max-width: 991.98px) {
  .tl-card {
    grid-template-columns: 1fr;
  }

  .tl-media {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .tl-media img,
  .tl-media-empty {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  /* Website screenshots are taken at the desktop box size (square); keep them whole */
  .tl-media.is-screenshot img,
  .tl-media.is-square img {
    aspect-ratio: 1 / 1;
  }

  .tl-media.is-square img {
    object-position: center 30%;
  }
}

@media (max-width: 767.98px) {
  .timeline::before {
    left: var(--rail-x);
  }

  .tl-item {
    grid-template-columns: 1fr;
    padding-left: 2.25rem;
  }

  .tl-item::before {
    left: 0;
  }

  .tl-when {
    padding: 0 0 0.6rem;
    text-align: left;
  }

  .tl-card {
    margin-left: 0;
  }
}

/* Ervaring: compact grid of extra websites, aligned with the timeline cards */
.more-sites {
  margin: 4rem 0 0 calc(10rem + 3rem + 1rem);
}

.more-sites h2 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
}

.site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.site-card {
  display: block;
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-card:hover {
  color: var(--text);
}

@media (hover: hover) {
  .site-card:hover {
    border-color: var(--peri);
    box-shadow: 0 16px 40px rgba(28, 32, 64, 0.06);
  }
}

.site-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--line);
}

.site-card-body {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 1rem 1.25rem;
}

.site-card-body strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-card-year {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 767.98px) {
  .more-sites {
    margin-left: 0;
  }
}

/* Ervaring: education and certificates */
.credentials {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.credentials h2 {
  margin: 0 0 0.25rem;
}

.credentials p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.cert-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.cert-list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.cert-list span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

/* Closing CTA band */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.cta-band h2 {
  max-width: 20ch;
  margin: 0;
}

@media (max-width: 767.98px) {
  .credentials {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
