/* Over Ons (prototype E, split layout): the founder text left, the people as flip cards right, then 'Waarom .tv?' and contact. */
.over .story { margin-top: clamp(24px, 2.6vw, 36px); max-width: 60ch; }
.over .story p { margin: 0 0 1.1em; color: var(--ink-2); font-size: 20px; line-height: 1.65; text-wrap: pretty; }
.over .story p:first-child { color: var(--ink); }
#over-team { margin-top: clamp(48px, 6vw, 88px); }

/* The title scales with its column. */
.over .over-intro { container-type: inline-size; }
.over-intro .section-title { font-size: min(clamp(30px, 4.2vw, 64px), 6.4cqi); }
@media (min-width: 900px) {
	.over > .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 5vw, 96px); align-items: start; }
	.over #over-team { margin-top: 0; }
}

/* Cards: the archief side panel at a smaller size, flipping to the favourite work. */
:where(#over) .ab-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
:where(#over) .ab-cards > li { flex: 0 0 248px; min-width: 0; perspective: 1200px; }
:where(#over) .ab-card { display: grid; grid-template-columns: minmax(0, 1fr); height: 100%; transform-style: preserve-3d; transition: transform .5s var(--ease); }
:where(#over) .ab-card.is-flipped { transform: rotateY(180deg); }
:where(#over) .ab-face { grid-area: 1 / 1; position: relative; display: flex; flex-direction: column; border: 1px solid var(--hair); background: var(--black); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
/* A face turns visible at once and hidden halfway the turn, so focus can move to it straight away. */
:where(#over) .ab-back { transform: rotateY(180deg); visibility: hidden; transition: visibility 0s .25s; }
:where(#over) .ab-card.is-flipped .ab-front { visibility: hidden; transition: visibility 0s .25s; }
:where(#over) .ab-card.is-flipped .ab-back { visibility: visible; transition-delay: 0s; }
:where(#over) .ab-front:hover, :where(#over) .ab-front:focus-within { border-color: var(--hair-strong); }

:where(#over) .ab-fig { aspect-ratio: 1; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
:where(#over) .ab-fig img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .45s var(--ease); }
:where(#over) .ab-front:hover .ab-fig img, :where(#over) .ab-front:focus-within .ab-fig img { transform: scale(1.04); }
:where(#over) .ab-cut { background: var(--cc); }
:where(#over) .ab-cut img { height: auto; margin-bottom: -1px; }
:where(#over) .ab-cbar { height: 8px; background: var(--cc); }
:where(#over) .ab-ctext { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 16px 16px 18px; }
:where(#over) .ab-who { margin: 0; font: 800 14px/1.2 var(--f-caps); font-stretch: 125%; text-transform: uppercase; letter-spacing: .04em; }
:where(#over) .ab-role { margin: 4px 0 0; font: 700 11px/1.3 var(--f-caps); font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
:where(#over) .ab-line { margin: 10px 0 14px; font-size: 15px; line-height: 1.4; color: var(--ink-2); text-wrap: pretty; }
:where(#over) .ab-hint { margin: auto 0 0; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--ink-2); transition: color .2s var(--ease); }
:where(#over) .ab-hint::after { content: ''; width: 9px; height: 9px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
:where(#over) .ab-flip { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
:where(#over) .ab-flip:focus-visible { outline-offset: -3px; }
:where(#over) .ab-front:hover .ab-hint, :where(#over) .ab-front:focus-within .ab-hint { color: var(--ink); }

/* Each card turns horizontal: photo left, colour bar as a vertical strip, text right. */
.over .ab-cards { display: grid; grid-auto-rows: 1fr; gap: 16px; }
.over .ab-face { display: grid; grid-template-columns: var(--fig, 150px) 6px minmax(0, 1fr); }
.over .ab-fig { position: relative; aspect-ratio: auto; min-height: 100%; }
.over .ab-fig img { position: absolute; inset: 0; }
.over .ab-cut img { left: 50%; right: auto; width: auto; height: 100%; max-width: none; transform: translateX(-50%); }
.over .ab-cbar { height: auto; }
.over .ab-ctext { align-items: flex-start; padding: 16px 20px 16px 18px; }
.over .ab-who { font-size: 15px; }
.over .ab-line { margin: 8px 0 12px; font-size: 16px; }
.over .ab-hint { justify-content: flex-start; }
.over .ab-back .ab-ctext { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "no work" "bl bl"; column-gap: 14px; align-items: end; align-content: space-between; }
.over .ab-no { grid-area: no; }
.over .ab-work { grid-area: work; margin: 0; }
.over .ab-bl { grid-area: bl; max-width: 280px; margin-top: 14px; }

:where(#over) .ab-no { margin: 0; font: 900 48px/.9 var(--f-num); font-stretch: 62%; }
:where(#over) .ab-work { margin: 8px 0 14px; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
:where(#over) .ab-work b { display: block; color: var(--ink); }
:where(#over) .ab-bl { display: flex; gap: 6px; width: 100%; margin-top: auto; }
:where(#over) .ab-listen, :where(#over) .ab-back-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font: 800 12px var(--f-caps); font-stretch: 125%; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
:where(#over) .ab-listen { flex: 1; min-width: 0; gap: 8px; padding: 0 12px; background: var(--ink); color: var(--black); border: 1px solid var(--ink); }
:where(#over) .ab-listen svg { width: 11px; height: 11px; fill: currentColor; }
:where(#over) .ab-listen:hover { background: var(--cc); border-color: var(--cc); color: var(--black); }
:where(#over) .ab-back-btn { flex: 0 0 44px; padding: 0; background: none; color: var(--ink); border: 1px solid var(--hair-strong); }
:where(#over) .ab-back-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
:where(#over) .ab-back-btn:hover { border-color: var(--ink); }

@media (max-width: 620px) {
	.over { --fig: 112px; }
	.over .story p { font-size: 18px; }
	.over .ab-who { font-size: 13px; }
	.over .ab-line { font-size: 15px; }
	.over .ab-ctext { padding: 12px 14px; }
	:where(#over) .ab-ctext { padding: 10px 10px 12px; }
	:where(#over) .ab-who { font-size: 12px; }
	:where(#over) .ab-role { font-size: 10px; }
	:where(#over) .ab-line { font-size: 14px; margin: 8px 0 10px; }
	:where(#over) .ab-hint { font-size: 12px; }
	:where(#over) .ab-no { font-size: 40px; }
	:where(#over) .ab-work { font-size: 14px; margin-bottom: 10px; }
	:where(#over) .ab-listen { gap: 6px; padding: 0 6px; font-size: 11px; letter-spacing: .03em; }
	:where(#over) .ab-ctext { padding-inline: 8px; }
}

/* Reduced motion: the flip becomes a crossfade */
@media (prefers-reduced-motion: reduce) {
	:where(#over) .ab-front:hover .ab-fig img, :where(#over) .ab-front:focus-within .ab-fig img { transform: none; }
	:where(#over) .ab-card, :where(#over) .ab-card.is-flipped, :where(#over) .ab-back { transform: none; }
	:where(#over) .ab-front, :where(#over) .ab-card.is-flipped .ab-back { transition: opacity .25s linear, visibility 0s; }
	:where(#over) .ab-back, :where(#over) .ab-card.is-flipped .ab-front { transition: opacity .25s linear, visibility 0s .25s; }
	:where(#over) .ab-back { opacity: 0; }
	:where(#over) .ab-card.is-flipped .ab-front { opacity: 0; }
	:where(#over) .ab-card.is-flipped .ab-back { opacity: 1; }
}

/* Founder text, nota bene, waarom .tv, contact */
.over .story .who-h { margin: 0 0 14px; font: 800 clamp(22px, 2.2vw, 32px)/1.1 var(--f-caps); font-stretch: 125%; text-transform: uppercase; letter-spacing: .02em; }
.over .story .who-h span { display: block; margin-top: 6px; color: var(--ink-2); font-size: .55em; letter-spacing: .08em; }
.over .story .nb-h { margin: 36px 0 14px; padding-top: 22px; border-top: 1px solid var(--hair-strong); font: 800 13px var(--f-caps); font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase; }
.over .nb-list { margin: 0; padding-left: 1.4em; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.over .nb-list li { margin-bottom: .8em; padding-left: .3em; }
:where(#over) .over-tail { display: grid; gap: clamp(32px, 4vw, 56px); margin-top: clamp(48px, 6vw, 88px); padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--hair-strong); }
:where(#over) .over-tail p { margin: 0 0 .9em; color: var(--ink-2); font-size: 18px; line-height: 1.65; }
:where(#over) .over-tail h3 { margin: 0 0 14px; color: var(--ink); }
:where(#over) .over-tail .remark { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--hair); color: var(--ink); }
@media (min-width: 900px) { .over > .wrap.over-tail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); max-width: var(--max); } }
