/* Professional Journey — van standalone v63 naar geïntegreerde website.
   Alle stijlen vallen binnen #professional-journey; route en jaar-uitlijning onveranderd. */
#professional-journey{--navy:#1c435f;--blue:#1c435f;--sky:#dbeaf5;--muted:#6e8396}
#professional-journey, #professional-journey *{box-sizing:border-box}
#professional-journey{margin:0;font-family:Arial,Helvetica,sans-serif;background:#fff;color:var(--navy)}
#professional-journey .intro{max-width:1200px;margin:34px auto 18px;padding:0 24px}
#professional-journey .intro h1{margin:0 0 5px;font-size:clamp(24px,2.3vw,38px);letter-spacing:.04em}
#professional-journey .intro p{margin:0;color:#5d748a;font-size:14px;line-height:1.5}
#professional-journey .timeline{background:#fff;width:100%;min-height:360px;height:50vh;max-height:530px;position:relative;overflow:hidden;isolation:isolate;border:0}
#professional-journey .timeline h2{position:absolute;top:3%;left:3.2%;margin:0;font-size:12px;letter-spacing:.28em;color:#84a2bb;font-weight:700}
#professional-journey .scrollport{width:100%;height:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:#a5c4d8 transparent}
#professional-journey .stage{position:relative;width:100%;min-width:1120px;height:100%;min-height:360px}
#professional-journey .route{position:absolute;width:100%;height:100%;inset:0;overflow:visible;pointer-events:none}
#professional-journey .base{fill:none;stroke:#d7e7f1;stroke-width:5;stroke-linecap:round}
#professional-journey .trace{fill:none;stroke:var(--blue);stroke-width:4;stroke-linecap:round;stroke-dasharray:var(--len);stroke-dashoffset:var(--len)}
#professional-journey .timeline.revealed .trace{animation:draw 2.1s cubic-bezier(.22,.75,.3,1) forwards}
@keyframes draw{to{stroke-dashoffset:0}}
#professional-journey .branch{fill:none;stroke:#426c89;stroke-width:2;stroke-linecap:round;stroke-dasharray:4 5}
#professional-journey .node{position:absolute;width:0;height:0;z-index:2}
#professional-journey .dot{position:absolute;left:0;top:0;transform:translate(-50%,-50%);width:12px;height:12px;border:3px solid var(--blue);border-radius:50%;background:white;z-index:3}
#professional-journey .node.role .dot{width:15px;height:15px;background:var(--blue);box-shadow:0 0 0 4px #fff}
#professional-journey .node.feature .dot{width:12px;height:12px;border:3px solid var(--blue);background:#fff;box-shadow:none}
#professional-journey .node-button{position:absolute;left:0;transform:translateX(-50%);width:96px;min-height:110px;border:0;background:transparent;color:inherit;cursor:pointer;padding:0;text-align:center;font:inherit;display:flex;flex-direction:column;align-items:center;gap:4px;z-index:4}
#professional-journey .up .node-button{bottom:30px;flex-direction:column-reverse;justify-content:flex-end}
#professional-journey .down .node-button{top:30px}
#professional-journey .image{height:66px;width:75px;flex:none;display:grid;place-items:center;transition:transform .2s,box-shadow .2s;transform-origin:center;background:#fff}
#professional-journey .role .image{border-radius:6px}
#professional-journey .event .image{border-radius:999px;overflow:hidden;width:76px;height:66px;border:2px solid #426c89;box-shadow:0 4px 12px #1e52711d;background:#e3f0f8}
#professional-journey .feature .image{width:92px}
#professional-journey .image img{max-width:100%;max-height:100%;object-fit:contain;display:block}
#professional-journey .event .image img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
#professional-journey .node.logo-event .image{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;overflow:visible!important}
#professional-journey .node.logo-event .image img{object-fit:contain!important;padding:0!important;background:transparent!important;max-width:100%;max-height:100%}
#professional-journey .node.logo-event .node-button:hover .image, #professional-journey .node.logo-event .node-button:focus-visible .image{box-shadow:none!important}
#professional-journey .icon-placeholder{font-size:32px;color:var(--blue)}
#professional-journey .year{font-size:12px;color:var(--blue);font-weight:800;line-height:1}
#professional-journey .label{font-size:11px;line-height:1.16;font-weight:700;max-width:110px}
#professional-journey .node-button:hover .image, #professional-journey .node-button:focus-visible .image{transform:scale(1.22);box-shadow:0 10px 26px #1e52714a}
#professional-journey .node-button:hover .label, #professional-journey .node-button:focus-visible .label{color:var(--blue)}
#professional-journey .node-button:focus-visible{outline:2px solid #2f688f;outline-offset:6px;border-radius:6px}
#professional-journey .node.active{z-index:10}
#professional-journey .hover-note{display:none;position:absolute;left:0;min-width:220px;max-width:260px;background:#fff;box-shadow:0 12px 35px #123d5b33;border:1px solid #d4e6f2;padding:13px 14px;border-radius:12px;pointer-events:none;transform:translateX(-50%);font-size:12px;line-height:1.45;z-index:20}
#professional-journey .hover-note strong{display:block;margin-bottom:5px}
#professional-journey .up .hover-note{top:32px}
#professional-journey .down .hover-note{bottom:35px}
#professional-journey .node:hover .hover-note, #professional-journey .node:focus-within .hover-note{display:block}
#professional-journey .footer{max-width:1200px;margin:16px auto 45px;padding:0 24px;color:#617a8f;font-size:13px}
#professional-journey .footer b{color:var(--blue)}
#pj-modal{position:fixed;inset:0;background:#10293c9a;display:none;place-items:center;padding:20px;z-index:100}
#pj-modal.open{display:grid}
#pj-modal .panel{background:#fff;border-radius:18px;max-width:670px;width:100%;max-height:88vh;overflow:auto;padding:25px 28px;position:relative;box-shadow:0 20px 60px #0719245e}
#pj-modal .panel h3{font-size:26px;margin:4px 40px 8px 0}
#pj-modal .panel p{line-height:1.6;color:#50697e}
#pj-modal .panel .year{font-size:16px}
#pj-modal .panel .photos{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:18px}
#pj-modal .panel .photos img{width:auto;height:auto;max-width:100%;max-height:235px;object-fit:contain;border-radius:11px;background:#f2f7fa;padding:5px}
#pj-modal .panel .photos img.modal-logo{border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important}
#pj-modal .close{position:absolute;right:20px;top:17px;font-size:27px;border:0;background:#edf4f9;border-radius:50%;width:38px;height:38px;cursor:pointer;color:#28597c}
#professional-journey .hint{position:absolute;top:3%;right:3%;font-size:11px;color:#7290a5}
@media(max-width:700px){#professional-journey .timeline{height:50vh;min-height:350px}
#professional-journey .intro{margin-top:20px}
#professional-journey .stage{min-width:1350px}
#professional-journey .hint{display:none}
#professional-journey .hover-note{display:none!important}}
@media(prefers-reduced-motion:reduce){#professional-journey .timeline.revealed .trace{animation:none;stroke-dashoffset:0}
#professional-journey .image{transition:none}}
#professional-journey .node-button{width:112px;min-height:120px;gap:9px}
#professional-journey .up .node-button{bottom:58px}
#professional-journey .down .node-button{top:58px}
#professional-journey .node-button .image{transition:transform .2s ease,box-shadow .2s ease;transform-origin:center}
#professional-journey .node-button:hover .image, #professional-journey .node-button:focus-visible .image{transform:scale(1.13)}
#professional-journey .node.active{z-index:25}
#professional-journey .hover-note{display:none!important}
#professional-journey .route-preview{position:fixed;display:none;width:265px;max-width:calc(100vw - 24px);padding:13px 15px;border-radius:12px;border:1px solid #d4e6f2;background:#fff;box-shadow:0 17px 42px #10385355;color:var(--navy);font-size:12px;line-height:1.48;pointer-events:none;z-index:9998}
#professional-journey .route-preview.visible{display:block}
#professional-journey .route-preview strong{display:block;margin-bottom:5px;font-size:13px}
#professional-journey .route-preview::after{content:"";position:absolute;left:var(--arrow-x,50%);width:11px;height:11px;background:#fff;transform:translateX(-50%) rotate(45deg);border:1px solid #d4e6f2}
#professional-journey .route-preview.above::after{bottom:-7px;border-top:0;border-left:0}
#professional-journey .route-preview.below::after{top:-7px;border-bottom:0;border-right:0}
@media(max-width:700px){#professional-journey .route-preview{display:none!important}}
#professional-journey{font-family:"Comfortaa",Arial,sans-serif}
#professional-journey .intro h1, #professional-journey .timeline h2{font-family:"Montserrat",Arial,sans-serif}
#professional-journey .node-button{gap:7px;width:128px}
#professional-journey .up .node-button{bottom:64px}
#professional-journey .down .node-button{top:64px}
#professional-journey .node-button .year{font-family:"Montserrat",Arial,sans-serif;font-weight:800;font-size:20px;line-height:1.05;letter-spacing:.015em;order:initial}
#professional-journey .node-button .label{font-family:"Comfortaa",Arial,sans-serif;font-size:13px;font-weight:700;line-height:1.25;max-width:132px;order:initial}
#professional-journey .route-preview{font-family:"Comfortaa",Arial,sans-serif;font-size:12px}
#professional-journey .route-preview strong{font-family:"Montserrat",Arial,sans-serif;font-size:14px}
#pj-modal .panel h3{font-family:"Montserrat",Arial,sans-serif}
#pj-modal .panel .year{font-size:21px;font-family:"Montserrat",Arial,sans-serif;color:var(--blue)}
#professional-journey .node.asset-sbc .image, #professional-journey .node.asset-vandijk .image, #professional-journey .node.asset-newstore .image, #professional-journey .node.asset-oldstore .image{background:transparent;box-shadow:none}
#professional-journey .node.asset-sbc .image{width:150px;height:30px}
#professional-journey .node.asset-sbc .node-button{width:156px;min-height:78px}
#professional-journey .node.asset-vandijk .image{width:110px;height:30px}
#professional-journey .node.asset-vandijk .node-button{width:156px;min-height:82px}
#professional-journey .node.asset-newstore .image{width:150px;height:32px}
#professional-journey .node.asset-newstore .node-button{width:156px;min-height:80px}
#professional-journey .node.asset-oldstore .image{width:58px;height:42px}
#professional-journey .node.asset-oldstore .node-button{min-height:90px}
#professional-journey .node.asset-sbc .image img, #professional-journey .node.asset-vandijk .image img, #professional-journey .node.asset-newstore .image img, #professional-journey .node.asset-oldstore .image img{width:100%;height:100%;object-fit:contain}
#professional-journey .node.wide-label .node-button{width:218px}
#professional-journey .node.wide-label .label{max-width:216px;white-space:nowrap}
#professional-journey .node.wide-label.asset-newstore .node-button{width:218px}
@media(max-width:700px){#professional-journey .node.wide-label .node-button{width:205px}
#professional-journey .node.wide-label .label{max-width:205px}}
#professional-journey .preview-click-hint{margin-top:10px;font-size:11px;font-weight:700;color:var(--blue)}
#professional-journey .node.event:not(.logo-event) .image{
  width:72px;height:72px;border-radius:50%;
}
#professional-journey .node.event.feature:not(.logo-event) .image{
  width:76px;height:76px;border-radius:50%;
}
#professional-journey .node.event:not(.logo-event) .image img{
  width:100%;height:100%;object-fit:cover;
}
#professional-journey .timeline.motion-ready .trace{ stroke-dashoffset:var(--len);animation:none; }
#professional-journey .timeline.motion-ready .branch{
  clip-path:inset(0 0 100% 0);
}
#professional-journey .timeline.motion-ready .branch.branch-up{clip-path:inset(100% 0 0 0)}
#professional-journey .timeline.motion-ready .node .dot, #professional-journey .timeline.motion-ready .node .node-button{opacity:0;}
#professional-journey .timeline.motion-ready.revealed .trace{
  animation:journeyTrace 4.8s linear both;
}
#professional-journey .timeline.motion-ready.revealed .branch{
  animation:journeyBranch .55s ease-out var(--branch-delay) both;
}
#professional-journey .timeline.motion-ready.revealed .node .dot{
  animation:journeyDot .33s ease-out var(--dot-delay) both;
}
#professional-journey .timeline.motion-ready.revealed .node .node-button{
  animation:journeyItem .46s cubic-bezier(.2,.7,.25,1) var(--item-delay) both;
}
@keyframes journeyTrace{to{stroke-dashoffset:0}}
@keyframes journeyBranch{to{clip-path:inset(0 0 0 0)}}
@keyframes journeyDot{from{opacity:0}to{opacity:1}}
@keyframes journeyItem{
  from{opacity:0;filter:blur(2px)}
  to{opacity:1;filter:blur(0)}
}
@media(prefers-reduced-motion:reduce){#professional-journey .timeline.motion-ready .trace, #professional-journey .timeline.motion-ready .branch, #professional-journey .timeline.motion-ready .node .dot, #professional-journey .timeline.motion-ready .node .node-button{
    animation:none!important;opacity:1!important;stroke-dashoffset:0!important;clip-path:none!important;filter:none!important;
  }}
#pj-modal .panel #modalDesc{white-space:pre-line;max-height:none;overflow:visible;line-height:1.65}
#professional-journey .node.asset-towerbrookWordmark .image{width:100px;height:46px;border-radius:9px;background:#17344d}
#professional-journey .node.asset-towerbrookWordmark .image img{object-fit:contain;width:100%;height:100%}
#professional-journey .node.asset-oldstore.up .node-button{bottom:80px}
#professional-journey .node.asset-towerbrookWordmark.up .node-button{bottom:60px;left:30px;width:170px}
#professional-journey .node.asset-towerbrookWordmark.up .label{max-width:none;white-space:nowrap}
#professional-journey .node.asset-rebrandingphoto.down .node-button{top:89px;left:-52px}
#professional-journey .node.asset-machineThumb.down .node-button{top:58px}
#professional-journey .node.asset-puntstart.down .node-button{top:62px}
#professional-journey .node.asset-heutink.down .node-button{top:67px}
#professional-journey .node.down .node-button{top:auto!important;min-height:0}
#professional-journey { display:block; width:100%; background:#fff; color:#1c435f; isolation:isolate; padding:0; margin:0; border:0; box-shadow:none; }
#professional-journey .intro { margin:14px auto 18px; max-width:1200px; }
#professional-journey .intro h3 {font-family:'Montserrat',Arial,sans-serif; font-weight:800; letter-spacing:.045em; font-size:clamp(25px,2.1vw,34px); margin:0 0 4px;}
#professional-journey .intro p {font-family:'Comfortaa',Arial,sans-serif;}
#professional-journey .footer {margin-bottom:12px;}

#professional-journey .route-preview {z-index:11001;}
#professional-journey .node-button {appearance:none; -webkit-appearance:none;}
#pj-modal .panel p {margin:0 0 14px;}
#pj-modal .panel .photos {margin-top:18px;}

/* v3: siteweergave zonder kop, gekleurde band of omlijsting. */
#professional-journey .timeline { border:0; outline:0; box-shadow:none; background:#fff; }

/* v5: Full-site modal portal; centre short dialogs and scroll long ones inside the panel. */
#pj-modal, #pj-modal * { box-sizing: border-box; }
#pj-modal {
  --blue: #1c435f;
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483646 !important;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: rgba(16,41,60,.65);
  padding: 20px 16px;
  display: none;
  justify-items: center;
  align-items: center;
  font-family: 'Comfortaa', Arial, sans-serif;
  color: #1c435f;
}
#pj-modal.open { display: grid !important; }
#pj-modal .panel {
  width: min(100%, 670px);
  max-width: 670px;
  max-height: calc(100dvh - 40px);
  margin: 0 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border-radius: 18px;
  padding: 25px 28px;
  box-shadow: 0 20px 60px #0719245e;
}
#pj-modal .panel h3 { font-family:'Montserrat',Arial,sans-serif; }
#pj-modal .panel .year {font-size:21px;font-family:'Montserrat',Arial,sans-serif;color:#1c435f}
#pj-modal .panel p { margin:0 0 14px; }
#pj-modal .panel #modalDesc {white-space:pre-line;max-height:none;overflow:visible;line-height:1.65}
#pj-modal .panel .photos {margin-top:18px}
body.pj-modal-open { overflow: hidden !important; }
@media(max-width:700px){
  #pj-modal { padding: 13px 10px; }
  #pj-modal .panel {max-height:calc(100dvh - 26px);padding:22px 19px;}
}


/* v7: 2400px maximum only on ultrawide screens; all smaller screens 100%.
   Keep a 500px internal stage. White section may reach 50vh, but this
   never stretches the SVG or pulls lower year labels downwards. */
#professional-journey { width:100%; min-height:50vh; }
#professional-journey .timeline {
  width:100%; max-width:2400px; margin-inline:auto;
  height:max(500px, 50vh); min-height:500px; max-height:none;
  border:0; box-shadow:none; background:#fff;
}
#professional-journey .scrollport {
  display:flex; align-items:center;
  width:100%; height:100%; overflow-x:auto; overflow-y:hidden;
}
#professional-journey .stage {
  position:relative; flex:0 0 auto; width:100%; min-width:1120px;
  height:500px; min-height:500px;
}
@media(max-width:700px) {
  #professional-journey .timeline {height:500px; min-height:500px;}
  #professional-journey .stage {min-width:1350px;}
}


/* v8 — uniformly scale the complete timeline artwork to fill the section.
   All route coordinates, anchor points, labels, and dotted links retain their
   proportions; the art is centered based on its actual visible bounds. */
#professional-journey { min-height:50vh; }
#professional-journey .timeline {
  width:100%;max-width:2400px;margin-inline:auto;
  height:auto;min-height:50vh;max-height:none;
  border:0;background:#fff;box-shadow:none;
}
#professional-journey .scrollport {
  width:100%;height:100%;display:flex;
  justify-content:safe center;align-items:stretch;
  overflow-x:auto;overflow-y:hidden;
}
#professional-journey .pj-stage-frame {
  position:relative;flex:0 0 auto;
}
#professional-journey .stage {
  position:relative;flex:none;width:1600px;min-width:1600px;
  height:500px;min-height:500px;
  transform-origin:top left;
}
@media(max-width:700px) {
  #professional-journey .timeline { min-height:50vh; }
  #professional-journey .stage { width:1600px;min-width:1600px; }
}

/* v10 — balanced outer gutters, on narrow and ultrawide screens alike.
   Never offset an individual node or route anchor. */
#professional-journey .scrollport {
  box-sizing: border-box;
  padding-inline: clamp(28px, 3vw, 64px);
}


/* v11 — the site's generic .label (paper hover overlay) must not
   hide or absolutely position Professional Journey captions. */
#professional-journey .node-button > .label {
  position: static;
  left: auto;
  bottom: auto;
  display: block;
  opacity: 1;
  visibility: visible;
  background: transparent;
  color: inherit;
  padding: 0;
  margin: 0;
  letter-spacing: normal;
  transition: color .2s ease;
  text-align: center;
}


/* v12 — Journey-specific text colors and breathing room between
   images/logos and their captions. Keep anchors and route unchanged. */
#professional-journey .node-button > .year {
  color: #1C435F;
}
#professional-journey .node-button > .label {
  color: #000000;
}
#professional-journey .node-button:hover > .label,
#professional-journey .node-button:focus-visible > .label {
  color: #1C435F;
}
/* Upper row reads year -> label -> image; lower row reads image -> label -> year.
   Only the image/caption gap grows; the year/caption gap stays the same. */
#professional-journey .node.up .node-button > .image {
  margin-top: 12px;
}
#professional-journey .node.down .node-button > .image {
  margin-bottom: 12px;
}

/* v13 — lighter captions to match the site's typography. */
#professional-journey .node-button > .label {
  font-weight: 300;
}


/* v14 — popup/preview typography and proportional popup width.
   Preserve the site's existing modal portal and centered layout. */
#pj-modal .panel,
#pj-modal .panel p,
#pj-modal .panel #modalDesc,
#pj-modal .panel .year,
#pj-modal .panel h3,
#pj-modal .close {
  color: #000000;
}
#pj-modal .panel .year,
#pj-modal .panel h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: normal;
}
/* 33vw for wide screens, but never narrower than the former desktop
   670px panel; respect the available screen width on mobile. */
#pj-modal .panel {
  width: min(100%, max(670px, 33vw));
  max-width: none;
  min-width: min(300px, 100%);
}
#professional-journey .route-preview,
#professional-journey .route-preview strong,
#professional-journey .route-preview div {
  color: #000000;
}

/* v15 — center gallery photos; do not upscale smaller image assets. */
#pj-modal .panel .photos {
  justify-content: center;
}
#pj-modal .panel .photos img {
  width: auto;
  height: auto;
  max-width: 50%;
  flex: 0 1 auto;
}

/* v15 — match hover-preview heading: year · title, in one heading. */
#pj-modal .panel h3.pj-modal-heading {
  display: block;
  color: #000000;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}
#pj-modal .panel h3.pj-modal-heading .year,
#pj-modal .panel h3.pj-modal-heading .pj-title-separator {
  color: inherit;
  font: inherit;
  display: inline;
}

/* v17 — Journey's own black close control. The site's drawing-board
   .close class uses pointer-events:none; never reuse that class here. */
#pj-modal .panel > #pj-close-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #000000;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: none;
}
#pj-modal .panel > #pj-close-button:hover {
  color: #000000;
  background: rgba(0,0,0,.055);
}
#pj-modal .panel > #pj-close-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}
#pj-modal .panel h3.pj-modal-heading {
  padding-right: 44px;
}
