/*
  Work: the homepage Selected Work block, the /work listing, case studies
  and project notes. Built only from the site's own tokens (v2.css,
  dark.css): serif headlines, iris accents, soft 8px corners and pill
  controls. Pages are generated by scripts/build-work.mjs.
  Each capability pillar has one colour, used for its dot and tag.
*/
:root { --p-experience: #a996ff; --p-innovation: #d99a80; --p-technology: #7d9cf0; --p-responsible: #8fd1bf; --p-people: #e2b6c4; }
.wk-page main { display: block; }

/* Shared bits */
.wk-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--p-experience); flex: none; }
.wk-dot--innovation { background: var(--p-innovation); } .wk-dot--technology { background: var(--p-technology); }
.wk-dot--responsible { background: var(--p-responsible); } .wk-dot--people { background: var(--p-people); }
.wk-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 700 0.64rem/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-body); }
.wk-card__note { color: var(--muted); font-weight: 600; letter-spacing: 0.1em; border-left: 1px solid var(--line); padding-left: 8px; }
.wk-card__who { font: 600 0.8rem/1.4 var(--sans); color: var(--muted); }
.wk-draft { display: inline-flex; width: max-content; font: 700 0.6rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--rose); border: 1px dashed rgba(213, 177, 168, .6); border-radius: 99px; padding: 6px 10px; }
.wk-tag, .wk-pillar { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 30px; padding: 6px 11px; border-radius: 99px; border: 1px solid rgba(169, 150, 255, .4);
  font: 700 0.62rem/1.1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.wk-tag:hover, .wk-pillar:hover { background: var(--violet); color: var(--paper); border-color: var(--violet); }
.wk-tag--primary { background: rgba(169, 150, 255, .14); border-color: var(--violet); }
.wk-pillar { gap: 8px; color: var(--ink); border-color: var(--line); }
.wk-pillar::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--p-experience); }
.wk-pillar--innovation::before { background: var(--p-innovation); } .wk-pillar--technology::before { background: var(--p-technology); }
.wk-pillar--responsible::before { background: var(--p-responsible); } .wk-pillar--people::before { background: var(--p-people); }
.wk-inline { color: var(--ink); text-underline-offset: 3px; }
.wk-tags, .wk-card__tags, .wk-methods { display: flex; flex-wrap: wrap; gap: 6px; }
.wk-methods li { font: 500 0.82rem/1.3 var(--sans); color: var(--ink-body); padding: 5px 10px; border-radius: 6px; background: var(--card); border: 1px solid var(--line); }
.wk-filter__label { font: 700 0.62rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.wk-muted { color: var(--muted); font-size: 0.94rem; }

/* Cards */
.wk-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); grid-auto-flow: dense; }
.wk-cards__item { grid-column: span 2; }
.wk-cards__item[hidden] { display: none; }
.wk-card { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.wk-card:hover { transform: translateY(-4px); border-color: rgba(169, 150, 255, .45); box-shadow: 0 24px 40px -22px rgba(143, 120, 255, .35); }
.wk-card:focus-within { border-color: var(--signal); }
.wk-card__art { aspect-ratio: 16 / 9; overflow: hidden; background: var(--night); }
.wk-card__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wk-card:hover .wk-card__art img { transform: scale(1.03); }
.wk-card__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.wk-card__title { margin: 0; font: 400 clamp(1.4rem, 1.15rem + 0.6vw, 1.75rem)/1.08 var(--serif); color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
.wk-card--case-study .wk-card__title { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); }
.wk-card__link { text-decoration: none; }
.wk-card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 8px; }
.wk-card__link:focus-visible { outline: none; }
.wk-card__link:focus-visible::after { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.wk-card__excerpt { font-size: 0.93rem; color: var(--ink-body); }
.wk-card__tags { margin-top: auto; padding-top: 6px; }
/* Notes without a strong lead image read as quieter, text-led cards. */
.wk-card--note .wk-card__art { aspect-ratio: 16 / 7; filter: saturate(.75); }
.wk-card--note .wk-card__tags .wk-tag { min-height: 26px; padding: 5px 9px; font-size: 0.58rem; }

/* Homepage Selected Work */
.wk-home__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); }
.wk-home__lead { position: relative; display: grid; gap: 18px; }
.wk-home__art { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--night); }
.wk-home__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wk-home__lead:hover .wk-home__art img, .wk-home__card:hover .wk-home__art img { transform: scale(1.03); }
.wk-home__body { display: grid; gap: 10px; max-width: 40em; }
.wk-home__title { margin: 0; font: 400 clamp(1.9rem, 1.3rem + 1.8vw, 3rem)/1.02 var(--serif); color: var(--ink); text-wrap: balance; }
.wk-home__title a, .wk-home__t a, .wk-feature__title a { text-decoration: none; }
.wk-home__title a:hover, .wk-home__t a:hover, .wk-feature__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.wk-home__side { display: grid; gap: clamp(20px, 3vw, 32px); align-content: start; }
.wk-home__card { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.wk-home__card .wk-home__art { aspect-ratio: 4 / 3; }
.wk-home__card > div { display: grid; gap: 8px; }
.wk-home__t { margin: 0; font: 400 clamp(1.3rem, 1.1rem + 0.5vw, 1.6rem)/1.1 var(--serif); color: var(--ink); text-wrap: balance; }



/* Filter chips, active filters, count and empty state */
.wk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wk-chips button { min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); font: 700 0.62rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; transition: background .2s, color .2s, border-color .2s; }
.wk-chips button:hover { border-color: var(--ink); }
.wk-chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.wk-chip__n { font-weight: 600; opacity: .6; font-variant-numeric: tabular-nums; }
.wk-active { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 8px 8px 8px 16px; border-radius: 8px; background: var(--card); border: 1px solid var(--line); }
.wk-active[hidden] { display: none; }
.wk-active p { font: 600 0.88rem/1.4 var(--sans); color: var(--ink); }
.wk-count { font: 700 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.wk-empty { display: grid; gap: 20px; justify-items: start; }
.wk-empty[hidden] { display: none; }
.wk-empty p { font: italic 400 clamp(1.5rem, 1rem + 1.4vw, 2.4rem)/1.2 var(--serif); color: var(--muted); }
.wk-back { font: 700 0.68rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 12px 0; }
.wk-feature__sub { font: italic 400 clamp(1.2rem, 1rem + 0.6vw, 1.5rem)/1.3 var(--serif); color: var(--violet); }

/* ── Shared page frame ─────────────────────────────────── */
.wk-wrap { max-width: calc(1240px + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }
.wk-wrap--narrow { max-width: calc(820px + 2 * var(--g)); }
.wk-badge { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--signal); background: rgba(143, 120, 255, .2); font: 700 0.62rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-night); text-decoration: none; }
.wk-badge--line { background: transparent; border-color: rgba(243, 237, 229, .32); }
.wk-badge--line:hover { background: var(--on-night); color: var(--night); }
.wk-outline { font: 800 clamp(2.6rem, 2rem + 2vw, 4.2rem)/0.9 var(--sans); color: transparent; -webkit-text-stroke: 1px var(--signal); }
.wk-story-link { color: var(--violet); text-underline-offset: 3px; }
.wk-story-link:hover { color: var(--ink); }

/* ── /work: the featured case study is the landing visual ── */
.wk-lhero { position: relative; min-height: max(640px, 100svh); display: flex; color: var(--on-night); overflow: hidden; isolation: isolate; }
.wk-lhero__media, .wk-chero__media, .wk-reflect__media, .wk-next__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.wk-lhero__media img, .wk-chero__media img, .wk-reflect__media img, .wk-next__media img { width: 100%; height: 100%; object-fit: cover; }
.wk-lhero__media::after, .wk-chero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 12, 27, .72) 0%, rgba(18, 12, 27, .2) 28%, rgba(18, 12, 27, .45) 58%, rgba(18, 12, 27, .97) 92%); }
.wk-lhero__inner { width: 100%; max-width: calc(1240px + 2 * var(--g)); margin: 0 auto; padding: 132px var(--g) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.wk-lhero__title { margin: 16px 0 0; font: 400 clamp(3rem, 1.6rem + 4.4vw, 6.4rem)/0.95 var(--serif); letter-spacing: -0.03em; max-width: 11em; text-wrap: balance; }
.wk-lhero__title em { color: var(--violet); }
.wk-lhero__intro { margin-top: 20px; max-width: 38em; font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem); color: var(--night-muted); }
.wk-lhero__feat { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid rgba(243, 237, 229, .22); }
.wk-lhero__feat > div { display: grid; gap: 12px; justify-items: start; max-width: 46em; }
.wk-lhero__ft { font: 400 clamp(2rem, 1.4rem + 2vw, 3.3rem)/1 var(--serif); text-wrap: balance; }
.wk-lhero__ft a { text-decoration: none; }
.wk-lhero__ft a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.wk-lhero__fm { display: flex; align-items: center; gap: 10px; font: 500 0.95rem/1.5 var(--sans); color: var(--ink-body); }
.wk-lhero__credit, .wk-chero__credit { font: 500 0.72rem/1.4 var(--sans); color: var(--night-muted); }
.wk-lhero__credit a, .wk-chero__credit a { color: inherit; text-underline-offset: 3px; }

/* Capability chart: each bar is also a filter. */
.wk-portfolio { padding: clamp(64px, 8vw, 110px) var(--g); max-width: calc(1240px + 2 * var(--g)); margin: 0 auto; }
.wk-chart { margin: 0; padding: clamp(22px, 3vw, 40px); border-radius: 10px; border: 1px solid var(--line); background: radial-gradient(70% 80% at 85% 0%, rgba(143, 120, 255, .16), transparent 70%), var(--night); }
.wk-chart__label { font: 700 0.68rem/1.3 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--violet); }
.wk-chart__bars { margin-top: 22px; display: grid; gap: 4px; }
.wk-bar { width: 100%; display: grid; grid-template-columns: minmax(150px, 0.42fr) minmax(0, 1fr) 32px; gap: 18px; align-items: center; min-height: 52px; padding: 6px 10px; margin: 0 -10px; border-radius: 8px; text-align: left; transition: background .25s; }
.wk-bar:hover, .wk-bar[aria-pressed="true"] { background: rgba(243, 237, 229, .05); }
.wk-bar__t { font: 600 clamp(0.92rem, 0.86rem + 0.3vw, 1.1rem)/1.3 var(--sans); color: var(--ink); }
.wk-bar__track { height: 14px; border-radius: 99px; background: var(--night-2); overflow: hidden; }
.wk-bar__fill { display: block; height: 100%; width: var(--w); border-radius: 99px; background: var(--p-experience); transform-origin: left; }
.wk-bar__fill--innovation { background: var(--p-innovation); } .wk-bar__fill--technology { background: var(--p-technology); }
.wk-bar__fill--responsible { background: var(--p-responsible); } .wk-bar__fill--people { background: var(--p-people); }
.wk-bar[aria-pressed="true"] .wk-bar__track { box-shadow: 0 0 0 2px var(--on-night); }
.wk-bar__n { font: 700 0.95rem/1 var(--sans); color: var(--night-muted); text-align: right; font-variant-numeric: tabular-nums; }
.wk-chart__note { margin-top: 18px; font-size: 0.88rem; color: var(--night-muted); }
.wk-chart__story { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.wk-chapters { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.wk-chapter { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); font: 700 0.64rem/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-night); text-decoration: none; transition: border-color .2s, background .2s; }
.wk-chapter:hover { border-color: var(--violet); background: rgba(169, 150, 255, .1); }
.wk-chapter__dots { display: inline-flex; }
.wk-chapter__dots .wk-dot + .wk-dot { margin-left: -3px; box-shadow: 0 0 0 2px var(--night); }

/* Filter bar: capability and industry, sticky under the header. */
.wk-browse { scroll-margin-top: 64px; }
.wk-filterbar { position: sticky; top: var(--wk-top, 76px); z-index: 20; display: grid; gap: 10px; padding: 14px var(--g); background: rgba(18, 12, 27, .9); backdrop-filter: blur(12px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wk-filterbar[hidden] { display: none; }
.wk-filterbar > * { width: 100%; max-width: 1240px; margin-inline: auto; }
.wk-filterbar .wk-filter { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; }
.wk-filterbar .wk-filter__label { margin: 0; }
.wk-filterbar .wk-active { margin-top: 2px; }
.wk-count { max-width: calc(1240px + 2 * var(--g)); margin: 0 auto; padding: 22px var(--g) 0; }
.wk-group { max-width: calc(1240px + 2 * var(--g)); margin: 0 auto; padding: clamp(36px, 5vw, 64px) var(--g) 0; }
.wk-group[hidden] { display: none; }
.wk-group__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 28px; }
.wk-group__note { color: var(--muted); font-size: 0.9rem; max-width: 30em; }
.wk-empty { max-width: calc(1240px + 2 * var(--g)); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--g); }

/* Case studies: image tiles of mixed sizes. */
.wk-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 19vw, 280px); gap: 16px; grid-auto-flow: dense; }
.wk-tile { grid-column: span 2; position: relative; }
.wk-tile[hidden] { display: none; }
.wk-tile--big { grid-column: span 4; grid-row: span 2; }
.wk-tile--wide { grid-column: span 3; }
.wk-tile__link { position: relative; display: flex; height: 100%; border-radius: 8px; overflow: hidden; text-decoration: none; color: var(--on-night); background: var(--card); border: 1px solid var(--line); isolation: isolate; transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.wk-tile__link:hover { border-color: rgba(169, 150, 255, .5); box-shadow: 0 24px 40px -22px rgba(143, 120, 255, .4); transform: translateY(-4px); }
.wk-tile__link:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.wk-tile__art { position: absolute; inset: 0; z-index: -1; }
.wk-tile__art img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.wk-tile__link:hover .wk-tile__art img { transform: scale(1.04); }
.wk-tile__art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(18, 12, 27, .95) 100%); }
.wk-tile__body { align-self: flex-end; display: grid; gap: 8px; padding: clamp(16px, 2vw, 28px); }
.wk-tile__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font: 700 0.62rem/1.4 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--violet); }
.wk-tile__title { font: 400 clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem)/1.05 var(--serif); text-wrap: balance; }
.wk-tile--big .wk-tile__title { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); max-width: 14em; }
.wk-tile__sub { font: italic 400 clamp(1.1rem, 1rem + 0.4vw, 1.35rem)/1.3 var(--serif); color: var(--ink-body); }
.wk-tile__stats { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 4px; }
.wk-tile__stats span { font: 600 0.86rem/1.3 var(--sans); color: var(--ink-body); }
.wk-tile__stats b { font: 400 1.9rem/1 var(--serif); color: var(--signal); margin-right: 4px; }
/* Wide tiles put the photo beside the words. */
.wk-tile--wide .wk-tile__link { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.wk-tile--wide .wk-tile__art { position: relative; inset: auto; z-index: 0; }
.wk-tile--wide .wk-tile__art::after { display: none; }
.wk-tile--wide .wk-tile__body { align-self: end; }

/* Project notes: an index list; an image follows the pointer. */
.wk-index { position: relative; }
.wk-index__head, .wk-row__link { display: grid; grid-template-columns: 84px minmax(0, 2.2fr) minmax(0, 1fr) minmax(0, 1.5fr) 28px; gap: 20px; align-items: center; }
.wk-index__head { padding: 0 0 12px; border-bottom: 1px solid var(--line); font: 700 0.62rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.wk-row[hidden] { display: none; }
.wk-row__link { position: relative; padding: 14px 12px; margin: 0 -12px; border-bottom: 1px solid var(--line); border-radius: 6px; text-decoration: none; transition: background .25s; }
.wk-row__link:hover, .wk-row__link:focus-visible { background: var(--card); }
.wk-row__link:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -2px; }
.wk-row__thumb img { width: 84px; height: 54px; object-fit: cover; border-radius: 4px; }
.wk-row__title { font: 400 clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem)/1.12 var(--serif); color: var(--ink); transition: color .25s; }
.wk-row__link:hover .wk-row__title { color: var(--violet); }
.wk-row__org, .wk-row__cap { font: 500 0.86rem/1.4 var(--sans); color: var(--night-muted); }
.wk-row__cap { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wk-row__ch { color: var(--violet); }
.wk-row__go { color: var(--signal); transition: transform .3s var(--ease); }
.wk-row__link:hover .wk-row__go { transform: translateX(4px); }
.wk-peek { position: absolute; left: 0; top: 0; z-index: 3; width: 300px; aspect-ratio: 3 / 2; border-radius: 8px; background: var(--night) center / cover no-repeat; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .65); pointer-events: none; opacity: 0; transition: opacity .25s, transform .35s var(--ease); }
.wk-peek.is-on { opacity: 1; }

/* ── Case study: the photo fills the first screen, key facts on it ── */
.wk-chero { position: relative; min-height: max(680px, 100svh); display: flex; color: var(--on-night); overflow: hidden; isolation: isolate; }
.wk-chero--note { min-height: max(600px, 86svh); }
.wk-chero__inner { width: 100%; max-width: calc(1240px + 2 * var(--g)); margin: 0 auto; padding: 120px var(--g) 30px; display: flex; flex-direction: column; justify-content: flex-end; gap: 24px; }
.wk-chero__crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wk-chero .wk-back { color: var(--night-muted); padding: 10px 6px 10px 0; }
.wk-chero .wk-back:hover { color: var(--on-night); }
.wk-chero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px 40px; flex-wrap: wrap; }
.wk-chero__text { flex: 1 1 560px; min-width: 0; }
.wk-chero__title { margin: 0; font: 400 clamp(2.8rem, 1.4rem + 4.6vw, 6.8rem)/0.93 var(--serif); letter-spacing: -0.03em; max-width: 13em; text-wrap: balance; }
.wk-chero__dek { margin-top: 16px; font: italic 400 clamp(1.3rem, 1.05rem + 1vw, 2rem)/1.22 var(--serif); color: var(--ink-body); }
.wk-chero__stats { display: flex; gap: 12px; }
.wk-chero__stats li { width: 160px; padding: 16px 18px; border-radius: 8px; background: rgba(30, 21, 44, .72); backdrop-filter: blur(8px); border: 1px solid rgba(169, 150, 255, .35); display: grid; gap: 8px; align-content: start; }
.wk-chero__v { font: 400 clamp(2.8rem, 2.2rem + 1.6vw, 3.8rem)/0.9 var(--serif); color: var(--signal); font-variant-numeric: tabular-nums; }
.wk-chero__l { font: 600 0.8rem/1.35 var(--sans); color: var(--ink-body); }
.wk-chero__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px 0; padding-top: 18px; border-top: 1px solid rgba(243, 237, 229, .22); }
.wk-chero__facts > div { padding: 0 18px; border-left: 1px solid rgba(243, 237, 229, .14); }
.wk-chero__facts > div:first-child { padding-left: 0; border-left: 0; }
.wk-chero__facts dt { font: 700 0.62rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--night-muted); }
.wk-chero__facts dd { margin: 6px 0 0; font: 500 0.95rem/1.4 var(--sans); color: var(--on-night); }
.wk-chero__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 20px; flex-wrap: wrap; }
.wk-chero__cue { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 700 0.64rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--night-muted); text-decoration: none; }
.wk-chero__cue::before { content: ''; width: 1px; height: 34px; background: linear-gradient(var(--signal), transparent); }
.wk-chero__cue:hover { color: var(--on-night); }
.wk-chero__zoom { min-height: 32px; text-decoration: underline; text-underline-offset: 3px; color: inherit; }

/* Chapter rail: sticky under the header, scrolls sideways on small screens. */
.wk-rail-nav { position: sticky; top: var(--wk-top, 76px); z-index: 20; background: rgba(18, 12, 27, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.wk-rail-nav ol { display: flex; max-width: calc(1240px + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); overflow-x: auto; scrollbar-width: none; }
.wk-rail-nav li { flex: 1 0 auto; }
.wk-rail-nav a { display: flex; gap: 8px; align-items: center; min-height: 48px; padding: 0 14px; border-bottom: 2px solid var(--line); font: 700 0.62rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .25s, border-color .25s; }
.wk-rail-nav li:first-child a { padding-left: 0; }
.wk-rail-nav a span { color: var(--signal); }
.wk-rail-nav a:hover { color: var(--ink); }
.wk-rail-nav a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--signal); }

/* Sections */
.wk-sec { padding: clamp(80px, 10vw, 140px) 0; scroll-margin-top: 108px; border-top: 1px solid var(--line); }
.wk-sec:first-of-type { border-top: 0; }
.wk-sec--alt { background: var(--paper-2); }
.wk-sec--band { background: var(--night); }
.wk-sec--challenge { background: radial-gradient(60% 70% at 85% 10%, rgba(143, 120, 255, .18), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(213, 177, 168, .07), transparent 70%), var(--paper); }
.wk-sec__n { font: 700 0.72rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--signal); }
.wk-sec__h { margin: 14px 0 0; font: 400 clamp(2.3rem, 1.4rem + 3.2vw, 4.4rem)/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); max-width: 16em; text-wrap: balance; }
.wk-sec__h em { color: var(--violet); }
.wk-sec .wk-wrap > * + * { margin-top: 1.4rem; }
.wk-sec .wk-wrap > .wk-sec__h { margin-top: 14px; }
.wk-lead { font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.16rem); line-height: 1.75; color: var(--ink-body); max-width: 42em; }
.wk-glance { font: 400 clamp(1.5rem, 1.15rem + 1.2vw, 2.3rem)/1.32 var(--serif); color: var(--ink); max-width: 30em; }
.wk-capsrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.wk-capsrow .wk-filter__label { margin-bottom: 10px; }
.wk-meta__in { font-size: 0.84rem; color: var(--muted); margin-left: 4px; }
.wk-question { margin: 28px 0 0; }
.wk-question p { font: 400 clamp(2.2rem, 1.2rem + 3.8vw, 5.2rem)/1.05 var(--serif); letter-spacing: -0.02em; color: var(--ink); max-width: 15em; text-wrap: balance; }
.wk-needs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: clamp(40px, 6vw, 64px) !important; }
.wk-needs li { display: grid; gap: 18px; align-content: start; padding-top: 22px; border-top: 1px solid var(--signal); }
.wk-needs p { font-size: 1.02rem; line-height: 1.65; color: var(--ink-body); }
.wk-sub { font: 700 0.68rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); margin: 2em 0 0.9em; }
.wk-muted { color: var(--muted); font-size: 0.94rem; }
.wk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; margin-top: 2rem !important; }
.wk-split--solo { grid-template-columns: minmax(0, 1fr); max-width: 52em; }
.wk-split__sticky { position: sticky; top: 130px; }
.wk-split__sticky .wk-graphic { margin: 0; }
.wk-principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.wk-principles li { padding: 18px 18px 20px; border-radius: 8px; border: 1px solid var(--line); font: 400 1.2rem/1.3 var(--serif); color: var(--ink); background: var(--card); }
.wk-insights { display: grid; gap: 12px; }
.wk-insight { padding: 18px 20px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); }
.wk-insight__k { font: 700 0.6rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.wk-insight__k:first-child { margin-top: 0; }
.wk-insight__o { font: 400 1.25rem/1.3 var(--serif); color: var(--ink); }
.wk-pending { padding: 20px 24px; border-radius: 8px; border: 1px dashed rgba(169, 150, 255, .45); background: rgba(169, 150, 255, .05); }
.wk-pending p { font: italic 400 1.12rem/1.45 var(--serif); color: var(--ink-body); }

/* Deliverables rail */
.wk-rail { position: relative; margin-top: 2.4rem !important; }
.wk-rail__nav { display: flex; justify-content: flex-end; gap: 10px; margin-bottom: 16px; }
.wk-rail.is-static .wk-rail__nav, .wk-rail.is-static .wk-rail__bar { display: none; }
.wk-rail__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(243, 237, 229, .3); color: var(--on-night); font-size: 1rem; transition: background .2s, color .2s, opacity .2s; }
.wk-rail__btn--next { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.wk-rail__btn:disabled { opacity: .35; cursor: default; }
.wk-rail__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.wk-rail__track:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 4px; }
.wk-solution { flex: 0 0 min(340px, 82%); scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.wk-solution--soft { border-style: dashed; border-color: rgba(169, 150, 255, .45); }
.wk-solution .wk-outline { font-size: 3rem; }
.wk-solution__t { margin: 0; font: 400 1.8rem/1.06 var(--serif); color: var(--ink); }
.wk-solution dl { display: grid; gap: 12px; font-size: 0.94rem; line-height: 1.55; color: var(--ink-body); }
.wk-solution dt { font: 700 0.6rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.wk-solution dd { margin: 0; }
.wk-status { margin-top: auto; align-self: flex-start; font: 700 0.6rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); }
.wk-solution--soft .wk-status { color: var(--rose); border-color: rgba(213, 177, 168, .5); }
.wk-rail__bar { height: 2px; margin-top: 24px; border-radius: 2px; background: var(--line); }
.wk-rail__bar span { display: block; width: 30%; height: 2px; border-radius: 2px; background: var(--signal); transition: width .2s; }

/* Outcomes: a rising staircase. Only steps 01 and 02 are results. */
.wk-ladder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: end; margin-top: clamp(36px, 5vw, 56px) !important; }
.wk-ladder__step { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: 8px; border: 1px solid var(--line); font-size: 0.94rem; line-height: 1.5; color: var(--ink-body); }
.wk-ladder__step--delivered { min-height: 420px; background: var(--card); border-color: rgba(169, 150, 255, .45); }
.wk-ladder__step--verified { min-height: 340px; background: var(--card); }
.wk-ladder__step--potential { min-height: 270px; border: 1px dashed rgba(213, 177, 168, .55); }
.wk-ladder__step--measures { min-height: 210px; border-style: dashed; }
.wk-ladder__n { font: 700 0.66rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal); }
.wk-ladder__step--potential .wk-ladder__n, .wk-ladder__step--potential .wk-ladder__d { color: var(--rose); }
.wk-ladder__k { font: 400 1.75rem/1.05 var(--serif); color: var(--ink); }
.wk-ladder__d { font: 700 0.6rem/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.wk-ladder__step > ul:not(.wk-ladder__chips) { display: grid; gap: 7px; }
.wk-ladder__step > ul:not(.wk-ladder__chips) li { position: relative; padding-left: 16px; }
.wk-ladder__step > ul:not(.wk-ladder__chips) li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 8px; height: 1px; background: var(--signal); }
.wk-ladder__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wk-ladder__chips li { padding: 6px 11px; border-radius: 99px; border: 1px solid rgba(169, 150, 255, .4); font: 700 0.6rem/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
.wk-ladder__none { font: italic 400 1.12rem/1.4 var(--serif); color: var(--muted); }
.wk-ladder__text { font: italic 400 1.15rem/1.38 var(--serif); color: var(--ink); }
.wk-ladder__how { font-size: 0.82rem; color: var(--muted); }

/* Role */
.wk-roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 48px; margin-top: 2rem !important; }
.wk-roles__list li { display: flex; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font: 400 clamp(1.4rem, 1.15rem + 0.8vw, 2rem)/1.15 var(--serif); color: var(--ink); }
.wk-roles__list span { font: 700 0.72rem/1 var(--sans); color: var(--signal); }
.wk-roles .wk-sub { margin-top: 0; }

/* Where this sits in My Story */
.wk-sec--story { padding: clamp(60px, 8vw, 96px) 0; }
.wk-storyline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 24px !important; }
.wk-storyline__c { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 8px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; transition: border-color .25s, color .25s; }
.wk-storyline__c:hover { border-color: var(--violet); color: var(--ink); }
.wk-storyline__n { font: 700 0.64rem/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.wk-storyline__t { font: 400 1.25rem/1.15 var(--serif); }
.wk-storyline__go { margin-top: auto; font: 700 0.6rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.wk-storyline__c.is-main { background: var(--signal); border-color: var(--signal); color: var(--night); box-shadow: 0 0 0 6px rgba(143, 120, 255, .16), 0 0 30px rgba(143, 120, 255, .4); }
.wk-storyline__c.is-also { border-style: dashed; border-color: rgba(169, 150, 255, .6); color: var(--ink-body); }

/* Reflection over the photo, then the next case study */
.wk-reflect { position: relative; min-height: min(760px, 90svh); display: flex; align-items: center; isolation: isolate; color: var(--on-night); overflow: hidden; padding: 100px 0; scroll-margin-top: 108px; }
.wk-reflect__media img { filter: saturate(.7); }
.wk-reflect__media::after { content: ''; position: absolute; inset: 0; background: rgba(18, 12, 27, .78); }
.wk-reflect .wk-wrap { width: 100%; }
.wk-reflect__q { margin: 28px 0 0; }
.wk-reflect__q p { font: italic 400 clamp(2.1rem, 1.2rem + 3.4vw, 4.6rem)/1.08 var(--serif); max-width: 16em; text-wrap: balance; }
.wk-reflect__q p::before { content: '“'; color: var(--signal); }
.wk-reflect__q p::after { content: '”'; color: var(--signal); }
.wk-next { position: relative; display: flex; align-items: center; min-height: 520px; isolation: isolate; color: var(--on-night); text-decoration: none; overflow: hidden; }
.wk-next__media img { transition: transform 1.2s var(--ease); }
.wk-next:hover .wk-next__media img { transform: scale(1.04); }
.wk-next__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 12, 27, .95) 0%, rgba(18, 12, 27, .6) 55%, rgba(18, 12, 27, .25) 100%); }
.wk-next__inner { width: 100%; display: grid; gap: 14px; justify-items: start; padding-top: 80px; padding-bottom: 80px; }
.wk-next__k { font: 700 0.68rem/1.3 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); }
.wk-next__t { font: 400 clamp(2.3rem, 1.4rem + 3vw, 4.6rem)/1 var(--serif); max-width: 13em; text-wrap: balance; }
.wk-next__d { font: italic 400 clamp(1.2rem, 1rem + 0.6vw, 1.5rem)/1.3 var(--serif); color: var(--ink-body); }
.wk-next__go { margin-top: 10px; }
.wk-next:focus-visible { outline: 2px solid var(--cobalt); outline-offset: -4px; }

/* ── Scroll-linked motion: CSS only, where the browser supports it ── */
@view-transition { navigation: auto; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    /* Hero photos drift slower than the page and settle as you scroll. */
    .wk-chero__img, .wk-lhero__img { animation: wk-drift linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes wk-drift { from { transform: scale(1.12) translateY(0); } to { transform: scale(1) translateY(14svh); } }
    .wk-chero__inner, .wk-lhero__inner { animation: wk-lift linear both; animation-timeline: scroll(root); animation-range: 0 80svh; }
    @keyframes wk-lift { to { opacity: 0.15; transform: translateY(-6svh); } }
    /* The challenge lights up word by word. */
    .wk-question .wk-w { animation: wk-word linear both; animation-timeline: view(); animation-range: entry 30% cover 42%; }
    @keyframes wk-word { from { opacity: 0.22; } to { opacity: 1; } }
    /* The approach diagram builds step by step. */
    .wk-split__sticky .wk-layers li, .wk-split__sticky .wk-flow li, .wk-split__sticky .wk-funnel li { animation: wk-step linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
    @keyframes wk-step { from { opacity: 0.25; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
    /* The outcome steps rise in order; capability bars grow. */
    .wk-ladder__step { animation: wk-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; }
    .wk-ladder__step:nth-child(2) { animation-range: entry 10% entry 100%; }
    .wk-ladder__step:nth-child(3) { animation-range: entry 20% cover 30%; }
    .wk-ladder__step:nth-child(4) { animation-range: entry 30% cover 35%; }
    @keyframes wk-rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
    .wk-bar__fill { animation: wk-grow linear both; animation-timeline: view(); animation-range: entry 10% cover 35%; }
    @keyframes wk-grow { from { transform: scaleX(0.04); } to { transform: none; } }
    .wk-reflect__media img { animation: wk-pan linear both; animation-timeline: view(); }
    @keyframes wk-pan { from { transform: scale(1.15) translateY(-6%); } to { transform: scale(1.15) translateY(6%); } }
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
}
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }

/* Infographics */
.wk-graphic { margin: clamp(28px, 4vw, 44px) 0 0; padding: clamp(18px, 2.4vw, 28px); border-radius: 8px; border: 1px solid var(--line); color: var(--on-night);
  background: radial-gradient(70% 80% at 85% 0%, rgba(143, 120, 255, .16), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(213, 177, 168, .07), transparent 70%), var(--night); }
.wk-graphic__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.wk-graphic__title { font: 400 clamp(1.3rem, 1.1rem + 0.6vw, 1.65rem)/1.15 var(--serif); color: var(--on-night); }
.wk-zoom { flex: none; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid rgba(243, 237, 229, .25); font: 700 0.6rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night); display: inline-flex; gap: 8px; align-items: center; }
.wk-zoom:hover { background: var(--on-night); color: var(--night); }
.wk-graphic figcaption { color: var(--night-muted); }
.wk-graphic__art { font: 600 0.88rem/1.3 var(--sans); }

.wk-eco { position: relative; aspect-ratio: 16 / 10; }
.wk-eco__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wk-eco__lines ellipse, .wk-eco__lines circle { fill: none; stroke: rgba(185, 174, 203, .22); stroke-width: 1; vector-effect: non-scaling-stroke; }
.wk-eco__lines line, .wk-eco__arc { fill: none; stroke: rgba(169, 150, 255, .45); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke .3s, stroke-width .3s; }
.wk-eco__lines line.is-on { stroke: var(--signal); stroke-width: 2.4; }
.wk-eco__lines marker path { fill: var(--signal); }
.wk-eco__centre { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 9.5em; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; text-align: center; padding: 12px;
  background: var(--signal); color: var(--night); font: 400 1.2rem/1.1 var(--serif); box-shadow: 0 0 0 8px rgba(143, 120, 255, .15), 0 0 40px rgba(143, 120, 255, .4); }
.wk-eco--cycle .wk-eco__centre { background: var(--night-2); color: var(--on-night); border: 1px solid rgba(169, 150, 255, .5); width: 7.5em; box-shadow: none; font-style: italic; }
.wk-eco__nodes li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); padding: 10px 14px; border-radius: 99px; text-align: center; max-width: 12em;
  background: var(--night-2); border: 1px solid rgba(169, 150, 255, .45); color: var(--on-night); transition: background .3s, color .3s, border-color .3s; }
.wk-eco__nodes li.is-on { background: var(--signal); color: var(--night); border-color: var(--signal); }
.wk-flow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; }
.wk-flow li, .wk-layers li { position: relative; display: grid; gap: 10px; align-content: start; padding: 14px 14px 16px; border-radius: 8px; background: var(--night-2); border: 1px solid rgba(169, 150, 255, .3); color: var(--on-night); }
.wk-flow li:not(:last-child)::after { content: '→'; position: absolute; right: -9px; top: 14px; z-index: 1; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--signal); color: var(--night); font-size: 0.7rem; }
.wk-flow__n { font: 700 0.62rem/1 var(--sans); letter-spacing: 0.12em; color: var(--signal); }
.wk-layers { display: grid; gap: 8px; }
.wk-layers li { grid-template-columns: auto 1fr; align-items: center; margin-left: calc(var(--i) * clamp(6px, 2.6vw, 28px)); padding: 12px 16px; }
.wk-layers li:last-child { border-style: dashed; }
.wk-funnel { display: grid; gap: 8px; justify-items: center; }
.wk-funnel li { width: var(--w); min-width: min(100%, 220px); padding: 14px 18px; text-align: center; border-radius: 8px; background: linear-gradient(90deg, rgba(169, 150, 255, .28), rgba(143, 120, 255, .5)); color: var(--on-night); }
.wk-funnel li:last-child { background: var(--signal); color: var(--night); }
.wk-spectrum { display: grid; gap: 14px; }
.wk-spectrum__ends { display: flex; justify-content: space-between; gap: 12px; font: 400 1.25rem/1.15 var(--serif); }
.wk-spectrum__ends p:last-child { text-align: right; color: var(--signal); }
.wk-spectrum__bar { height: 10px; border-radius: 99px; background: linear-gradient(90deg, rgba(185, 174, 203, .3), var(--signal)); position: relative; }
.wk-spectrum__bar span { position: absolute; right: -2px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 6px rgba(143, 120, 255, .2); }
.wk-spectrum__marks { display: flex; justify-content: space-around; gap: 8px; flex-wrap: wrap; }
.wk-spectrum__marks li { padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(169, 150, 255, .45); background: var(--night-2); }
.wk-converge { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 0.9fr) auto minmax(0, 0.9fr); align-items: center; gap: 10px; }
.wk-converge__in { display: grid; gap: 8px; }
.wk-converge__in li, .wk-converge__hub, .wk-converge__out { padding: 12px 14px; border-radius: 8px; background: var(--night-2); border: 1px solid rgba(169, 150, 255, .3); text-align: center; }
.wk-converge__hub { border-color: var(--signal); }
.wk-converge__out { background: var(--signal); color: var(--night); border-color: var(--signal); }
.wk-converge__arrow { color: var(--signal); font-size: 1.3rem; }

/* Gallery (original project visuals, when supplied) */
.wk-gallery__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.wk-gallery__item { flex: 0 0 min(86%, 640px); scroll-snap-align: start; }
.wk-gallery__n { font-weight: 700; color: var(--signal); margin-right: 4px; }
.wk-gallery__flag { color: var(--rose); }

/* Lightbox */
.wk-lightbox { width: min(96vw, 1400px); max-height: 92svh; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); overflow: auto; }
.wk-lightbox::backdrop { background: rgba(10, 6, 16, .82); backdrop-filter: blur(4px); }
.wk-lightbox__inner { padding: clamp(16px, 3vw, 32px); }
.wk-lightbox__inner img { width: 100%; height: auto; border-radius: 6px; }
.wk-lightbox__inner .wk-graphic { margin: 0; }
.wk-lightbox__inner .wk-zoom { display: none; }
.wk-lightbox__close { position: sticky; bottom: 12px; left: 100%; margin: 0 16px 16px auto; display: flex; min-height: 44px; padding: 0 18px; border-radius: 99px; background: var(--ink); color: var(--paper); font: 700 0.66rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; align-items: center; }

/* Related */
.wk-related { padding: clamp(60px, 8vw, 110px) var(--g); background: var(--paper-2); border-top: 1px solid var(--line); }
.wk-related__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.wk-related__caps { margin-bottom: clamp(28px, 4vw, 44px); display: grid; gap: 4px; }
.wk-related__exp { margin-top: 12px; color: var(--ink-body); }
.wk-related__exp a { color: var(--ink); text-underline-offset: 3px; }
.wk-cards--related .wk-cards__item { grid-column: span 2; }

/* Reveal on scroll: added by script only, so content is visible without it. */
.wk-js [data-reveal] { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.wk-js [data-reveal].is-pending { opacity: 0; transform: translateY(18px); }


@media (max-width: 1100px) {
  .wk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-cards__item, .wk-cards--related .wk-cards__item { grid-column: span 1; }
  .wk-cards--related .wk-cards__item:nth-child(3) { display: none; }
  .wk-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .wk-tile, .wk-tile--wide { grid-column: span 1; }
  .wk-tile--big { grid-column: 1 / -1; grid-row: span 2; }
  .wk-tile--wide .wk-tile__link { display: flex; }
  .wk-tile--wide .wk-tile__art { position: absolute; inset: 0; z-index: -1; }
  .wk-tile--wide .wk-tile__art::after { display: block; }
  .wk-split { grid-template-columns: 1fr; }
  .wk-split__sticky { position: static; }
  .wk-ladder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-ladder__step { min-height: 0 !important; }
  .wk-storyline { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
  .wk-index__head, .wk-row__link { grid-template-columns: 84px minmax(0, 2fr) minmax(0, 1.4fr) 24px; }
  .wk-index__head span:nth-child(3), .wk-row__org { display: none; }
}
@media (max-width: 860px) {
  .wk-home__grid { grid-template-columns: 1fr; gap: 20px; }
  .wk-converge { grid-template-columns: 1fr; justify-items: stretch; }
  .wk-converge__arrow { transform: rotate(90deg); justify-self: center; }
  .wk-chero__stats li { width: auto; flex: 1; }
  .wk-chero__stats { width: 100%; }
}
@media (max-width: 760px) {
  .wk-cards { grid-template-columns: 1fr; }
  .wk-cards--related .wk-cards__item:nth-child(3) { display: block; }
  .wk-lhero__inner { padding-top: 104px; }
  .wk-chero__inner { padding-top: 96px; gap: 18px; }
  .wk-chero__facts { grid-template-columns: 1fr 1fr; }
  .wk-chero__facts > div { padding: 0; border-left: 0; }
  .wk-filterbar { padding: 10px 0; }
  .wk-filterbar .wk-filter { grid-template-columns: 1fr; gap: 6px; padding: 0 var(--g); }
  .wk-filterbar .wk-active { margin: 0 var(--g); width: auto; }
  .wk-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 2px; scrollbar-width: none; }
  .wk-chips button { flex: none; }
  .wk-bar { grid-template-columns: minmax(0, 1fr) 28px; gap: 6px 12px; }
  .wk-bar__track { grid-column: 1 / -1; grid-row: 2; }
  .wk-bar__n { grid-row: 1; grid-column: 2; }
  .wk-bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .wk-tile--big { grid-column: auto; grid-row: span 1; }
  .wk-tile--big .wk-tile__title { font-size: 2rem; }
  .wk-index__head { display: none; }
  .wk-row__link { grid-template-columns: 72px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
  .wk-row__thumb { grid-row: span 2; }
  .wk-row__thumb img { width: 72px; height: 72px; }
  .wk-row__go { display: none; }
  .wk-ladder { grid-template-columns: 1fr; }
  .wk-storyline { grid-template-columns: 1fr 1fr; }
  .wk-reflect { min-height: 0; }
  .wk-next { min-height: 420px; }
  .wk-graphic__head { align-items: start; }
  /* Ecosystems and cycles become a list around their centre. */
  .wk-eco { aspect-ratio: auto; display: grid; gap: 12px; }
  .wk-eco__lines { display: none; }
  .wk-eco__centre { position: static; transform: none; width: auto; aspect-ratio: auto; border-radius: 8px; padding: 14px; }
  .wk-eco__nodes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .wk-eco__nodes li { position: static; transform: none; max-width: none; border-radius: 8px; }
  .wk-flow { grid-auto-flow: row; grid-template-columns: 1fr; }
  .wk-flow li { grid-template-columns: auto 1fr; align-items: center; }
  .wk-flow li:not(:last-child)::after { content: '↓'; right: auto; left: 22px; top: auto; bottom: -13px; }
  .wk-funnel li { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wk-js [data-reveal].is-pending { opacity: 1; transform: none; }
  .wk-card, .wk-card__art img, .wk-tile__link, .wk-tile__art img, .wk-next__media img, .wk-peek { transition: none; }
}
@media (hover: none) {
  .wk-card:hover, .wk-tile__link:hover { transform: none; }
}
