/* The homepage's own blocks (class prefix hp-; the colours in use are set in home-light.css): the hero, Trust & security, the case
   studies and the closing band. They sit between the page's Elementor blocks, each inside a
   <div class="it-home hp">. Tokens, buttons, headings and the network itself come from style.css
   (.it-home); the teaser's caption and counter from classic.css. At the end: the paper pile in
   "Supply chains are under growing pressure" and the partner row in the footer. */

.hp { --navy: #00264F; --hp-text: #CFE0F5; --hp-muted: #A7C3E4; --hp-line: rgba(255, 255, 255, .16);
  --hp-grad: linear-gradient(90deg, #B4E59A 0%, #5FD27A 45%, #86C8FF 100%); }
.hp .hp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp .hp-grad { background: var(--hp-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hp .hp-kicker { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 15px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #A9D2FF; }
.hp .hp-head { max-width: 46em; margin-bottom: 44px; }
.hp .hp-head .it-h2 { margin-top: 10px; }
.hp .hp-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; max-width: none; }
.hp section[class^="hp-"] { position: relative; }

/* Buttons on the dark bands */
.hp .hp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 34px; }
.hp .hp-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-family: var(--head); font-size: 17.5px; font-weight: 500; line-height: 1; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.hp .hp-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.hp .hp-btn:hover svg { transform: translateX(3px); }
.hp .hp-btn--bright { background: #5FDB78; color: var(--navy); box-shadow: 0 10px 30px -10px rgba(95, 219, 120, .75); }
.hp .hp-btn--bright:hover, .hp .hp-btn--bright:focus { background: #7BE891; color: var(--navy); transform: translateY(-1px); }
.hp .hp-btn--glass { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .34); }
.hp .hp-btn--glass:hover, .hp .hp-btn--glass:focus { background: rgba(255, 255, 255, .16); color: #fff; }
.hp .hp-hero a:focus-visible, .hp .hp-hero button:focus-visible, .hp .hp-trust a:focus-visible, .hp .hp-final a:focus-visible { outline-color: #fff; }

/* "More" links */
.hp .hp-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-family: var(--head); font-size: 16.5px; font-weight: 500; color: var(--blue); }
.hp .hp-more svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.hp a.hp-more:hover { color: var(--deep); }
.hp a.hp-more:hover svg { transform: translateX(4px); }

/* Blocks rise into place (only when the inline script has set html.hp-js) */
.hp-js .hp [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.hp-js .hp [data-reveal].is-in { opacity: 1; transform: none; }
.hp-js .hp .hp-cards3 > :nth-child(2), .hp-js .hp .hp-claims > :nth-child(3n + 2) { transition-delay: .09s; }
.hp-js .hp .hp-cards3 > :nth-child(3), .hp-js .hp .hp-claims > :nth-child(3n) { transition-delay: .18s; }

/* ---------- Hero ---------- */
.hp .hp-hero { isolation: isolate; color: var(--hp-text); background: #003069; overflow: clip; }
.hp .hp-hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(46% 62% at 72% 48%, rgba(52, 150, 240, .5), transparent 72%),
    radial-gradient(30% 40% at 74% 50%, rgba(95, 219, 120, .2), transparent 70%),
    linear-gradient(150deg, #00214A 0%, #003472 46%, #044E9D 100%); }
.hp .hp-hero__bg::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .17) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(60% 75% at 72% 48%, #000 20%, transparent 100%); mask-image: radial-gradient(60% 75% at 72% 48%, #000 20%, transparent 100%); }
.hp .hp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 16px; align-items: center; max-width: 1340px; padding-top: 52px; padding-bottom: 76px; }
.hp .hp-h1 { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.04; color: #fff; }
.hp .hp-lead { margin-top: 22px; font-size: 21px; line-height: 1.5; color: var(--hp-text); }

/* The two numbers that follow the animation */
.hp .hp-ledger { display: flex; align-items: center; gap: 20px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--hp-line); max-width: 30em; }
.hp .hp-ledger__n { display: flex; align-items: center; gap: 12px; transition: opacity .5s; }
.hp .hp-ledger__n b { min-width: 1.2em; font-family: var(--head); font-size: 62px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; transition: color .5s; }
.hp .hp-ledger__n span { font-size: 15.5px; line-height: 1.25; color: var(--hp-muted); }
.hp .hp-ledger__old b { color: rgba(255, 255, 255, .34); text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(255, 164, 92, .85); }
.hp .hp-ledger__new b { color: #6BE585; text-shadow: 0 0 28px rgba(95, 219, 120, .45); }
.hp .hp-ledger.is-tangle .hp-ledger__old b { color: #FFAE66; text-decoration-color: transparent; text-shadow: 0 0 28px rgba(255, 150, 70, .4); }
.hp .hp-ledger.is-tangle .hp-ledger__new { opacity: .3; }
/* A connector joins: the crossed-out number runs up one by one, each step flipping up, and lands
   with a bump; the connectors bump once (classic.js). */
.hp .hp-ledger__n b.is-bump { animation: hp-bump .7s cubic-bezier(.2, .7, .2, 1); }
.hp .hp-ledger__n b.is-flip { animation: hp-flip .085s ease-out; }
@keyframes hp-flip { from { transform: translateY(34%); opacity: .3; } to { transform: none; opacity: 1; } }
/* ...and runs back down when those partners leave: the same, downwards and faster. */
.hp .hp-ledger__n b.is-flop { animation: hp-flop .032s linear; }
@keyframes hp-flop { from { transform: translateY(-26%); opacity: .45; } to { transform: none; opacity: 1; } }
@keyframes hp-bump { 0% { transform: none; } 30% { transform: scale(1.22); } 100% { transform: none; } }
.hp .hp-ledger__arrow { flex: none; width: 44px; height: 22px; fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* The stage: the network on the dark band */
.hp .hp-hero__stage { position: relative; height: 560px; }
.hp .hp-hero__net { height: calc(100% - 46px); }
.hp .hp-hero .fc-teaser:focus-visible { outline-color: #fff; }
/* (The network's colours on the dark band: classic.css, .nt-dark, shared with How it works.) */
.hp .hp-hero .fc-teaser__cap { bottom: -44px; padding: 8px 16px; border: 0; font-size: 15.5px; box-shadow: 0 10px 30px -12px rgba(0, 10, 36, .8); }
/* Pause / play */
.hp .hp-pause { position: absolute; right: 4px; bottom: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3); color: #fff; transition: background-color .2s; }
.hp .hp-pause[hidden] { display: none; }
.hp .hp-pause:hover, .hp .hp-pause:focus { background: rgba(255, 255, 255, .22); color: #fff; }
.hp .hp-pause svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hp .hp-pause__play { display: none; fill: currentColor; stroke: none; }
.hp .hp-pause[aria-pressed="true"] .hp-pause__pause { display: none; }
.hp .hp-pause[aria-pressed="true"] .hp-pause__play { display: block; }

/* ---------- Trust & security ---------- */
.hp .hp-trust { padding: 100px 0; color: var(--hp-text); isolation: isolate;
  background: radial-gradient(50% 70% at 12% 10%, rgba(52, 150, 240, .35), transparent 70%), linear-gradient(150deg, #00214A 0%, #003472 50%, #044E9D 100%); }
.hp .hp-trust .it-h2 { color: #fff; }
.hp .hp-trust .it-sub { color: var(--hp-text); }
.hp .hp-claims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hp .hp-claim { display: grid; grid-template-columns: 46px minmax(0, 1fr); align-content: start; gap: 4px 16px; padding: 24px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid var(--hp-line); transition: background-color .3s, border-color .3s, transform .7s cubic-bezier(.2, .7, .2, 1), opacity .7s ease; }
.hp .hp-claim:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.hp .hp-claim__ico { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: rgba(120, 232, 148, .16); color: #8FEDA6; }
.hp .hp-claim__ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hp .hp-claim b { font-family: var(--head); font-size: 19.5px; font-weight: 500; line-height: 1.2; color: #fff; }
.hp .hp-claim > span:last-child { grid-column: 2; font-size: 17px; line-height: 1.45; color: #C3D8F0; }
.hp .hp-trust__more { margin-top: 32px; }

/* ---------- Case studies ---------- */
.hp .hp-cases { padding: 100px 0; background: var(--soft); }
.hp .hp-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hp .hp-case { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.hp .hp-case img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hp .hp-case__body { display: flex; flex-direction: column; flex: 1; align-items: flex-start; gap: 8px; padding: 22px 26px 26px; }
.hp .hp-case__tag { font-family: var(--head); font-size: 13.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #3C8F57; }
.hp .hp-case h3 { font-size: 25px; }
.hp .hp-case .hp-fact { padding: 4px 12px; border-radius: 999px; background: var(--gtint); font-family: var(--head); font-size: 15px; font-weight: 500; color: var(--gdark); }
.hp .hp-case__body > p:not([class]) { font-size: 17.5px; line-height: 1.5; }

/* ---------- Closing band ---------- */
.hp .hp-final { padding: 24px 0 100px; }
.hp .hp-final__box { padding: 68px 64px; border-radius: 32px; color: var(--hp-text); text-align: center;
  background: radial-gradient(50% 90% at 50% 0%, rgba(52, 150, 240, .5), transparent 72%), linear-gradient(150deg, #00214A 0%, #003472 50%, #044E9D 100%);
  box-shadow: 0 30px 70px -34px rgba(0, 30, 80, .7); }
.hp .hp-final .it-h2 { max-width: 20em; margin: 0 auto; color: #fff; text-wrap: balance; }
.hp .hp-final .it-sub { margin-left: auto; margin-right: auto; color: var(--hp-text); }
.hp .hp-final .hp-actions { justify-content: center; }
.hp .hp-final__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin-top: 26px; font-size: 18px; color: var(--hp-muted); }
.hp .hp-final__contact a { color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.hp .hp-final__contact a:hover { border-bottom-color: #fff; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1100px) {
  .hp .hp-hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: 40px; padding-bottom: 64px; }
  .hp .hp-hero__stage { height: 520px; max-width: 720px; width: 100%; margin: 12px auto 0; }
  .hp .hp-lead { max-width: 34em; }
  .hp .hp-claims { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hp .hp-cards3 { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-left: auto; margin-right: auto; }
  .hp .hp-trust, .hp .hp-cases { padding-top: 72px; padding-bottom: 72px; }
  .hp .hp-final { padding-bottom: 72px; }
  .hp .hp-final__box { padding: 48px 28px; border-radius: 24px; }
}
@media (max-width: 767px) {
  .hp .it-wrap { padding-left: 20px; padding-right: 20px; }
  .hp .hp-hero__grid { padding-top: 28px; padding-bottom: 76px; }
  .hp .hp-h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .hp .hp-lead { font-size: 19px; }
  .hp .hp-btn { height: 50px; padding: 0 22px; font-size: 16.5px; }
  .hp .hp-ledger { gap: 12px; margin-top: 34px; padding-top: 22px; }
  .hp .hp-ledger__n { gap: 9px; }
  .hp .hp-ledger__n b { font-size: 46px; }
  .hp .hp-ledger__n span { font-size: 14px; }
  .hp .hp-ledger__arrow { width: 26px; }
  .hp .hp-hero__stage { height: 430px; margin-top: 4px; }
  .hp .hp-hero .fc-teaser__cap { bottom: auto; }
  .hp .hp-pause { top: -8px; right: 0; bottom: auto; }
  .hp .hp-claims { grid-template-columns: minmax(0, 1fr); }
  .hp .hp-head { margin-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .hp .hp-btn, .hp .hp-btn svg, .hp .hp-more svg { transition: none; }
}

/* ---------- The paper pile in "Supply chains are under growing pressure" ---------- */
/* Three of the scattered documents from How it works (drawn in style.css: .nt-paper), a quarter
   larger and neatly staggered so each warning label stays readable. Each paper has its place
   (--x, --y) and its tilt (--r). They land one by one (--d) when the block scrolls into view (the
   script at the end of the page sets .is-in), then stay still. */
.it-home.fc-pile { position: relative; width: 364px; height: 416px; margin: 0 auto; background: none; overflow: visible; font-size: 12px; }
.fc-pile .nt-paper { transform-origin: 0 0; scale: 1.25; translate: var(--x) var(--y); rotate: var(--r); }
.hp-js .fc-pile .nt-paper { opacity: 0; translate: var(--x) calc(var(--y) - 54px); rotate: calc(var(--r) + 8deg);
  transition: opacity .45s ease var(--d), translate .75s cubic-bezier(.2, .85, .25, 1) var(--d), rotate .75s cubic-bezier(.2, .85, .25, 1) var(--d); }
.hp-js .fc-pile.is-in .nt-paper { opacity: 1; translate: var(--x) var(--y); rotate: var(--r); }
/* Its label pops up once the paper has landed. */
.hp-js .fc-pile .nt-warn { opacity: 0; transform: translateX(-50%) scale(.6); transition: opacity .3s ease calc(var(--d) + .6s), transform .45s cubic-bezier(.3, 1.6, .5, 1) calc(var(--d) + .6s); }
.hp-js .fc-pile.is-in .nt-warn { opacity: 1; transform: translateX(-50%); }
/* Next to the text: against the right edge of its column. */
@media (min-width: 1025px) { .it-home.fc-pile { margin-left: calc(100% - 364px); margin-right: 0; scale: .94; transform-origin: 100% 50%; } }
@media (max-width: 1024px) { .it-home.fc-pile { scale: .9; margin-top: -12px; margin-bottom: -20px; } }
/* Tablets: text and pile still sit side by side there, the pile in a narrow column. Smaller, and
   against the right edge of its column, so it can never make the page wider than the window. */
@media (min-width: 768px) and (max-width: 1024px) { .it-home.fc-pile { margin: -56px 0 -56px calc(100% - 364px); scale: .7; transform-origin: 100% 50%; } }
@media (min-width: 768px) and (max-width: 899px) { .it-home.fc-pile { margin-top: -84px; margin-bottom: -84px; scale: .58; } }
@media (max-width: 420px) { .it-home.fc-pile { scale: .82; margin: -30px -20px -38px; } }

/* ---------- Partners: one row in the footer, above the funding logos ---------- */
/* (Base styles of the logos: classic.css.) All partners share one row when the footer is wide
   enough for it; on narrower screens the row wraps. */
/* --lh is the height of a normal logo; --k corrects logos whose file holds a lot of empty space
   (taller) or is a flat wordmark (lower), so they all read about as large. */
.elementor-location-footer .fc-logos { --lh: 34px; }
.elementor-location-footer .fc-logos__row { flex-wrap: wrap; gap: 16px 30px; }
.elementor-location-footer .fc-logos img { flex: none; width: auto; max-height: none; height: calc(var(--lh) * var(--k, 1)); }
.elementor-location-footer .fc-logos img[alt^="KLM"] { --k: 1.53; }
.elementor-location-footer .fc-logos img[alt="Port of Rotterdam"] { --k: 1.35; }
.elementor-location-footer .fc-logos img[alt="Ministerie van Defensie"] { --k: 1.18; }
.elementor-location-footer .fc-logos img[alt="Collect+Go"] { --k: .65; }
.elementor-location-footer .fc-logos img[alt="Diagnovum"] { --k: .91; }
/* From 1420px the eleven logos fit on one row (--lw is what they take up together; the footer's
   content is 74% of the window wide); the gap grows with the window. */
@media (min-width: 1420px) {
  .elementor-location-footer .fc-logos { --lh: 30px; --lw: 830px; }
  .elementor-location-footer .fc-logos__row { flex-wrap: nowrap; gap: 0 min(40px, calc((74vw - var(--lw) - 16px) / 10)); }
}
@media (min-width: 1600px) { .elementor-location-footer .fc-logos { --lh: 34px; --lw: 940px; } }
@media (max-width: 767px) { .elementor-location-footer .fc-logos { --lh: 28px; } .elementor-location-footer .fc-logos__row { gap: 14px 24px; } }

/* ---------- "Empowering supply chain decisions": the button alone under the seven points ---------- */
/* (The row used to hold a sentence left of the button and has 90px of padding on that side.) */
.elementor-8 .elementor-element.elementor-element-6152524 { justify-content: center; padding-left: 0; }
