:root {
  --bg: #f8f8f8;
  --ink: #111;
  --ink-2: #555;
  --mute: #9b9b9b;
  --dim: #c2c2c2;
  --faint: #d9d9d9;
  --soft: #ececec;
  --soft-2: #f3f3f3;
  --line: #e4e4e4;
  --surface: #fff;
  --scrim: rgba(248, 248, 248, .72);
  --accent: #e2193a;
  --red: var(--accent);
  --vw: 100vw;
  --s: min(36vw, 62vh);              /* hero square */
  --fs: clamp(84px, 13.5vw, 300px);   /* hero line */
  --gutter: clamp(16px, 2.4vw, 40px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

/* dark: follows the system unless the visitor picked a theme */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d0d0d; --ink: #ededed; --ink-2: #b3b3b3; --mute: #7f7f7f; --dim: #4a4a4a; --faint: #2c2c2c;
    --soft: #1b1b1b; --soft-2: #181818; --line: #242424; --surface: #131313; --scrim: rgba(13, 13, 13, .72);
    --accent: #ff3350; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0d0d0d; --ink: #ededed; --ink-2: #b3b3b3; --mute: #7f7f7f; --dim: #4a4a4a; --faint: #2c2c2c;
  --soft: #1b1b1b; --soft-2: #181818; --line: #242424; --surface: #131313; --scrim: rgba(13, 13, 13, .72);
  --accent: #ff3350; color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 300 16px/1.5 "Outfit", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--bg); }

.label { display: block; font-size: 13px; color: var(--mute); letter-spacing: .02em; }

/* ── chrome ───────────────────────────────────── */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 12px; pointer-events: none;
}
.bar > * { pointer-events: auto; }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px 6px; border-radius: 4px;
  background: var(--soft); font-size: 15px; font-weight: 400;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.chip:hover { background: var(--ink); color: var(--bg); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.chip--red { background: var(--accent); color: #fff; }
.chip--red:hover { background: var(--ink); }
.chip--red .dot { animation: blink 2.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

.pill {
  display: flex; align-items: center; justify-content: space-between;
  width: min(272px, 46vw); height: 44px; padding: 0 26px;
  background: var(--ink); color: var(--bg); border-radius: 999px;
  font-size: 15px; font-weight: 400;
  transition: width .5s var(--ease);
}
.pill__mark { letter-spacing: .12em; }
.pill:hover { width: min(300px, 50vw); }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--bg);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu ol { list-style: none; text-align: center; }
.menu a {
  display: inline-flex; align-items: flex-start; gap: 14px;
  font-weight: 700; font-size: clamp(52px, 9vw, 140px);
  line-height: .98; letter-spacing: -.05em;
  transition: opacity .3s;
}
.menu small { font-size: 13px; font-weight: 300; letter-spacing: 0; color: var(--mute); margin-top: 1.2em; }
.menu ol:hover a { opacity: .18; }
.menu ol a:hover { opacity: 1; }

.progress { position: fixed; left: 0; bottom: 0; width: 100%; height: 6px; z-index: 30; }
.progress span { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

/* ── hero ─────────────────────────────────────── */
.hero { height: 300vh; position: relative; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --p1: 0; --p2: 0; }

.marquee {
  position: absolute; left: 0; top: 50%;
  width: var(--vw); transform: translateY(-50%);
  white-space: nowrap; pointer-events: none; user-select: none;
  font-weight: 700; font-size: var(--fs); line-height: 1; letter-spacing: -.05em;
  opacity: calc(1 - var(--p1) * 1.4);
}
.marquee__track { display: inline-block; will-change: transform; padding-bottom: .12em; }
.marquee__track span { display: inline-block; }
.marquee__track i { font-style: normal; display: inline-block; padding: 0 .22em; }

.frame {
  position: absolute; left: 50%; top: 50%; z-index: 1;
  width: var(--s); height: var(--s);
  transform: translate(-50%, -50%);
}
.frame__meta {
  position: absolute; bottom: 100%; left: 0; right: 0;
  display: flex; justify-content: space-between; padding: 0 0 22px;
  font-size: 15px; color: var(--mute); letter-spacing: .04em;
  opacity: calc(1 - var(--p1) * 3);
  font-variant-numeric: tabular-nums;
}
.ear { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); letter-spacing: .04em; }
.ear:hover, .ear.is-on { color: var(--ink); }
.ring { width: 8px; height: 8px; border: 1.5px solid currentColor; border-radius: 50%; }
.ear.is-on .ring { background: currentColor; animation: blink 1.2s infinite; }

.frame__box {
  position: absolute; inset: 0; overflow: hidden;
  clip-path: inset(
    calc(var(--s) * .19 * var(--p1)) calc(var(--s) * .3 * var(--p1))
    calc(var(--s) * .19 * var(--p1)) calc(var(--s) * .3 * var(--p1))
  );
}
.frame__media {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 30% 20%, #3a3a3a 0%, #1b1b1b 55%, #0d0d0d 100%);
  transform: scale(calc(1 + var(--p1) * .08));
}
.frame__media::after {            /* film grain */
  content: ""; position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.5'/></svg>");
  opacity: .22; mix-blend-mode: overlay;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 4%); }
  40% { transform: translate(4%, -8%); } 60% { transform: translate(-8%, -2%); }
  80% { transform: translate(6%, 6%); } 100% { transform: translate(0, 0); }
}
.frame__media img, .frame__media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.frame__media .portrait { opacity: var(--p1); }

.marquee--inner {
  left: calc(var(--s) / 2 - var(--vw) / 2);
  color: #fff; z-index: 3;
}

.frame__caption {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 90vw; padding-top: 52px;
  font-size: 15px; color: var(--mute); letter-spacing: .03em; text-align: center;
  opacity: calc(1 - var(--p1) * 3);
}

.intro { position: absolute; inset: 0; pointer-events: none; opacity: var(--p2); }
.intro p { position: absolute; top: 50%; font-size: clamp(15px, 1.15vw, 19px); line-height: 1.35; }
.intro__name {
  left: 12vw; display: flex; flex-direction: column;
  transform: translateY(calc(-50% + (1 - var(--p2)) * 24px));
}
.intro__name span:first-child { font-weight: 500; }
.intro__lead {
  right: 12vw; width: min(330px, 26vw);
  transform: translateY(calc(-50% + (1 - var(--p2)) * 24px));
}

/* ── statement ────────────────────────────────── */
.statement {
  padding: 18vh var(--gutter) 26vh;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
}
.statement__big {
  font-weight: 500; font-size: clamp(26px, 3vw, 46px); line-height: 1.12; letter-spacing: -.025em;
  max-width: 16em;
}
.statement__small { color: var(--mute); font-size: 15px; margin-bottom: 40px; }

/* ── work ─────────────────────────────────────── */
.head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 var(--gutter) 22px; gap: 20px; flex-wrap: wrap; }
.filters { display: flex; gap: 4px; flex-wrap: wrap; }
.filters button {
  padding: 4px 10px 5px; border-radius: 4px; font-size: 14px; color: var(--mute);
  transition: color .2s, background .2s;
}
.filters button:hover { color: var(--ink); }
.filters button.is-on { background: var(--ink); color: var(--bg); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px 2px; }
.card { display: block; text-align: left; width: 100%; transition: opacity .5s var(--ease); }
.card.is-hidden { display: none; }
.card__img {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft);
}
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card__num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-weight: 200; font-size: clamp(80px, 12vw, 200px); letter-spacing: -.06em; color: var(--faint);
  transition: transform 1.2s var(--ease), color .5s;
}
.card:hover .card__img img, .card:hover .card__num { transform: scale(1.035); }
.card:hover .card__num { color: var(--dim); }
.card__peek {
  position: absolute; left: 14px; bottom: 14px; padding: 5px 10px 6px; border-radius: 4px;
  background: var(--ink); color: var(--bg); font-size: 14px;
  opacity: 0; transform: translateY(8px); transition: .4s var(--ease);
}
.card:hover .card__peek { opacity: 1; transform: none; }
.card__meta { display: flex; justify-content: space-between; gap: 16px; padding: 14px var(--gutter) 0; }
.card__title { font-weight: 500; font-size: 17px; }
.card__client { color: var(--mute); font-size: 15px; }
.card__year { color: var(--mute); font-size: 14px; font-variant-numeric: tabular-nums; }

/* ── thinking ─────────────────────────────────── */
.thinking { padding: 34vh var(--gutter) 22vh; display: flex; flex-direction: column; align-items: center; }
.thinking .label { margin-bottom: 36px; }
.principles { list-style: none; width: min(640px, 100%); }
.principles li { border-top: 1px solid transparent; }
.principles button {
  width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: baseline;
  font-size: clamp(22px, 2.3vw, 36px); font-weight: 400; letter-spacing: -.02em; line-height: 1.3;
  padding: 2px 0; transition: color .3s;
}
.principles button em { font-style: normal; font-size: 14px; color: var(--mute); letter-spacing: 0; }
.principles:hover button { color: var(--dim); }
.principles li:hover button, .principles li.is-open button { color: var(--ink); }
.principles .why {
  display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease);
}
.principles .why > p { overflow: hidden; color: var(--mute); font-size: 16px; max-width: 30em; }
.principles li.is-open .why { grid-template-rows: 1fr; }
.principles li.is-open .why > p { padding: 6px 0 22px; }

/* ── path ─────────────────────────────────────── */
.path { padding: 10vh var(--gutter) 20vh; }
.path .label { margin-bottom: 28px; }
.rows { list-style: none; border-bottom: 1px solid var(--line); }
.rows li {
  display: grid; grid-template-columns: 1.1fr 2fr 2fr .8fr; gap: 20px; align-items: baseline;
  padding: 18px 0; border-top: 1px solid var(--line);
  font-size: clamp(16px, 1.35vw, 22px); font-weight: 400;
  transition: padding .4s var(--ease), color .3s;
}
.rows:hover li { color: var(--dim); }
.rows li:hover { color: var(--ink); padding-left: 12px; }
.rows .y { font-variant-numeric: tabular-nums; color: var(--mute); }
.rows .t { text-align: right; font-size: 14px; color: var(--mute); }

/* ── people ───────────────────────────────────── */
.people { padding: 10vh var(--gutter) 24vh; }
.people .label { margin-bottom: 28px; }
.people__list {
  font-size: clamp(30px, 4.6vw, 78px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em;
  color: var(--dim);
}
.people__list span { transition: color .3s; }
.people__list span:hover { color: var(--ink); }
.people__list i { font-style: normal; color: var(--ink); padding: 0 .2em; font-size: .5em; vertical-align: .35em; }

/* ── closing / contact ───────────────────────── */
.closing { padding: 14vh var(--gutter) 22vh; display: flex; flex-direction: column; align-items: center; text-align: center; }
.closing__mark { font-weight: 200; font-size: clamp(70px, 8vw, 130px); color: var(--dim); letter-spacing: .05em; margin: 34px 0 14px; line-height: 1; }
.closing__line { font-weight: 500; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.02em; }
.closing__small { color: var(--mute); font-size: 14px; margin-top: 12px; }

.contact { padding: 0 var(--gutter) 40px; }
.contact__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin: 14px 0 56px; }
.contact__big {
  font-weight: 700; font-size: clamp(56px, 9.5vw, 170px); line-height: .95; letter-spacing: -.055em;
  position: relative;
}
.contact__big::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .06em; background: currentColor;
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease);
}
.contact__big:hover::after { transform: scaleX(1); }
.contact__note { text-align: right; color: var(--mute); font-size: 15px; }
.contact__links { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.contact__links div { display: flex; gap: 28px; }
.contact__links a:hover { color: var(--mute); }
.contact__credit { margin-top: 44px; font-size: 13px; color: var(--mute); }

/* ── project sheet ───────────────────────────── */
.sheet {
  position: fixed; inset: 0; z-index: 60; background: var(--scrim);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .5s var(--ease);
}
.sheet.is-open { opacity: 1; pointer-events: auto; }
.sheet__inner {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(640px, 100%);
  background: var(--surface); overflow-y: auto; padding: 96px clamp(24px, 4vw, 56px) 64px;
  transform: translateX(40px); transition: transform .6s var(--ease);
  box-shadow: -1px 0 0 var(--line);
}
.sheet.is-open .sheet__inner { transform: none; }
.sheet__close { position: absolute; top: 20px; right: 24px; z-index: 2; font-size: 14px; color: var(--mute); }
.sheet__close:hover { color: var(--ink); }
.sheet h3 { font-weight: 700; font-size: clamp(32px, 3.4vw, 52px); line-height: 1; letter-spacing: -.045em; margin: 10px 0 8px; }
.sheet .sub { color: var(--mute); margin-bottom: 48px; }
.sheet dl { display: grid; grid-template-columns: 110px 1fr; gap: 22px 20px; border-top: 1px solid var(--line); padding-top: 26px; }
.sheet dt { color: var(--mute); font-size: 14px; padding-top: 3px; }
.sheet dd { font-size: 18px; font-weight: 400; line-height: 1.4; }

/* ── reveal ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── small screens ───────────────────────────── */
@media (max-width: 760px) {
  :root { --s: min(80vw, 56vh); --fs: clamp(64px, 24vw, 120px); }
  .chip { font-size: 13px; }
  .pill { height: 40px; padding: 0 18px; font-size: 14px; }
  #thought { font-size: 0; gap: 0; padding: 9px; }       /* dot only */
  .intro p { top: auto; width: auto; text-align: center; left: 16px; right: 16px; }
  .intro__name { top: 12vh !important; align-items: center; transform: translateY(calc((1 - var(--p2)) * 16px)); }
  .intro__lead { bottom: 12vh; transform: translateY(calc((1 - var(--p2)) * 16px)); }
  .grid { grid-template-columns: 1fr; gap: 44px; }
  .rows li { grid-template-columns: 1fr; gap: 2px; }
  .rows .t { text-align: left; }
  .contact__note { text-align: left; }
  .sheet dl { grid-template-columns: 1fr; gap: 4px; }
  .sheet dd { margin-bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

section[id], footer[id] { scroll-margin-top: 72px; }
html { scroll-behavior: smooth; }
.work { padding-top: 80px; }

/* project sheet: summary, link, screenshots */
.sheet__inner { width: min(760px, 100%); }
.sheet .lede { font-size: 20px; font-weight: 400; line-height: 1.4; letter-spacing: -.01em; max-width: 30em; margin: -20px 0 40px; }
.sheet dl { margin-bottom: 32px; }
.sheet .visit { margin-bottom: 40px; }
.shots { display: grid; gap: 12px; }
.shots img { width: 100%; display: block; background: var(--soft); }

/* cv notes */
.rows small { display: block; font-size: 14px; line-height: 1.4; color: var(--mute); margin-top: 4px; max-width: 34em; }
.rows:hover li small { color: var(--faint); }
.rows li:hover small { color: var(--mute); }

/* the portrait fills exactly the cropped frame, so the whole headshot shows */
.frame__media .portrait { top: 19%; left: 30%; width: 40%; height: 62%; object-position: 50% 30%; }
.card__year { white-space: nowrap; }

.marquee__track b { font-weight: inherit; }
[data-caption] { display: inline-block; transition: opacity .25s, transform .25s var(--ease); }
[data-caption].is-swapping { opacity: 0; transform: translateY(4px); }

/* client ledger in the project sheet */
.ledger { margin: 8px 0 40px; }
.ledger .label { margin-bottom: 12px; }
.ledger ul { list-style: none; border-bottom: 1px solid var(--line); }
.ledger li { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 15px; }
.ledger li span:first-child { font-weight: 400; }
.ledger li span:last-child { color: var(--mute); text-align: right; }

/* ── worked-with directory ───────────────────── */
.head--flush { padding: 0 0 36px; }
.directory { display: grid; gap: 34px; }
.dir-group { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline; border-top: 1px solid var(--line); padding-top: 18px; }
.dir-label { font-size: 14px; color: var(--mute); display: flex; gap: 8px; align-items: baseline; }
.dir-label em { font-style: normal; font-size: 12px; color: var(--dim); }
.dir-names {
  font-size: clamp(24px, 3vw, 46px); font-weight: 400; line-height: 1.15; letter-spacing: -.03em; color: var(--dim);
}
.dir-names button { font: inherit; letter-spacing: inherit; color: inherit; text-align: left; transition: color .25s; }
.dir-names button:hover, .dir-names button:focus-visible { color: var(--ink); outline: none; }
.dir-names i { font-style: normal; color: var(--ink); padding: 0 .8em; font-size: .4em; vertical-align: .45em; }
@media (max-width: 760px) { .dir-group { grid-template-columns: 1fr; gap: 6px; } }

/* client names in a project sheet open the person panel */
.ledger li button { font-weight: 400; text-align: left; border-bottom: 1px solid transparent; transition: border-color .2s; }
.ledger li button:hover { border-color: currentColor; }

/* ── person panel, from the left ─────────────── */
.sheet--left { z-index: 70; }
.sheet--left .sheet__inner {
  right: auto; left: 0; width: min(560px, 100%);
  transform: translateX(-40px); box-shadow: 1px 0 0 var(--line);
}
.sheet--left.is-open .sheet__inner { transform: none; }
.sheet--left .sheet__close { right: auto; left: min(500px, calc(100% - 80px)); }
.sheet--left h3 { margin-bottom: 20px; }
.sheet--left .visit { margin-bottom: 8px; }
.who, .what { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 32px; }
.who .label, .what .label { margin-bottom: 8px; }
.who p { font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.what p { font-size: 22px; font-weight: 400; line-height: 1.35; letter-spacing: -.015em; }
.what dl { border: 0; padding-top: 22px; grid-template-columns: 70px 1fr; gap: 8px 16px; }
.what dd { font-size: 15px; }

/* "formerly …" after a renamed organisation */
.dir-names button small { font-size: max(13px, .42em); letter-spacing: 0; color: var(--mute); margin-left: .5em; vertical-align: .55em; font-weight: 300; }
.sheet--left h3 + .formerly { margin: -12px 0 20px; color: var(--mute); font-size: 15px; }

/* ── person panel v2: shell, preview, approach, navigation ── */
.person-shell {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(580px, 100%);
  background: var(--surface); box-shadow: 1px 0 0 var(--line);
  transform: translateX(-40px); transition: transform .6s var(--ease);
}
.sheet--left.is-open .person-shell { transform: none; }
.sheet--left .sheet__inner {
  position: absolute; inset: 0; width: auto; transform: none !important; box-shadow: none;
  padding: 88px 76px 150px clamp(24px, 4vw, 48px);
}
.sheet--left .sheet__close { left: auto; right: 24px; }

.person-card { transition: opacity .26s var(--ease), transform .4s var(--ease); }
.person-card.leave-up { opacity: 0; transform: translateY(-22px); }
.person-card.leave-down { opacity: 0; transform: translateY(22px); }
.person-card.enter-below { opacity: 0; transform: translateY(22px); transition: none; }
.person-card.enter-above { opacity: 0; transform: translateY(-22px); transition: none; }

/* website preview, framed like a small browser window */
.preview {
  display: block; margin: 4px 0 8px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--soft); transition: border-color .3s, transform .5s var(--ease);
}
.preview:hover { border-color: var(--accent); transform: translateY(-2px); }
.preview__bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; background: var(--soft-2); border-bottom: 1px solid var(--line); font-size: 12px; }
.preview__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.preview__bar em { font-style: normal; margin-left: 8px; color: var(--mute); flex: 1; }
.preview__bar b { font-weight: 400; color: var(--ink); opacity: 0; transition: opacity .3s; }
.preview:hover .preview__bar b { opacity: 1; }
.preview img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.preview.is-empty img { display: none; }
.preview.is-empty::after { content: "preview not available"; display: block; padding: 28px 14px; font-size: 13px; color: var(--mute); text-align: center; }

.what dl { grid-template-columns: 80px 1fr; }

/* apple's five steps of service */
.approach { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 32px; }
.approach .label { margin-bottom: 14px; }
.approach ol { list-style: none; display: grid; gap: 16px; }
.approach li { display: grid; grid-template-columns: 112px 1fr; gap: 2px 16px; }
.approach b { grid-row: span 2; font-weight: 500; font-size: 15px; display: flex; gap: 10px; align-items: baseline; }
.approach b em { font-style: normal; font-weight: 700; font-size: 22px; letter-spacing: -.04em; width: 18px; }
.approach p { font-size: 15px; line-height: 1.45; }
.approach p.apple { color: var(--mute); font-style: italic; }

/* side arrows */
.person-side { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: grid; gap: 6px; z-index: 2; }
.person-side button, .pnav > button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  font-size: 15px; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s;
}
.person-side button:hover, .pnav > button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* bottom navigation: a–z rail */
.pnav {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: grid; grid-template-columns: 36px 1fr auto 36px; gap: 16px; align-items: center;
  padding: 18px clamp(24px, 4vw, 48px) 22px; background: linear-gradient(transparent, var(--surface) 30%);
}
.pcount { font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; min-width: 52px; text-align: right; }
.rail { position: relative; height: 34px; margin: 0 6px; }
.rail__line { position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: var(--faint); }
.rail__tick {
  position: absolute; top: 16px; transform: translateX(-50%);
  font-size: 10px; line-height: 1; color: var(--dim); padding: 4px 1px; transition: color .2s;
}
.rail__tick::before { content: ""; position: absolute; left: 50%; top: -6px; width: 1px; height: 5px; background: var(--faint); }
.rail__tick:hover, .rail__tick.is-on { color: var(--ink); }
.rail__dot {
  position: absolute; top: 10px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ink);
  transform: translate(-50%, -50%); transition: left .5s var(--ease); pointer-events: none;
}
.rail__dot em { display: none; }

@media (max-width: 760px) {
  .sheet--left .sheet__inner { padding: 72px 20px 150px; }
  .person-side { display: none; }
  .approach li { grid-template-columns: 1fr; }
  .approach b { grid-row: auto; }
}
.preview.is-empty::after { content: none; }
.preview.is-empty .preview__bar { border-bottom: 0; }
.preview.is-empty .preview__bar b { opacity: 1; }
.rail__tick.is-crowded { color: transparent; } .rail__tick.is-crowded.is-on { color: var(--ink); }

/* scope of work on corporate accounts */
.scope { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 32px; }
.scope .label { margin-bottom: 12px; }
.scope ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.scope li { padding: 5px 10px 6px; border-radius: 4px; background: var(--soft); font-size: 14px; font-weight: 400; }

/* ── theme toggle ──────────────────────────────── */
.bar__right { display: flex; gap: 6px; align-items: center; }
.chip--theme { cursor: pointer; }
.theme-icon {
  width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
  transition: transform .6s var(--ease);
}
:root[data-theme="dark"] .theme-icon { transform: rotate(180deg); }
@media (max-width: 760px) { .chip--theme [data-theme-label] { display: none; } .chip--theme { padding: 8px; } }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* a theme change: the page as it was stays put while the new one inks in
   over it (the mask and its animation are set from main.js) */
:root.theme-inking::view-transition-old(root) { animation: none; }

/* page transitions (filters, the directory) crossfade */
:root::view-transition-old(root) { animation: vt-out .28s var(--ease) both; }
:root::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* ── accent: used sparingly, for moments of focus ── */
::selection { background: var(--accent); color: #fff; }
.progress span { background: var(--accent); }
.chip:not(.chip--red):hover { background: var(--accent); color: #fff; }
.card__peek { background: var(--accent); color: #fff; }
.card:hover .card__title { color: var(--accent); }
.card__title { transition: color .3s; }
.dir-names i { color: var(--accent); }
.dir-names button:hover, .dir-names button:focus-visible { color: var(--ink); }
.dir-names button:hover small { color: var(--accent); }
.people__list i { color: var(--accent); }
.principles li.is-open button em { color: var(--accent); }
.principles li.is-open button { color: var(--ink); }
.rows li:hover .y { color: var(--accent); }
.rows .y { transition: color .3s; }
.contact__big::after { background: var(--accent); }
.contact__links a:hover, .menu small { color: var(--accent); }
.filters button.is-on { background: var(--ink); color: var(--bg); }
.ledger li button:hover { color: var(--accent); border-color: var(--accent); }
.preview__bar b { color: var(--accent); }
.rail__dot { background: var(--accent); }
.rail__tick.is-on { color: var(--accent); }
.marquee__track i { color: var(--accent); }
.marquee--inner .marquee__track i { color: #fff; }

/* ── organisation pop-up: full page ───────────── */
.is-locked, .is-locked body { overflow: hidden; }
.sheet--left { background: transparent; transition: none; opacity: 1; visibility: hidden; }
.sheet--left.is-open { visibility: visible; }
.sheet--left .person-shell {
  width: 100%; transform: none; box-shadow: none; background: var(--bg);
  clip-path: inset(0 100% 0 0);
  transition: clip-path .8s cubic-bezier(.77, 0, .18, 1), visibility 0s .8s;
}
.sheet--left.is-open .person-shell { clip-path: inset(0 0 0 0); transition: clip-path .8s cubic-bezier(.77, 0, .18, 1); }
.sheet--left .sheet__inner { padding: 104px var(--gutter) 170px; background: transparent; }
.sheet--left .sheet__close { top: 24px; right: var(--gutter); font-size: 14px; z-index: 3; }
#personCard { max-width: 1280px; margin: 0 auto; }

.pp-head { margin-bottom: clamp(32px, 5vw, 64px); }
.sheet--left .pp-head h3 {
  font-weight: 700; font-size: clamp(48px, 8.4vw, 136px); line-height: .92; letter-spacing: -.055em;
  margin: 14px 0 0; max-width: 12em;
}
.sheet--left .pp-head .formerly { margin: 14px 0 0; font-size: 16px; }
.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.pp-main .who:first-child, .pp-main .st:first-child .who { margin-top: 0; }
.pp-side { position: sticky; top: 24px; }
.pp-side .preview { margin: 0; border-radius: 10px; }
.preview--none { display: grid; place-items: center; aspect-ratio: 16 / 10; color: var(--mute); font-size: 14px; border: 1px dashed var(--line); background: transparent; }
.sheet--left .what p { font-size: clamp(20px, 1.8vw, 26px); }
.sheet--left .who p { font-size: clamp(16px, 1.3vw, 19px); }

/* blocks arrive one after another, from the direction of travel */
.st { animation: st-in .7s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms)); }
@keyframes st-in { from { opacity: 0; transform: translateY(calc(var(--dir, 1) * 26px)); filter: blur(4px); } }
.person-card { transition: opacity .2s var(--ease), transform .3s var(--ease), filter .3s var(--ease); }
.person-card.leave-up { opacity: 0; transform: translateY(-26px); filter: blur(4px); }
.person-card.leave-down { opacity: 0; transform: translateY(26px); filter: blur(4px); }

.sheet--left .person-side { right: var(--gutter); }
.sheet--left .pnav {
  padding: 22px max(var(--gutter), calc((100% - 1280px) / 2)) 26px;
  background: linear-gradient(transparent, var(--bg) 35%);
}
.sheet--left .person-side button, .sheet--left .pnav > button { background: var(--bg); }
.sheet--left .person-side button:hover, .sheet--left .pnav > button:hover { background: var(--accent); }

@media (max-width: 900px) {
  .pp-grid { grid-template-columns: 1fr; }
  .pp-side { position: static; order: -1; }
  .sheet--left .person-side { display: none; }
}

/* ── load-in for the hero ─────────────────────── */
.frame { animation: hero-in 1.2s var(--ease) both .1s; }
.marquee { animation: fade-in 1.4s var(--ease) both .35s; }
.bar > * { animation: fade-in 1s var(--ease) both .6s; }
@keyframes hero-in { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } }
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 1440px) { .sheet--left .person-side { display: none; } }

/* ── certifications ─────────────────────────── */
.certs { margin-top: 72px; }
.certs > .label { margin-bottom: 24px; }
.cert-group { display: grid; grid-template-columns: 1.1fr 4.8fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.cert-area { font-size: 14px; color: var(--mute); }
.cert-group ul { list-style: none; display: grid; gap: 10px; }
.cert-group li { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; }
.cert-name { font-size: clamp(15px, 1.2vw, 18px); font-weight: 400; transition: color .3s; }
.cert-by { font-size: 13px; color: var(--mute); white-space: nowrap; }
.cert-group li:hover .cert-name { color: var(--accent); }
@media (max-width: 760px) {
  .cert-group { grid-template-columns: 1fr; gap: 10px; }
  .cert-group li { flex-direction: column; gap: 2px; }
}
.people { padding-top: 6vh; }

/* ── said about me ─────────────────────────── */
.said { padding: 26vh var(--gutter) 6vh; display: flex; flex-direction: column; align-items: center; }
.said > .label { margin-bottom: 36px; }
.rec { width: min(920px, 100%); display: grid; gap: 28px; justify-items: start; }
.rec__pull {
  font-weight: 500; font-size: clamp(28px, 3.6vw, 56px); line-height: 1.08; letter-spacing: -.035em;
}
.rec__pull::first-letter { color: var(--accent); }
.rec__full { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.rec__full > div { overflow: hidden; display: grid; gap: 14px; max-width: 40em; }
.rec__full p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rec.is-open .rec__full { grid-template-rows: 1fr; }
.rec.is-open .rec__full p { opacity: 1; transform: none; }
.rec.is-open .rec__full p:nth-child(2) { transition-delay: .08s; }
.rec.is-open .rec__full p:nth-child(3) { transition-delay: .16s; }
.rec__by { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 16px; width: 100%; }
.rec__by a { color: var(--ink); font-weight: 500; transition: color .25s; }
.rec__by a:hover { color: var(--accent); }

/* certification links */
a.cert-name b { font-weight: 400; font-size: 12px; color: var(--accent); margin-left: 10px; opacity: 0; transition: opacity .25s; }
a.cert-name:hover b { opacity: 1; }

/* ── dark mode: the line turns the photo negative where it crosses it ── */
/* Safari only applies a blend to an element that is its own layer. The line
   is one while it fades in, then drops back and the moving text inside it
   stops blending. will-change keeps it a layer in every browser. */
.frame__box { isolation: isolate; }
.marquee--inner { will-change: transform, opacity; transform: translate3d(0, -50%, 0); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .marquee--inner { color: #fff; mix-blend-mode: difference; }
  :root:not([data-theme="light"]) .marquee:not(.marquee--inner) { color: #fff; }
}
:root[data-theme="dark"] .marquee--inner { color: #fff; mix-blend-mode: difference; }
:root[data-theme="dark"] .marquee:not(.marquee--inner) { color: #fff; }

/* ── path: rows open a full page ───────────── */
#role { z-index: 66; }
#person { z-index: 72; }
.rows li { cursor: pointer; position: relative; }
.rows li::after {
  content: "open →"; position: absolute; right: 0; top: 50%; transform: translate(8px, -50%);
  font-size: 13px; color: var(--accent); opacity: 0; transition: opacity .3s, transform .4s var(--ease);
}
.rows li:hover::after, .rows li:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.rows li:hover .t, .rows li:focus-visible .t { opacity: 0; }
.rows .t { transition: opacity .2s; }
.rows li:focus-visible { outline: none; color: var(--ink); padding-left: 12px; }

.role-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 16px; font-size: 15px; color: var(--mute); }
.role-summary { font-size: clamp(20px, 1.9vw, 28px); font-weight: 400; line-height: 1.32; letter-spacing: -.015em; }
.role-quote {
  margin-top: 26px; padding-left: 18px; border-left: 2px solid var(--accent);
  font-size: 16px; line-height: 1.55; color: var(--ink-2); font-style: italic;
}
.role-block { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 30px; }
.role-block .label { margin-bottom: 12px; }
.role-list { list-style: none; display: grid; gap: 10px; }
.role-list li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; }
.role-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 1px; background: var(--accent); }
.scope-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.scope-chips li { padding: 5px 10px 6px; border-radius: 4px; background: var(--soft); font-size: 14px; font-weight: 400; }
.role-orgs { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.4; letter-spacing: -.02em; color: var(--dim); }
.role-orgs button { font: inherit; letter-spacing: inherit; color: inherit; transition: color .25s; text-align: left; }
.role-orgs button:hover { color: var(--ink); }
.role-orgs i { font-style: normal; color: var(--accent); font-size: .45em; vertical-align: .4em; padding: 0 .7em; }
.role-links { display: flex; flex-wrap: wrap; gap: 6px; }
.role-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.role-media figure:first-child { grid-column: 1 / -1; }
.role-media img { width: 100%; display: block; border-radius: 8px; background: var(--soft); aspect-ratio: 4 / 3; object-fit: cover; }
.role-media figure:first-child img { aspect-ratio: 16 / 11; }
.role-media figcaption { font-size: 12px; color: var(--mute); margin-top: 6px; }

/* ── certificate window ────────────────────── */
button.cert-name { text-align: left; font: inherit; font-size: clamp(15px, 1.2vw, 18px); font-weight: 400; color: inherit; transition: color .3s; }
button.cert-name b { font-weight: 400; font-size: 12px; color: var(--accent); margin-left: 10px; opacity: 0; transition: opacity .25s; }
.cert-group li:hover button.cert-name b { opacity: 1; }

.certwin { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.certwin__scrim {
  position: absolute; inset: 0; background: var(--scrim); opacity: 0;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  transition: opacity .45s var(--ease);
}
.certwin__win {
  position: absolute; left: 50%; top: 50%; width: min(860px, calc(100vw - 32px)); max-height: min(720px, calc(100vh - 48px)); max-height: min(720px, calc(100dvh - 48px));
  display: grid; grid-template-rows: auto 1fr auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .18);
  opacity: 0; transform: translate(-50%, -46%) scale(.96); transform-origin: 0% 100%;
  transition: opacity .35s var(--ease), transform .55s var(--ease);
}
.certwin.is-open { pointer-events: auto; }
.certwin.is-open .certwin__scrim { opacity: 1; }
.certwin.is-open .certwin__win { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* collapsing: the window shrinks toward the tab in the corner */
.certwin.is-min .certwin__win { opacity: 0; transform: translate(-90%, 10%) scale(.3); }

.certwin__bar { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 14px; border-bottom: 1px solid var(--line); background: var(--soft-2); font-size: 13px; }
.certwin__dots { display: flex; gap: 6px; }
.certwin__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--faint); }
.certwin__bar em { flex: 1; font-style: normal; color: var(--mute); }
.certwin__bar button { width: 28px; height: 28px; border-radius: 6px; font-size: 17px; line-height: 1; color: var(--mute); transition: background .2s, color .2s; }
.certwin__bar button:hover { background: var(--accent); color: #fff; }

.certwin__body { overflow-y: auto; padding: 22px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: start; }
.certwin__img img { width: 100%; display: block; border-radius: 6px; border: 1px solid var(--line); }
.certwin__info h4 { font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.05; letter-spacing: -.035em; margin: 8px 0 10px; }
.certwin__meta { font-size: 14px; color: var(--mute); margin-bottom: 18px; }
.certwin__verify { display: inline-block; margin-top: 22px; font-size: 13px; color: var(--mute); border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.certwin__verify:hover { color: var(--accent); border-color: var(--accent); }
.certwin__foot { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--mute); font-variant-numeric: tabular-nums; }
.certwin__foot button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.certwin__foot button:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* the collapsed tab */
.certwin__pill {
  position: absolute; left: 12px; bottom: 18px; max-width: min(420px, calc(100vw - 24px));
  display: flex; align-items: center; gap: 8px; padding: 8px 12px 9px;
  background: var(--ink); color: var(--bg); border-radius: 8px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .35s var(--ease) .15s, transform .45s var(--ease) .15s, background .2s;
}
.certwin__pill span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.certwin__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.certwin__pill b { font-weight: 400; opacity: .6; }
.certwin__pill:hover { background: var(--accent); color: #fff; }
.certwin.is-min .certwin__pill { opacity: 1; transform: none; pointer-events: auto; }

@media (max-width: 760px) {
  .certwin__body { grid-template-columns: 1fr; padding: 16px; }
}

/* ── passions: photographer ────────────────── */
.passions { padding: 22vh var(--gutter) 14vh; }
.passions__head { display: grid; gap: 10px; margin-bottom: clamp(32px, 5vw, 64px); }
.passions__title {
  font-weight: 700; font-size: clamp(64px, 12vw, 220px); line-height: .86; letter-spacing: -.06em; margin-top: 14px;
}
.passions__lede { font-size: clamp(18px, 1.6vw, 24px); font-weight: 400; letter-spacing: -.01em; color: var(--ink-2); margin-top: 18px; }
.passions__meta { font-size: 14px; color: var(--mute); }
.passions__meta a { color: var(--ink); border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.passions__meta a:hover { color: var(--accent); border-color: var(--accent); }

.gallery { display: flex; gap: clamp(8px, 1.2vw, 18px); align-items: flex-start; }
.gallery__col { flex: 1; display: grid; gap: clamp(8px, 1.2vw, 18px); min-width: 0; }
.ph { position: relative; display: block; width: 100%; aspect-ratio: var(--ar); overflow: hidden; background: var(--soft); cursor: zoom-in; }
.ph img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transform: scale(1.06); filter: blur(6px);
  transition: opacity .9s var(--ease) calc(var(--k, 0) * 40ms), transform 1.4s var(--ease) calc(var(--k, 0) * 40ms), filter .9s var(--ease) calc(var(--k, 0) * 40ms);
}
.ph.is-loaded img { opacity: 1; transform: none; filter: none; }
.ph:hover img { transform: scale(1.035); transition-delay: 0s; }
.ph__cap {
  position: absolute; left: 10px; bottom: 10px; padding: 4px 8px 5px; border-radius: 4px;
  background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; letter-spacing: .02em;
  opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.ph:hover .ph__cap, .ph:focus-visible .ph__cap { opacity: 1; transform: none; }
.gallery__foot { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.gallery__count { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; }

/* full-screen viewer */
.viewer {
  position: fixed; inset: 0; z-index: 85; display: grid; place-items: center;
  background: rgba(8, 8, 8, .94); opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.viewer.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.viewer__fig { display: grid; justify-items: center; gap: 14px; max-width: calc(100vw - 140px); }
.viewer__fig img {
  max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); object-fit: contain; display: block;
  transition: opacity .35s var(--ease), transform .5s var(--ease), filter .35s var(--ease);
}
.viewer__fig img.is-swapping { opacity: 0; transform: translateX(calc(var(--dir, 0) * 24px)) scale(.985); filter: blur(4px); }
.viewer__fig figcaption { color: rgba(255, 255, 255, .6); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.viewer__close { position: absolute; top: 20px; right: var(--gutter); color: rgba(255, 255, 255, .7); font-size: 14px; }
.viewer__close:hover { color: #fff; }
.viewer__nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .2s, border-color .2s;
}
.viewer__nav:hover { background: var(--accent); border-color: var(--accent); }
.viewer__nav--prev { left: var(--gutter); }
.viewer__nav--next { right: var(--gutter); }
@media (max-width: 700px) {
  .viewer__fig { max-width: 100vw; }
  .viewer__nav { top: auto; bottom: 22px; transform: none; }
}

/* ── footer, from the KR portfolio ─────────── */
.kfoot {
  --kink: #f5f5f7;
  position: relative; overflow: hidden; background: #000; color: var(--kink);
  border-radius: 22px 22px 0 0; transition: color .8s;
}
.kfoot[data-tone="light"] { --kink: #1d1d1f; }
.kfoot__art, .kfoot__scrim { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.kfoot__art { opacity: 0; transition: opacity 1.2s var(--ease); }
.kfoot.is-lit .kfoot__art { opacity: 1; }
.kfoot__scrim {
  background:
    linear-gradient(to bottom, rgb(0 0 0 / .28), transparent 110px),
    radial-gradient(ellipse 45% 40% at 16% 28%, rgb(0 0 0 / .22), transparent 70%),
    radial-gradient(ellipse 50% 35% at 82% 94%, rgb(0 0 0 / .22), transparent 70%);
}
.kfoot[data-tone="light"] .kfoot__scrim {
  background:
    linear-gradient(to bottom, rgb(255 255 255 / .35), transparent 110px),
    radial-gradient(ellipse 45% 40% at 16% 28%, rgb(255 255 255 / .3), transparent 70%),
    radial-gradient(ellipse 50% 35% at 82% 94%, rgb(255 255 255 / .3), transparent 70%);
}
.kfoot__band, .kfoot__body, .kfoot__giant, .kfoot__copy { position: relative; }
.kfoot a, .kfoot button { color: inherit; }

.kfoot__band { overflow: hidden; border-bottom: 1px solid color-mix(in srgb, var(--kink) 55%, transparent); }
.kfoot__track { display: flex; width: max-content; animation: kf-marquee 48s linear infinite; }
.kfoot__band:hover .kfoot__track { animation-play-state: paused; }
@keyframes kf-marquee { to { transform: translateX(-50%); } }
.kfoot__run { display: flex; align-items: center; gap: 40px; height: 88px; padding-right: 40px; }
.kfoot[data-tone="dark"] .on-light, .kfoot[data-tone="light"] .on-dark { display: none; }
.kf-badge { width: 40px; height: auto; }
.kf-wordmark { width: auto; height: 46px; }
.kf-label { display: flex; align-items: center; gap: 16px; font-size: 13px; line-height: 1.3; text-align: center; white-space: nowrap; font-weight: 400; }
.kf-label i { font-style: normal; letter-spacing: .3em; }
.kf-note { width: 220px; font-size: 12px; line-height: 1.35; }
.kf-pill-group { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.kf-star { font-size: 24px; line-height: 1; }
.kf-pill { padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--kink) 16%, transparent); font-size: 13px; }
.kf-span { display: flex; gap: 6px; font-size: 12px; white-space: nowrap; }

.kfoot__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 40px var(--gutter) 0; }
.kfoot__cta { font-weight: 700; font-size: clamp(44px, 7vw, 112px); line-height: .95; letter-spacing: -.05em; }
.kfoot__arrow { display: inline-block; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.kfoot__cta:hover .kfoot__arrow { transform: translate(6px, -6px); }
.kfoot__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0 22px; max-width: 420px; }
.kfoot__links a { display: inline-flex; align-items: center; min-height: 40px; font-size: 14px; }
.kfoot__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.kfoot__links #social { display: contents; }

.kfoot__giant {
  --max: clamp(96px, 20vw, 320px);
  display: flex; justify-content: flex-end; align-items: flex-end;
  min-height: calc(var(--max) * 1.02); padding: 40px var(--gutter) 0;
}
.kfoot__word {
  display: block; max-width: 100%; color: var(--kink);
  font: inherit; font-size: var(--max); font-weight: 700; line-height: 1.02; letter-spacing: -.04em;
  white-space: nowrap; cursor: pointer; overflow: hidden;
}
.kfoot__text { display: inline-block; }
.kfoot__text .ch { display: inline-block; white-space: pre; }
.kfoot__copy {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 10px var(--gutter) 20px; font-size: 12px; color: color-mix(in srgb, var(--kink) 72%, transparent);
}
@media (max-width: 767px) {
  .kfoot__body { flex-direction: column; gap: 10px; }
  .kfoot__links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .kfoot__track { animation: none; } }
.gallery__source { margin-top: 14px; }
.gallery__source em { font-style: normal; font-size: 12px; opacity: .6; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* gallery: arrange and filter */
.gallery__tools { display: grid; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.gallery__row { display: grid; grid-template-columns: 90px 1fr; gap: 12px; align-items: start; }
.gallery__key { font-size: 13px; color: var(--mute); padding-top: 5px; }
.gallery__cats em, #galleryArrange em { font-style: normal; font-size: 12px; opacity: .6; margin-left: 3px; font-variant-numeric: tabular-nums; }
.ph { background: var(--c, var(--soft)); }
.gallery__empty { text-align: center; color: var(--mute); padding: 60px 0; font-size: 15px; }
@media (max-width: 700px) { .gallery__row { grid-template-columns: 1fr; gap: 4px; } }
.passions__meta a { color: var(--ink); border-bottom: 1px solid var(--line); transition: color .2s, border-color .2s; }
.passions__meta a:hover { color: var(--accent); border-color: var(--accent); }

/* ── lens navigation ───────────────────────────
   two focus rulers. fine ticks, a tall centre mark, and the active item
   slides onto it; the ticks turn with it. */
.lens {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-top: 12px;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: box-shadow .4s var(--ease);
}
.lens.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.lens__corner { position: absolute; top: 12px; z-index: 2; }
.lens__corner--left { left: 12px; }
.lens__corner--right { right: 12px; }

.lens__ruler {
  position: relative; height: 12px; margin: 0 auto; width: 100%;
  background-image: linear-gradient(90deg, var(--dim) 1px, transparent 1px);
  background-size: 13px 8px; background-repeat: repeat-x; background-position: 0 50%;
  transition: background-position .8s cubic-bezier(.2, .7, .1, 1);
}
.lens__ruler--short { width: min(760px, calc(100% - 520px)); min-width: 220px; }
.lens__ruler::after {
  content: ""; position: absolute; left: 50%; top: -2px; width: 1px; height: 24px;
  background: var(--ink); transform: translateX(-50%);
}
.lens__row {
  position: relative; overflow: hidden; height: 46px; display: flex; align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.lens__track {
  display: flex; align-items: center; gap: 4px; white-space: nowrap; will-change: transform;
  transition: transform .75s cubic-bezier(.2, .7, .1, 1);
}
.lens__item {
  flex: none; padding: 6px 13px 7px; border-radius: 999px; font-size: 15px; font-weight: 400;
  color: var(--mute); transition: color .3s, background .4s var(--ease);
}
.lens__item:hover { color: var(--ink); }
.lens__item.is-on { background: var(--soft); color: var(--ink); }
.lens__item--sub { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.lens__item--sub i {
  font-style: normal; font-size: 10px; font-weight: 500; width: 17px; height: 17px; border-radius: 4px;
  display: grid; place-items: center; background: var(--soft); color: var(--mute); transition: background .3s, color .3s;
}
.lens__item--sub.is-on i { background: var(--ink); color: var(--bg); }
.lens__item--sub em { font-style: normal; font-size: 11px; opacity: .55; font-variant-numeric: tabular-nums; }
.lens__sep { flex: none; width: 1px; height: 18px; margin: 0 12px; background: var(--line); }

.lens__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.lens__sub > div { overflow: hidden; min-height: 0; }
.lens__sub.is-open { grid-template-rows: 1fr; }
.lens__sub .lens__ruler { opacity: 0; transition: opacity .5s var(--ease) .1s; }
.lens__sub.is-open .lens__ruler { opacity: 1; }

/* the photography controls now live in the lens */
#gallerySource, .gallery__tools { display: none; }

@media (max-width: 760px) {
  .lens__ruler--short { width: calc(100% - 200px); min-width: 120px; }
  .lens__thought { display: none; }
  .lens .chip--red span:last-child { display: none; }
  .lens__item { font-size: 14px; padding: 6px 11px 7px; }
}
.lens__wheel { display: block; width: 9px; height: 9px; border-radius: 50%; background: conic-gradient(#e2193a, #f5a623, #f8e71c, #7ed321, #4a90e2, #9013fe, #e2193a); }

/* ── simpler chrome: just the rulers and a sun/moon at the side ── */
.lens { padding-bottom: 18px; }
.lens__theme {
  position: absolute; top: 14px; right: 16px; z-index: 2; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 50%; color: var(--mute);
  transition: color .3s, background .3s;
}
.lens__theme:hover { color: var(--ink); background: var(--soft); }
.lens__theme svg {
  grid-area: 1 / 1; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
/* show the sun in dark mode (to go light), the moon in light mode */
.lens__moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lens__sun { opacity: 1; transform: none; }
  :root:not([data-theme="light"]) .lens__moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .lens__sun { opacity: 0; transform: rotate(60deg) scale(.6); }
  :root:not([data-theme="dark"]) .lens__moon { opacity: 1; transform: none; }
}
:root[data-theme="dark"] .lens__sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .lens__moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
:root[data-theme="light"] .lens__sun { opacity: 0; transform: rotate(60deg) scale(.6); }
:root[data-theme="light"] .lens__moon { opacity: 1; transform: none; }
.lens__ruler--short { width: min(760px, calc(100% - 140px)); }
@media (max-width: 760px) { .lens__ruler--short { width: calc(100% - 100px); } }

/* toggle sits in its own gutter, middle right; nothing runs under it */
.lens { --tgut: 64px; }
.lens__theme { top: 50%; right: 18px; transform: translateY(-50%); }
.lens__row, .lens__sub .lens__ruler { margin-left: var(--tgut); margin-right: var(--tgut); }
.lens__ruler--short { width: min(760px, calc(100% - 2 * var(--tgut) - 40px)); }
@media (max-width: 760px) {
  .lens { --tgut: 48px; }
  .lens__theme { right: 8px; }
}
/* pinned to the middle of the main row, so it doesn't move when row two opens */
.lens__theme { top: 47px; }

/* toggle: above the rulers, on the centre line */
.lens { --tgut: 0px; padding-top: 6px; }
.lens__theme { position: relative; top: auto; right: auto; transform: none; margin: 0 auto 2px; width: 30px; height: 30px; }
.lens__theme svg { width: 16px; height: 16px; }
.lens__ruler--short { width: min(760px, calc(100% - 40px)); }
@media (max-width: 760px) { .lens { --tgut: 0px; } .lens__theme { right: auto; } }
.lens__subrow .lens__ruler { opacity: 1; }
.lens__subrow + .lens__subrow .lens__ruler { background-size: 13px 6px; opacity: .8; }
#lensSubs { overflow: hidden; min-height: 0; }

/* control rows fold in and out one after another */
.lens__sub, .lens__sub.is-open { grid-template-rows: 1fr; }
.lens__subrow {
  display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(-8px);
  transition: grid-template-rows .56s cubic-bezier(.2, .7, .1, 1), opacity .42s var(--ease), transform .56s cubic-bezier(.2, .7, .1, 1);
  transition-delay: var(--d, 0ms);
}
.lens__subrow.is-open { grid-template-rows: 1fr; opacity: 1; transform: none; }
.lens__subinner { overflow: hidden; min-height: 0; }
.lens__subrow .lens__ruler::after { transform: translateX(-50%) scaleY(.4); transform-origin: top; transition: transform .5s var(--ease); transition-delay: calc(var(--d, 0ms) + 120ms); }
.lens__subrow.is-open .lens__ruler::after { transform: translateX(-50%) scaleY(1); }

/* more see-through bar: lighter tint, the blur does the work */
.lens {
  background: color-mix(in srgb, var(--bg) 42%, transparent);
  backdrop-filter: blur(18px) saturate(1.35); -webkit-backdrop-filter: blur(18px) saturate(1.35);
}
.lens.is-scrolled { box-shadow: 0 1px 0 color-mix(in srgb, var(--line) 60%, transparent); }
/* keep labels legible over whatever shows through */
.lens__item { color: color-mix(in srgb, var(--ink) 66%, transparent); text-shadow: 0 0 10px color-mix(in srgb, var(--bg) 70%, transparent); }
.lens__item.is-on { text-shadow: none; }
.lens__item--sub em { opacity: .7; }
.lens__ruler { background-image: linear-gradient(90deg, color-mix(in srgb, var(--ink) 38%, transparent) 1px, transparent 1px); }
/* with the statement gone, the people section opens straight after the hero */
.people { padding-top: 14vh; }
.kfoot { margin-top: 18vh; }

/* ── inspired by ───────────────────────────── */
.inspired { padding: 22vh var(--gutter) 6vh; }
.inspired__head { display: grid; gap: 10px; margin-bottom: clamp(36px, 5vw, 64px); }
.inspired__title { font-weight: 700; font-size: clamp(64px, 12vw, 220px); line-height: .86; letter-spacing: -.06em; margin-top: 14px; }
.inspired__meta { font-size: 15px; color: var(--mute); }
.quotes { columns: 3 300px; column-gap: clamp(24px, 3vw, 48px); }
.q {
  break-inside: avoid; margin: 0 0 clamp(26px, 3vw, 40px); padding-top: 16px; border-top: 1px solid var(--line);
  animation: q-in .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 35ms);
}
@keyframes q-in { from { opacity: 0; transform: translateY(12px); } }
.q blockquote { font-size: clamp(19px, 1.6vw, 25px); font-weight: 400; line-height: 1.28; letter-spacing: -.02em; }
.q figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; }
.q__who { color: var(--mute); }
.q__field { color: var(--accent); white-space: nowrap; opacity: .85; }
.q:hover blockquote { color: var(--accent); transition: color .3s; }
#inspiredFields[hidden] { display: none; }

/* a project made of many posters: grouped by year, in a grid */
.sets__label { display: block; margin: 48px 0 16px; }
.shots--set { grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 760px) { .shots--set { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.shots--wide { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .shots--wide { grid-template-columns: 1fr; } }
#projectCompanies[hidden], #projectList[hidden] { display: none; }

#inspiredSubs[hidden], #inspiredPeople[hidden] { display: none; }
.q { cursor: pointer; }

/* ── a quote, full size, beside whoever said it ── */
.quotewin {
  position: fixed; inset: 0; z-index: 86; background: var(--bg);
  display: grid; grid-template-rows: 1fr auto; padding: 72px var(--gutter) 28px;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s;
}
.quotewin.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.quotewin__close { position: absolute; top: 22px; right: var(--gutter); color: var(--mute); font-size: 14px; }
.quotewin__close:hover { color: var(--ink); }
.quotewin__body {
  align-self: center; justify-self: center; width: min(1180px, 100%);
  display: grid; grid-template-columns: minmax(220px, 36%) 1fr; gap: clamp(28px, 5vw, 80px); align-items: center;
  transition: opacity .22s var(--ease), transform .22s var(--ease), filter .22s var(--ease);
}
.quotewin.is-swapping .quotewin__body { opacity: 0; transform: translateX(calc(var(--dir, 0) * -24px)); filter: blur(4px); }
.quotewin__face { position: relative; aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.quotewin__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: grayscale(1) contrast(1.08); display: block; }
.quotewin__initial { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(96px, 14vw, 200px); font-weight: 700; letter-spacing: -.06em; color: var(--dim); }
.quotewin__credit { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 8px; font-size: 10px; letter-spacing: .02em; color: rgba(255,255,255,.75); background: linear-gradient(transparent, rgba(0,0,0,.55)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quotewin__credit:hover { color: #fff; }
.quotewin__text { display: grid; gap: 18px; }
.quotewin__text blockquote { font-size: clamp(30px, 4.2vw, 72px); font-weight: 600; line-height: 1.02; letter-spacing: -.045em; }
.quotewin__who { font-size: 18px; color: var(--accent); }
.quotewin__cite { font-size: 14px; color: var(--mute); margin-top: -10px; }
.quotewin__bar { display: flex; align-items: center; justify-content: center; gap: 22px; padding-top: 20px; }
.quotewin__count { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }
.quotewin__nav { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 16px; color: var(--ink); transition: background .25s, border-color .25s, color .25s; }
.quotewin__nav:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 760px) {
  .quotewin { padding: 60px 16px 18px; overflow-y: auto; }
  .quotewin__body { grid-template-columns: 1fr; gap: 22px; align-self: start; }
  .quotewin__face { width: 62%; justify-self: start; }
  .quotewin__text blockquote { font-size: clamp(28px, 8vw, 40px); }
}

/* rows can be swiped: horizontal drags belong to the row, vertical ones to the page */
.lens__row { touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.lens__row:active { cursor: grabbing; }
.lens__track.is-dragging { transition: none; }
.lens__track a, .lens__track button { -webkit-user-drag: none; }
/* after a swipe, a slower, softer settle than a tap */
.lens__track.is-gliding { transition: transform 1s cubic-bezier(.16, .84, .3, 1); }

/* ── the cursor: a circle on an x and a y axis, with its coordinates ── */
/* drawn in white and blended by difference, so it reads on light, dark and
   photographs alike; the layer is pinned (will-change) so safari keeps the blend */
html.has-xy, html.has-xy * { cursor: none !important; }
.xy {
  position: fixed; inset: 0; z-index: 2147483000; pointer-events: none;
  mix-blend-mode: difference; will-change: transform;
  opacity: 0; transition: opacity .3s var(--ease);
}
.xy.is-on { opacity: 1; }
.xy > * { position: absolute; top: 0; left: 0; display: block; }
.xy__x { width: 100%; height: 1px; background: rgba(255, 255, 255, .28); }
.xy__y { width: 1px; height: 100%; background: rgba(255, 255, 255, .28); }
.xy__dot {
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  border: 1.5px solid #fff; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s;
}
.xy.is-link .xy__dot { width: 34px; height: 34px; margin: -17px 0 0 -17px; border-width: 1px; }
.xy.is-down .xy__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; }
.xy__read {
  font-size: 10px; letter-spacing: .08em; color: rgba(255, 255, 255, .7); white-space: pre;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum";
}

/* a photograph on both vsco and instagram: one tile, with the edge of a second
   print peeking out just beneath it */
.ph--stack {
  --edge: color-mix(in srgb, var(--c, var(--soft)) 50%, var(--bg));
  box-shadow: 5px 5px 0 -1px var(--edge), 5px 5px 0 0 var(--line);
  transition: box-shadow .5s var(--ease);
}
.ph--stack:hover { box-shadow: 8px 8px 0 -1px var(--edge), 8px 8px 0 0 var(--line); }

/* ── the bar tucks away on the way down ──
   it slides up out of sight and leaves a small tab with the section's name */
.lens { transition: box-shadow .4s var(--ease), transform .7s cubic-bezier(.2, .8, .2, 1); }
.lens.is-tucked { transform: translateY(-100%); box-shadow: none; }
.lens__tab {
  position: absolute; top: 100%; left: 50%; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 14px;
  border-radius: 999px; font-size: 12px; letter-spacing: .02em; color: var(--ink);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent), 0 6px 20px -10px rgb(0 0 0 / .35);
  touch-action: none; cursor: pointer; user-select: none; -webkit-user-select: none;
  opacity: 0; pointer-events: none; transform: translate(-50%, -6px) scale(.92);
  transition: opacity .4s var(--ease), transform .5s var(--ease), padding .4s var(--ease);
}
.lens.has-tab .lens__tab { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
/* open: just a small handle to put it away */
.lens:not(.is-tucked) .lens__tab { padding: 10px 16px; margin-top: 2px; }
.lens:not(.is-tucked) .lens__tablabel { display: none; }
.lens__tab i {
  width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform .5s var(--ease);
}
.lens:not(.is-tucked) .lens__tab i { transform: translateY(2px) rotate(-135deg); }
.lens__tab:active { transform: translate(-50%, 2px) scale(.96); }

/* depth of field while the rows move: items away from the centre mark shrink
   and soften, and come back into focus as they reach it */
.lens__item {
  transform: scale(calc(1 - var(--f, 0) * .14));
  transition: color .3s, background .4s var(--ease), transform .75s cubic-bezier(.2, .7, .1, 1), filter .75s cubic-bezier(.2, .7, .1, 1), opacity .75s;
}
.lens__track.is-dragging .lens__item { transition: color .3s, background .4s var(--ease); }
.lens__track.is-gliding .lens__item { transition-duration: .3s, .4s, 1s, 1s, 1s; }
.lens__track.is-dragging .lens__item, .lens__track.is-gliding .lens__item {
  filter: blur(calc(var(--f, 0) * 1.6px)); opacity: calc(1 - var(--f, 0) * .55);
}
@media (prefers-reduced-motion: reduce) {
  .lens, .lens__tab { transition: none; }
}
