/* About (after Helin): a short hello, a shelf of things I like, then the CV as a quiet list. */
.about { position: relative; background: var(--bg); padding: 40px 0 64px; }
.about-inner { width: min(100% - 64px, 1445px); margin: 0 auto; display: grid; grid-template-columns: 180px minmax(0, 1145px); gap: clamp(32px, 5vw, 120px); justify-content: center; }
.about-label { margin: 0; padding: 7px 0 0 16px; font-size: 14px; color: var(--faint); }
.about h2 { margin: 0 0 18px; font-family: var(--head-family); font-style: var(--head-style); font-weight: var(--head-weight); color: var(--head-color);
  font-size: clamp(26px, 2.3vw, 36px); line-height: 1.15; letter-spacing: -.01em; }
.about .hello p { margin: 0 0 18px; max-width: 760px; font: var(--text-font); color: var(--soft); }

/* Shelf: one photographed wire unit; objects shot in the same light stand on its planks.
   Positions are in the shelf photo's own units (--sx wide, --sy tall incl. wall space above), so it all scales together.
   --y is the plank's top-surface line; each image is trimmed to its lowest opaque row, so its base sits exactly on it. */
.shelf { --sx: 1437; --sy: 1210; position: relative; margin: 64px 0 0; width: min(100%, 780px); aspect-ratio: var(--sx) / var(--sy); }
.shelf .unit { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; pointer-events: none; user-select: none; }
.obj { position: absolute; z-index: 1; left: calc(var(--x) / var(--sx) * 100%); bottom: calc((var(--sy) - var(--y)) / var(--sy) * 100%);
  width: calc(var(--w) / var(--sx) * 100%); translate: -50% 0; }
.obj .hit { all: unset; display: block; position: relative; cursor: default; -webkit-tap-highlight-color: transparent; }
.obj img { position: relative; display: block; width: 100%; height: auto; transform-origin: 50% 100%; transition: transform .2s var(--ease-out); }
/* Contact shadow where the object meets the plank. */
.obj::before { content: ""; position: absolute; left: 50%; bottom: 0; width: calc(var(--sw, 90) * 1%); aspect-ratio: 7 / 1; translate: -50% 30%;
  background: radial-gradient(closest-side, rgba(45,32,18,.46), rgba(45,32,18,.16) 55%, transparent); transition: transform .2s var(--ease-out), opacity .2s var(--ease-out); }
.obj.wall::before { display: none; }
.obj .hit:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 8px; }
/* Note: hidden with visibility so its link is not tabbable while closed; a short close delay plus the ::after bridge
   lets the pointer travel from the object into the note. */
.obj .tip { position: absolute; z-index: 2; left: 50%; bottom: calc(100% + 10px); width: max-content; max-width: 230px; padding: 7px 11px; border-radius: 10px;
  background: #2b2b2b; color: #fff; font: 500 13px/1.35 Inter, system-ui, sans-serif; text-align: center; text-wrap: balance;
  opacity: 0; visibility: hidden; transform: translate(calc(-50% + var(--dx, 0px)), 4px) scale(.97); transform-origin: 50% 100%;
  transition: opacity .16s var(--ease-out) .1s, transform .16s var(--ease-out) .1s, visibility 0s linear .26s; }
.obj .tip::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.obj .tip a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.5); text-underline-offset: 2px; pointer-events: auto; }
.obj .tip a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 3px; }
.obj.below .tip { bottom: auto; top: calc(100% + 10px); transform: translate(calc(-50% + var(--dx, 0px)), -4px) scale(.97); transform-origin: 50% 0; }
.obj.below .tip::after { top: auto; bottom: 100%; }
.obj:focus-within .tip, .obj.is-open .tip { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--dx, 0px)), 0); transition-delay: 0s; }
.obj:focus-within, .obj.is-open { z-index: 3; }
@media (hover: hover) and (pointer: fine) {
  .obj:hover { z-index: 3; }
  .obj:hover img { transform: translateY(-5px); }
  .obj:not(.wall):hover::before { transform: scale(.86); opacity: .7; }
  .obj:hover .tip { opacity: 1; visibility: visible; transform: translate(calc(-50% + var(--dx, 0px)), 0); transition-delay: 0s; }
}
/* Wall clock: live hands for Nijmegen time. */
.shelf .wallclock .hand { position: absolute; left: 50%; bottom: 50%; width: 3%; margin-left: -1.5%; border-radius: 2px; background: #1d1d1b; transform-origin: 50% 100%; rotate: var(--r, 0deg); }
.shelf .wallclock .hand.h { height: 24%; width: 3.6%; margin-left: -1.8%; }
.shelf .wallclock .hand.m { height: 34%; }
.shelf .wallclock .pin { position: absolute; left: 50%; top: 50%; width: 5%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: #1d1d1b; }
.shelf .wallclock .face { position: relative; display: block; transition: transform .2s var(--ease-out); }
.clock-cap { position: absolute; left: 50%; top: calc(100% + 6px); translate: -50% 0; white-space: nowrap; font: 400 12px/1 Inter, system-ui, sans-serif; color: var(--faint); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .shelf .wallclock:hover .face { transform: translateY(-5px); } }
/* Drop onto the shelf once, when it scrolls in. */
.shelf .obj img, .shelf .wallclock .face { opacity: 0; translate: 0 -22px; transition: transform .2s var(--ease-out), opacity .3s var(--ease-out), translate .55s cubic-bezier(.34, 1.36, .64, 1);
  transition-delay: 0s, calc(80ms + var(--i) * 70ms), calc(80ms + var(--i) * 70ms); }
.shelf .obj::before { opacity: 0; scale: .5; transition: transform .2s var(--ease-out), opacity .3s var(--ease-out) calc(160ms + var(--i) * 70ms), scale .45s var(--ease-out) calc(160ms + var(--i) * 70ms); }
.shelf.is-in .obj img, .shelf.is-in .wallclock .face { opacity: 1; translate: 0 0; }
.shelf.is-in .obj::before { opacity: 1; scale: 1; }
.shelf .wallclock .face img { opacity: 1; translate: none; transform: none; }

/* CV */
.cv { margin-top: 120px; }
.cv h3 { margin: 0 0 8px; font: 500 14px Inter, system-ui, sans-serif; color: var(--faint); }
.cv ol { list-style: none; margin: 0 0 48px; padding: 0; max-width: 820px; }
.cv li { display: grid; grid-template-columns: 1fr auto; gap: 4px 24px; padding: 16px 0; border-top: 1px solid rgba(0,0,0,.07); }
.cv li b { font: 500 16px/1.4 Inter, system-ui, sans-serif; color: var(--ink); }
.cv li b span { font-weight: 400; color: var(--soft); }
.cv li time { font: 400 14px/1.6 Inter, system-ui, sans-serif; color: var(--faint); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cv li p { grid-column: 1 / -1; margin: 0; max-width: 680px; font: 400 15px/1.55 Inter, system-ui, sans-serif; color: var(--soft); }
.cv-links { display: flex; flex-wrap: wrap; gap: 10px; }
.cv-links a { font: 500 14px Inter, system-ui, sans-serif; color: var(--ink); text-decoration: none; border: 1px solid #dcdbd5; background: #fff; border-radius: 999px;
  padding: 9px 16px; transition: transform .16s var(--ease-out), background .2s; }
.cv-links a:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .cv-links a:hover { background: #f8f8f6; } }


@media (max-width: 1079px) {
  .about-inner { grid-template-columns: minmax(0, 1fr); }
  .about-label { display: none; }
}
@media (max-width: 700px) {
  .about { padding: 20px 0 40px; }
  .about-inner { width: calc(100% - 32px); }
  .shelf { margin: 40px -8px 0; width: calc(100% + 16px); }
  .obj .tip { max-width: 180px; font-size: 12.5px; }
  .clock-cap { font-size: 10px; top: calc(100% + 3px); }
  .cv { margin-top: 80px; }
  .cv li { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .shelf .obj img, .shelf .wallclock .face { translate: none; transition: opacity .3s ease; transition-delay: 0s; }
  .shelf .obj::before { scale: 1; transition: opacity .3s ease; }
  .obj:hover img, .shelf .wallclock:hover .face { transform: none; }
  .obj .tip { transition: opacity .1s, visibility 0s linear .1s; }
}

/* Worked with: one quiet row under the hero. If it doesn't fit, it becomes a slow marquee (logos.js). */
.logos-band { position: relative; background: var(--bg); padding: 56px 0 72px; }
.band-inner { width: min(100% - 64px, 1445px); margin: 0 auto; display: grid; grid-template-columns: 180px minmax(0, 1145px); gap: clamp(32px, 5vw, 120px); justify-content: center; align-items: start; }
.band-label { margin: 0; padding: 7px 0 0 16px; font-size: 14px; color: var(--faint); }
.band-body { min-width: 0; }
.logos-band h2 { margin: 0 0 36px; font-family: var(--head-family); font-style: var(--head-style); font-weight: var(--head-weight); color: var(--head-color);
  font-size: clamp(26px, 2.3vw, 36px); line-height: 1.15; letter-spacing: -.01em; }
.logos-viewport { min-width: 0; overflow: hidden; }
.logos-band ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 22px; }
.logos-band li { flex: none; }
.logos-band img { display: block; height: calc(var(--lh, 34px) * .74); width: auto; filter: grayscale(1); opacity: .5; mix-blend-mode: multiply; transition: filter .25s, opacity .25s; }
@media (hover: hover) and (pointer: fine) { .logos-band li:hover img { filter: none; opacity: 1; } }
.logos-viewport.is-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.is-marquee ul { justify-content: flex-start; gap: 0; width: max-content; animation: logos-slide var(--dur, 40s) linear infinite; }
.is-marquee li { padding-right: 48px; }
@media (hover: hover) and (pointer: fine) { .is-marquee:hover ul { animation-play-state: paused; } }
@keyframes logos-slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .is-marquee ul { animation: none; }
  .logos-viewport.is-marquee { overflow-x: auto; scrollbar-width: none; }
}
@media (max-width: 1079px) {
  .band-inner { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .band-label { display: none; }
}
@media (max-width: 700px) {
  .logos-band { padding: 32px 0 48px; }
  .band-inner { width: calc(100% - 32px); }
  .logos-band img { height: calc(var(--lh, 34px) * .62); }
  .logos-band h2 { margin-bottom: 24px; }
  .is-marquee li { padding-right: 36px; }
}

/* Portrait: a white-bordered print, slightly tilted, to the right of the hello. */
.hello { display: grid; grid-template-columns: minmax(0, 760px) auto; column-gap: clamp(40px, 6vw, 110px); align-items: start; }
.hello > * { grid-column: 1; }
.hello .portrait { grid-column: 2; grid-row: 1 / span 3; margin: 6px 0 0; width: clamp(180px, 17vw, 250px); padding: 10px 10px 34px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 14px 34px -16px rgba(40,35,25,.35); rotate: 2deg; transition: rotate .3s var(--ease-out); }
.hello .portrait img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
@media (hover: hover) and (pointer: fine) { .hello .portrait:hover { rotate: 0deg; } }
@media (max-width: 700px) {
  .hello { grid-template-columns: minmax(0, 1fr); }
  .hello .portrait { grid-column: 1; grid-row: auto; width: 150px; padding: 7px 7px 24px; margin: 0 0 24px; }
}
@media (prefers-reduced-motion: reduce) { .hello .portrait { transition: none; } }

/* Mobile pass: 20px gutters, readable hello, larger touch area on shelf objects, clearer logos. */
@media (max-width: 700px) {
  .about-inner, .band-inner { width: calc(100% - 40px); }
  .about .hello p { font-size: 17px; line-height: 1.55; }
  .shelf { margin: 40px -12px 0; width: calc(100% + 24px); }
  .obj .hit::after { content: ""; position: absolute; inset: -10px; }
  .logos-band img { height: calc(var(--lh, 34px) * .8); opacity: .62; }
  .is-marquee li { padding-right: 32px; }
}
