/* T2 · Instap: /websites/ (src/pagina/websites.mjs). stroming.css and t1.css are loaded first: the tokens, the worlds, the header, the
   buttons, the page head (.f-kop), the promises, the questions on chalk (.fv), the form panel, the phone bar and the footer; this file
   holds only what this page has of its own. No WebGL off the home page (011 §1 rule 3). */

/* ======================= 01 · the client's website in klant's card, on the night ground ======================= */
.wb { position: relative; padding: var(--sec-y) 0; background: var(--inkt); overflow-anchor: none; }
.wb-intro { margin-bottom: var(--kop-y); }
.wb-houd { --houd: 4; }
[data-tier=lite] .wb-houd { --houd: 3; }
.wb-houd > .houd-podium { min-height: 620px; }
.wb-grid { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: var(--kolom-gap); align-items: center; height: 100%; padding-top: 76px; }

/* the five parts, at the left: the one on screen lit, the ones passed dimmed, the ones to come faint */
.wb-delen { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wb-deel { position: relative; padding: 14px 0 14px 22px; border-left: 2px solid var(--lijn); transition: border-color .5s, opacity .5s; }
.wb-deel h3 { margin: 6px 0 0; font-size: var(--t-kaart); font-weight: 640; line-height: 1.08; letter-spacing: -.02em; }
.wb-deel h3 em { font-style: normal; color: var(--rood); }
.wb-deel p { margin: 8px 0 0; max-width: 26em; font-size: var(--t-sub); line-height: 1.45; color: var(--fg2); }
.wb-n { font-size: var(--t-label); letter-spacing: .08em; color: var(--fg2); }
.beweeg .wb-deel { opacity: .34; }
.beweeg .wb-deel p { max-height: 0; overflow: hidden; margin-top: 0; transition: max-height .6s var(--uit), margin .6s var(--uit); }
.beweeg .wb-deel.is-nu { opacity: 1; border-left-color: var(--rood); }
.beweeg .wb-deel.is-nu p { max-height: 8em; margin-top: 8px; }
.beweeg .wb-deel.is-voorbij { opacity: .55; }

/* the card: a white plate with a browser's bar, the window, and the player bar at its foot */
.wb-kaart { margin: 0; padding: 14px 16px 0; border-radius: var(--r-plaat); background: #fff; color: var(--inkt); box-shadow: 0 40px 90px rgba(0, 0, 0, .45); }
.wb-balk { display: flex; align-items: center; gap: 14px; padding: 0 2px 12px; }
.wb-stippen { display: flex; gap: 6px; flex: none; }
.wb-stippen i { width: 10px; height: 10px; border-radius: 50%; background: rgba(20, 20, 20, .16); }
.wb-url { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; min-width: 0; margin: 0; padding: 8px 14px; border-radius: var(--r-knop); background: rgba(20, 20, 20, .06); font-size: 13px; color: #4f4b46; }
.wb-url svg { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; }
.wb-url span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* a navigation to another page of the site: a red loading line runs under the address */
.wb-url { position: relative; overflow: hidden; }
.wb-url.is-laadt::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--rood); transform-origin: 0 50%; animation: wb-laad .8s var(--uit) forwards; }
@keyframes wb-laad { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.wb-schakel { display: flex; flex: none; margin: 0; padding: 4px; border-radius: var(--r-knop); background: rgba(20, 20, 20, .07); font-size: var(--t-label); letter-spacing: .06em; text-transform: uppercase; }
.wb-schakel button { min-height: 32px; padding: 0 14px; border: 0; border-radius: var(--r-knop); background: none; color: #4f4b46; font: inherit; cursor: pointer; transition: background-color .4s, color .4s; }
.wb-schakel button.is-aan { background: var(--inkt); color: #fff; }
.wb-schakel button:focus-visible { outline: 2px solid var(--rood); outline-offset: 2px; }

/* the window: the recording slides up inside it (core/t2.js moves the img); the gsm rendering stands in a phone in the middle */
.wb-raam { position: relative; height: min(56svh, 34vw); min-height: 300px; overflow: hidden; border-radius: 10px; background: #e9e6df; }
.wb-scherm { position: absolute; inset: 0; transition: opacity .5s, transform .7s var(--uit); }
.wb-scherm img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: auto; will-change: transform; opacity: 0; transition: opacity .45s; }
.wb-scherm img.is-nu { opacity: 1; }
.wb-computer { overflow: hidden; }
.wb-gsm { display: flex; justify-content: center; padding: 18px 0; opacity: 0; transform: translateY(24px); pointer-events: none; }
.wb-toestel { flex: none; height: 100%; aspect-ratio: 9 / 18.5; padding: 7px; border-radius: 30px; background: var(--inkt); box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.wb-toestel-raam { position: relative; height: 100%; overflow: hidden; border-radius: 23px; background: #fff; }
.wb-kaart[data-v=gsm] .wb-computer { opacity: 0; transform: scale(.96); pointer-events: none; }
.wb-kaart[data-v=gsm] .wb-gsm { opacity: 1; transform: none; }
/* the part on screen, named in the window's corner: a red dot and the chapter's name */
.wb-deel-label { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border-radius: var(--r-knop); background: rgba(20, 20, 20, .82); color: #fff; font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; }
.wb-deel-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--rood); }
.wb-deel-label span.is-in { animation: wb-in .4s var(--e-uit); }
@keyframes wb-in { from { opacity: 0; transform: translateY(8px); } }

/* the player bar: the home page's (03-klant.css), in this card's scope. Five parts, each filling as the reader goes through it */
.wb-sp { margin: 14px -16px 0; padding: 12px 20px 10px; border-radius: 0 0 var(--r-plaat) var(--r-plaat); background: var(--inkt); color: #fff; }
.wb-sp-balk { position: relative; height: 22px; cursor: pointer; }
.wb-hfst { position: absolute; top: 50%; left: calc(var(--a) * 100% + 2px); width: calc((var(--b) - var(--a)) * 100% - 4px); height: 6px; margin-top: -3px; border-radius: 3px; background: rgba(255, 255, 255, .24); transition: height .2s, margin .2s, background-color .2s; }
.wb-hfst.is-nu { height: 10px; margin-top: -5px; }
.wb-vul { position: absolute; inset: 0; border-radius: inherit; background: var(--rood); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
.wb-sp-kop { position: absolute; z-index: 2; top: 50%; left: calc(var(--p, 0) * 100%); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--rood); pointer-events: none; transition: transform .25s var(--e-uit), box-shadow .3s; }
.wb-sp.is-loopt .wb-sp-kop { transform: scale(1.25); box-shadow: 0 0 0 6px rgba(237, 29, 36, .28); }
.wb-sp-ctrl { display: flex; align-items: center; gap: 14px; margin-top: 6px; font-size: 13.5px; }
.wb-sp-speel { position: relative; flex: none; width: 30px; height: 30px; margin-left: -6px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.wb-sp-speel::before { content: ''; position: absolute; left: 11px; top: 8px; border-left: 12px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.wb-sp.is-loopt .wb-sp-speel::before { left: 9px; width: 4px; height: 14px; border: 0; background: currentColor; box-shadow: 8px 0 0 currentColor; }
.wb-sp-tijd { flex: none; font-size: 12px; color: rgba(255, 255, 255, .6); }
.wb-sp-tijd b { font-weight: 500; color: #fff; }
.wb-sp-titel { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; font-weight: 600; }
.wb-sp-bol { flex: none; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.wb-sp-titel span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wb-sp-titel span.is-in { animation: wb-in .4s var(--e-uit); }
.wb-sp-n { flex: none; margin-left: auto; font-size: 11px; color: rgba(255, 255, 255, .55); }
.wb-sp-n b { font-weight: 500; color: #fff; }
@media (hover: hover) {
  .wb-sp-balk:hover .wb-hfst { height: 10px; margin-top: -5px; }
  .wb-hfst:hover { background: rgba(255, 255, 255, .4); }
  .wb-sp-speel:hover { background: rgba(255, 255, 255, .12); }
  .wb-hfst::after { content: attr(data-titel); position: absolute; bottom: 16px; left: 50%; padding: 6px 10px; border-radius: 7px; background: var(--inkt); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translate(-50%, 4px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .wb-hfst:hover::after { opacity: 1; transform: translate(-50%, 0); }
  .wb-schakel button:not(.is-aan):hover { color: var(--inkt); }
}

/* the still state: without the script, on reduced motion or ?tier=stil the hold is gone and three screenshots stand in a row */
.wb-stil { display: none; }
html:not(.beweeg) .wb-houd { display: none; }
html:not(.beweeg) .wb-stil { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .62fr) minmax(0, 1.6fr); gap: 16px; align-items: center; }
.wb-foto { margin: 0; overflow: hidden; border-radius: var(--r-kaart); background: #fff; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }
.wb-foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wb-foto-computer { aspect-ratio: 16 / 10; }
.wb-foto-gsm { aspect-ratio: 390 / 844; border: 6px solid #000; border-radius: 26px; }

/* the way out: one sentence and the two hand-offs */
.wb-uit { margin-top: var(--kop-y); }
.wb-uit-zin { margin: 0; max-width: 30em; font-size: var(--t-zin); line-height: 1.35; letter-spacing: -.01em; }
.wb-uit-zin em { font-style: normal; color: var(--rood); }
.wb-acties { margin-top: var(--kop-y); }

/* ======================= 02 · what is in his website, on chalk ======================= */
.wi { position: relative; padding: var(--sec-y) 0; background: var(--kalk); }
.wi-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--kop-y) var(--kolom-gap); align-items: start; }
.wi-kop { position: sticky; top: 120px; }
.wi-platform { margin-top: var(--kop-y); padding-top: var(--kop-y); border-top: 1px solid var(--lijn); }
.wi-platform-zin { margin: 0; font-size: var(--t-kaart); font-weight: 640; line-height: 1.1; letter-spacing: -.02em; }
.wi-platform p + p { margin: 12px 0 0; max-width: 30em; font-size: var(--t-sub); line-height: 1.5; color: var(--fg2); }
.wi-acties { margin-top: var(--kop-y); }
.wi-lijst { margin: 0; border-top: 1px solid var(--lijn); }
.wi-lijst > div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--lijn); }
.wi-lijst dt { font-size: var(--t-sub); font-weight: 620; line-height: 1.35; }
.wi-lijst dd { margin: 0; font-size: var(--t-sub); line-height: 1.45; color: var(--fg2); }

/* ======================= 03 · the formules, website preset: the website line of each card lit ======================= */
.wb-formules { background: var(--kalk); }
.wb-formules .wb-lijn { font-weight: 640; }
.wb-formules .wb-lijn::marker { color: var(--rood); }
.wb-formules .voetnoot a { color: inherit; text-underline-offset: 3px; }

/* ======================= narrower screens ======================= */
@media (max-width: 1100px) {
  .wb-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; }
  .wi-grid { grid-template-columns: minmax(0, 1fr); }
  .wi-kop { position: static; }
}
/* the phone: the part's text stands over the card, only the part on screen; the window takes the rest of the screen */
@media (max-width: 760px) {
  .wb-houd > .houd-podium { min-height: 560px; }
  .beweeg .wb-grid { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding-top: 72px; padding-bottom: 14px; }
  .beweeg .wb-delen { position: relative; flex: none; height: 148px; display: block; }
  .beweeg .wb-deel { position: absolute; inset: 0; padding: 0 0 0 16px; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .6s var(--uit); }
  .beweeg .wb-deel:is(.is-voorbij, :not(.is-nu)) { opacity: 0; }
  .beweeg .wb-deel.is-nu { opacity: 1; transform: none; }
  .beweeg .wb-deel p { max-height: none; margin-top: 6px; }
  .wb-deel h3 { font-size: 22px; }
  .wb-deel p { font-size: var(--t-meta); }
  .beweeg .wb-kaart { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .wb-kaart { padding: 10px 10px 0; }
  .beweeg .wb-raam { flex: 1 1 auto; height: auto; min-height: 0; }
  .wb-stippen { display: none; }
  .wb-balk { gap: 8px; padding-bottom: 10px; }
  .wb-url { padding: 7px 10px; font-size: 12px; }
  .wb-schakel button { min-height: 36px; padding: 0 11px; }
  .wb-sp { display: flex; align-items: center; gap: 8px; margin: 10px -10px 0; padding: 5px 14px 5px 6px; }
  .wb-sp-ctrl { display: contents; }
  .wb-sp-speel { order: -1; margin-left: 0; width: 36px; height: 36px; }
  .wb-sp-speel::before { left: 14px; top: 11px; }
  .wb-sp.is-loopt .wb-sp-speel::before { left: 12px; top: 11px; }
  .wb-sp-balk { flex: 1 1 auto; height: 30px; }
  .wb-sp-tijd, .wb-sp-titel { display: none; }
  html:not(.beweeg) .wb-stil { grid-template-columns: minmax(0, 1fr) minmax(0, .5fr); }
  html:not(.beweeg) .wb-stil .wb-foto:last-child { grid-column: 1 / -1; }
  .wi-lijst > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .wb-acties, .wi-acties { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-scherm, .wb-deel, .wb-deel p, .wb-sp-kop, .wb-hfst { transition: none; }
}
