/* ==========================================================================
   Nige & Ade – portfolio
   Bricolage Grotesque for display, Instrument Serif italics for the ampersand and
   accent words, Geist Mono for labels. Paper, ink and one cobalt accent.
   ========================================================================== */

:root {
  --bg: #efece5;
  --bg-2: #e3dfd6;
  --ink: #111111;
  --muted: #7d7a72;
  --faint: #c7c3b9;
  --line: rgba(17, 17, 17, .16);
  --accent: #2a38f0;
  --accent-ink: #ffffff;
  --dark: #111111;
  --dark-line: rgba(255, 255, 255, .16);

  --display: 'Bricolage Grotesque', 'Geist', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --body: 'Geist', system-ui, -apple-system, sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', monospace;

  --gut: clamp(16px, 2.2vw, 36px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
#view:focus { outline: none; }

.amp { color: var(--accent); font-family: var(--serif); font-style: italic; font-weight: 400; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
/* small print is set in mono caps throughout */
.label, .mono, .eyebrow, .sec-head, .card__cap, .card__num, .stat__l, .person__cap, .chip, .who__label,
.row__n, .row__d, .show__best, .field label, .case-intro__side h4, .b-head span, .wall__head, .tile__cap > span,
.statement__label, .cta__label, .cta__sub, .footer h4, .footer__bottom, .menu__foot, .lightbox__count, .form-note,
.contact__aside .label, .credit, .page-hero__side {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
}
.label { color: var(--muted); }
.mask { display: block; overflow: hidden; }
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------------------------------------------------------------- loader + wipe */
.loader, .wipe { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.loader { pointer-events: auto; }
.loader__half, .wipe__half { position: absolute; left: 0; right: 0; background: var(--ink); }
.loader__half--top { top: 0; height: 50.5%; }
.loader__half--bottom { bottom: 0; height: 50.5%; }
.loader__mark {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .08em;
  color: var(--bg); font: 700 clamp(56px, 11vw, 190px)/1 var(--display); letter-spacing: -.05em;
}
.loader__amp { font: italic 400 1.5em/0.8 var(--serif); color: var(--accent); margin: 0 -.02em; display: inline-block; }
.loader__count { position: absolute; left: var(--gut); right: var(--gut); bottom: var(--gut); display: flex; justify-content: space-between; color: rgba(239, 236, 229, .6); font: 500 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

.wipe { visibility: hidden; display: grid; place-items: center; }
.wipe__half { top: 0; bottom: 0; }
.wipe__half--a { left: 0; right: 50%; right: calc(50% - 1px); }
.wipe__half--b { left: 50%; }
.wipe__amp { position: relative; font: italic 400 clamp(120px, 20vw, 300px)/1 var(--serif); color: var(--accent); }
.wipe__label { position: absolute; left: 0; right: 0; bottom: calc(var(--gut) * 1.5); text-align: center; color: var(--bg); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* ---------------------------------------------------------------- header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut);
  pointer-events: none;
  transition: color .4s var(--ease);
}
.header > * { pointer-events: auto; }
.header::before {
  content: ''; position: absolute; inset: 0 0 -24px; z-index: -1; pointer-events: none;
  background: linear-gradient(var(--bg) 40%, rgba(239, 236, 229, 0));
  transition: opacity .4s var(--ease);
}
body.on-dark .header::before { opacity: 0; }
.logo { font: 700 21px/1 var(--display); letter-spacing: -.04em; }
.logo .amp { display: inline-block; font-size: 1.35em; line-height: .6; margin: 0 .02em; transition: transform .7s var(--ease); }
.logo:hover .amp { transform: rotate(-14deg) scale(1.15); }
/* the serif's hairlines fade at logo size, so small ampersands get a touch of extra weight */
.logo .amp, .footer__mark .amp { -webkit-text-stroke: .6px currentColor; }
/* keep the ampersand legible whatever the header is over: brighter blue on black, white on cobalt */
body.on-dark .logo .amp { color: #8e97ff; }
body.on-accent .logo .amp, body.menu-open .logo .amp { color: #fff; }
body.on-accent .nav a.is-active::after { background: #fff; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav a { position: relative; display: inline-flex; align-items: flex-start; gap: 5px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 0; }
.nav a i { font-style: normal; font-size: 9px; opacity: .5; transform: translateY(-2px); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active::after { transform: scaleX(1); background: var(--accent); height: 2px; }
.nav__cta { background: var(--ink); color: var(--bg); padding: 10px 14px !important; border-radius: 999px; transition: background .35s var(--ease), color .35s; }
.nav__cta::after { display: none; }
.nav__cta:hover, .nav__cta.is-active { background: var(--accent); color: var(--accent-ink); }

.header__menu { display: none; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.header__menu i { width: 22px; height: 8px; border-block: 1.5px solid currentColor; transition: transform .5s var(--ease); }
body.menu-open .header__menu i { transform: scaleY(.2); }

/* over dark bands the header inverts */
body.on-dark .header { color: #fff; }
body.on-dark .nav__cta { background: #fff; color: var(--ink); }
body.on-dark .nav__cta:hover, body.on-dark .nav__cta.is-active { background: var(--accent); color: #fff; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--accent); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 20px) var(--gut) var(--gut);
  clip-path: inset(0 0 100% 0); visibility: hidden;
}
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font: 700 clamp(48px, 14vw, 96px)/1.02 var(--display); letter-spacing: -.05em; overflow: hidden; }
.menu nav a span { display: inline-flex; align-items: flex-start; gap: 10px; }
.menu nav a i { font: 500 11px/1 var(--mono); letter-spacing: .06em; margin-top: .5em; opacity: .6; }
.menu nav a.is-active span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.menu__foot { margin-top: 32px; color: rgba(255, 255, 255, .75); }
body.menu-open .header { color: #fff; }
body.menu-open .header::before { opacity: 0; }

/* ---------------------------------------------------------------- cursor + peek */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  transform: scale(0);
}
.peek {
  position: fixed; top: 0; left: 0; z-index: 40; pointer-events: none;
  width: 24vw; max-width: 380px; aspect-ratio: 4 / 3; translate: -50% -60%;
  overflow: hidden; border-radius: 4px; opacity: 0;
}
.peek__inner { position: absolute; inset: 0; }
.peek__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .cursor, .peek { display: none; } }

/* ---------------------------------------------------------------- page scaffolding */
.page { min-height: 100vh; }
.section { padding: clamp(80px, 12vw, 180px) var(--gut); }
.section--tight { padding-top: clamp(40px, 6vw, 80px); }
.section--flush { padding-bottom: 0; }

.page-hero { padding: calc(var(--header-h) + clamp(40px, 7vw, 110px)) var(--gut) 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: clamp(18px, 2.4vw, 32px); }
.eyebrow span { color: var(--accent); }
.page-hero__title {
  font: 700 clamp(64px, 12vw, 220px)/.88 var(--display);
  letter-spacing: -.05em; margin-left: -.04em;
}
.page-hero__title em { letter-spacing: -.03em; padding-right: .04em; }
.page-hero__title sup { font: 500 12px/1 var(--mono); letter-spacing: .04em; vertical-align: top; position: relative; top: 1.4em; margin-left: .6em; color: var(--accent); }
.page-hero__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut);
  align-items: end; margin-top: clamp(32px, 4.5vw, 64px);
  padding-top: 18px; border-top: 1px solid var(--line);
}
.page-hero__side { grid-column: 1 / span 4; color: var(--muted); line-height: 1.7; }
.page-hero__lede { grid-column: 6 / span 7; font: 500 clamp(20px, 1.9vw, 30px)/1.25 var(--display); letter-spacing: -.02em; max-width: 30em; }

/* case pages still use a ruled row of facts */
.meta-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); margin-top: clamp(28px, 4vw, 56px); font-size: 15px; font-weight: 500; }
.meta-row > * { padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--gut); padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: clamp(32px, 5vw, 72px); }
.sec-head i { font-style: normal; color: var(--accent); margin-right: 10px; }
.sec-head sup { font-size: 9px; margin-left: 3px; }
[data-theme="dark"] .sec-head { border-color: var(--dark-line); }

.link-big {
  display: inline-flex; align-items: flex-start; gap: .2em;
  font: 700 clamp(40px, 6vw, 96px)/1 var(--display); letter-spacing: -.05em;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 3px no-repeat;
  padding-bottom: .1em; transition: background-size .6s var(--ease), color .4s;
}
.link-big em { color: var(--accent); }
.link-big sup { font: 500 12px/1 var(--mono); letter-spacing: .04em; margin-top: .5em; }
.link-big:hover { background-size: 100% 3px; }
.link-line { display: inline-block; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease), color .3s; }
.link-line:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.center { text-align: center; }

/* ---------------------------------------------------------------- home hero: the lockup */
.mark {
  position: relative; display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto;
  font: 700 clamp(96px, 20vw, 380px)/.8 var(--display); letter-spacing: -.055em;
  margin: 0 -.03em; isolation: isolate;
}
.mark__word { display: block; overflow: hidden; padding-bottom: .04em; }
.mark__word > span { display: block; }
.mark__word--n { grid-column: 1 / 3; grid-row: 1; }
.mark__word--a { grid-column: 2 / 4; grid-row: 2; justify-self: end; }
.mark__amp {
  position: absolute; left: 50%; top: 50%; translate: -38% -50%; z-index: -1;
  font: italic 400 1.9em/1 var(--serif); letter-spacing: 0; color: var(--accent);
  pointer-events: none;
}
.mark__amp > span { display: block; }

/* the wall: every cover, in drifting columns */
.wall { padding-top: clamp(60px, 8vw, 120px); }
.wall__head { padding: 0 var(--gut); }
.wall__head .sec-head { margin-bottom: 18px; }
.wall__frame { position: relative; overflow: hidden; background: var(--ink); clip-path: inset(0 var(--gut) 0 var(--gut) round 6px); }
/* the panel is as tall as its tiles; the negative margin crops the top and bottom rows a little so
   the drifting columns bleed off the edges */
.wall__grid { position: relative; margin: -7% 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 8px; padding: 0 8px; align-items: center; }
.wall__col { display: flex; flex-direction: column; gap: 8px; will-change: transform; }
.wall__col:nth-child(even) { margin-top: 18%; }
.tile { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; background: #222; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), opacity .5s var(--ease), filter .5s var(--ease); }
.tile__cap { position: absolute; inset: auto 0 0; padding: 40px 14px 12px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); font-size: 12px; font-weight: 500; display: flex; flex-direction: column; gap: 3px; transform: translateY(101%); transition: transform .6s var(--ease); }
.tile__cap b { font: 700 clamp(16px, 1.4vw, 22px)/1.1 var(--display); letter-spacing: -.03em; text-transform: none; }
.tile__cap span { opacity: .75; }
.tile:hover .tile__cap, .tile:focus-visible .tile__cap { transform: none; }
.tile:hover img { transform: scale(1.06); }
@media (hover: hover) { .wall__grid:hover .tile:not(:hover) img { opacity: .35; filter: grayscale(1); } }

/* statement whose words fill in as you scroll */
.statement { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); }
.statement__label { grid-column: 1 / span 3; padding-top: 1.2em; color: var(--accent); }
.statement__text { grid-column: 4 / -1; font: 600 clamp(32px, 4.6vw, 78px)/1.02 var(--display); letter-spacing: -.045em; }
.statement__text .word { color: var(--faint); }
.statement__text .word.is-lit { color: var(--ink); }
.statement__p { display: block; }
.statement__p + .statement__p { margin-top: .9em; font-size: .52em; line-height: 1.14; letter-spacing: -.03em; max-width: 30em; }

/* ---------------------------------------------------------------- staggered work grid */
.stagger { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: clamp(60px, 9vw, 150px); }
.card { position: relative; display: block; }
.card__num { position: absolute; right: 0; top: -22px; color: var(--accent); }
.card__media { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-2); aspect-ratio: 4 / 3; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.card__cap span:last-child { color: var(--muted); text-align: right; }
.card__title { font: 700 clamp(22px, 2vw, 34px)/1.05 var(--display); letter-spacing: -.04em; margin-top: 6px; transition: color .4s; }
.card:hover .card__title { color: var(--accent); }
.stagger .card:nth-child(4n + 1) { grid-column: 1 / span 7; }
.stagger .card:nth-child(4n + 2) { grid-column: 9 / span 4; margin-top: 45%; }
.stagger .card:nth-child(4n + 3) { grid-column: 2 / span 4; }
.stagger .card:nth-child(4n + 4) { grid-column: 7 / span 6; margin-top: -18%; }
.stagger .card:nth-child(4n + 2) .card__media, .stagger .card:nth-child(4n + 3) .card__media { aspect-ratio: 4 / 5; }

/* ---------------------------------------------------------------- ribbon */
[data-theme="dark"] { background: var(--dark); color: #fff; }
[data-theme="accent"] { background: var(--accent); color: #fff; }
.ribbon { background: var(--accent) !important; color: #fff; overflow: hidden; padding: clamp(28px, 3vw, 44px) 0 clamp(40px, 5vw, 80px); }
.ribbon__label { display: flex; justify-content: space-between; padding: 0 var(--gut) clamp(24px, 4vw, 60px); font: 500 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.ribbon__row { white-space: nowrap; }
.ribbon__track { display: inline-flex; align-items: center; will-change: transform; font: 700 clamp(64px, 11vw, 200px)/1.02 var(--display); letter-spacing: -.05em; }
.ribbon__track span { padding: 0 .12em; }
/* outlined words: the stroke is drawn first and the letter filled in the band's own blue on top,
   so the variable font's overlapping contours (extra lines inside P, d, t…) are hidden and only a
   clean outer keyline shows. The stroke is doubled because the fill covers its inner half. */
.ribbon__track span.o { color: var(--accent); -webkit-text-stroke: 3px #fff; paint-order: stroke fill; }
.ribbon__track em { font-size: .9em; padding: 0 .1em; color: var(--ink); }

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); }
.stat { border-top: 1px solid var(--line); padding-top: 16px; }
.stat__n { font: 700 clamp(64px, 9vw, 160px)/.9 var(--display); letter-spacing: -.05em; }
.stat__l { margin-top: 14px; color: var(--muted); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; padding-right: 48px; font: 500 clamp(22px, 2.2vw, 34px)/1 var(--display); letter-spacing: -.02em; will-change: transform; }
.marquee__track span::after { content: '&'; font-family: var(--serif); font-style: italic; color: var(--accent); margin-left: 48px; }

/* ---------------------------------------------------------------- people */
.duo { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: 48px; }
.person__media { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-2); }
.person__media img { width: 100%; height: auto; filter: grayscale(1); transition: transform 1.1s var(--ease); }
.person:hover .person__media img { transform: scale(1.04); }
.person__cap { display: flex; justify-content: space-between; margin-top: 14px; }
.person__cap strong { font-weight: 600; }
.duo .person:nth-child(1) { grid-column: 1 / span 5; }
.duo .person:nth-child(2) { grid-column: 8 / span 4; margin-top: 30%; }

.bios { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gut); row-gap: clamp(80px, 10vw, 160px); }
.bio { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; }
.bio__name { grid-column: 1 / span 5; font: 800 clamp(72px, 11vw, 200px)/.86 var(--display); letter-spacing: -.055em; }
.bio__role { display: block; font: 500 13px/1.4 var(--body); letter-spacing: 0; margin-top: 18px; color: var(--muted); }
.bio__body { grid-column: 7 / span 6; font-size: clamp(16px, 1.2vw, 19px); line-height: 1.55; }
.bio__body p + p { margin-top: 1em; }
.bio__body p:first-child { font: 500 clamp(22px, 1.9vw, 30px)/1.25 var(--display); letter-spacing: -.02em; }

.career { width: 100%; border-collapse: collapse; font-size: 15px; }
.career td { padding: 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.career td:first-child { width: 33%; font: 600 clamp(20px, 1.8vw, 28px)/1.1 var(--display); letter-spacing: -.02em; }
.career td:nth-child(2) { width: 33%; }
.career td:last-child { color: var(--muted); text-align: right; }

/* ---------------------------------------------------------------- work index */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.filters__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip sup { font-size: 9px; margin-left: 3px; }
.view-toggle { display: flex; gap: 4px; }
.chip:disabled { opacity: .35; pointer-events: none; }

/* Nige / Ade / Both switch */
.who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px clamp(16px, 2.4vw, 40px); padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.who__label { color: var(--muted); margin-right: 4px; }
.who__btn { font: 600 clamp(28px, 3.4vw, 56px)/1 var(--display); letter-spacing: -.04em; color: var(--faint); transition: color .35s var(--ease); }
.who__btn:hover { color: var(--muted); }
.who__btn.is-on { color: var(--ink); }
.who__btn .amp { color: inherit; transition: color .35s; }
.who__btn.is-on .amp { color: var(--accent); }
.who__btn sup { font: 500 12px/1 var(--body); letter-spacing: 0; margin-left: 4px; vertical-align: top; position: relative; top: .3em; }
.credit { display: block; font-style: normal; font-size: 10.5px; color: var(--muted); margin-top: 4px; }
.card__cap .credit { display: inline; margin: 0 0 0 6px; }
.card__cap .credit::before { content: '· '; }
.row:hover .credit { color: rgba(255, 255, 255, .75); }
.work-empty { padding: 60px 0; font-size: 15px; color: var(--muted); }

.rows { border-bottom: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 60px 1.6fr 1fr 1fr; align-items: center; gap: var(--gut);
  padding: 22px 0; border-top: 1px solid var(--line); position: relative;
}
.row::before { content: ''; position: absolute; inset: 0 calc(var(--gut) * -1); background: var(--accent); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); z-index: -1; }
.rows { position: relative; z-index: 0; }
.row:hover::before { transform: none; transform-origin: top; }
.row { transition: color .4s var(--ease); }
.row:hover { color: #fff; }
.row__n { color: var(--muted); }
.row__t { font: 600 clamp(26px, 3.2vw, 52px)/1 var(--display); letter-spacing: -.035em; transition: transform .6s var(--ease); }
.row:hover .row__t { transform: translateX(14px); }
.row__c { font-size: 14px; font-weight: 500; }
.row__d { text-align: right; color: var(--muted); }
.row:hover .row__d, .row:hover .row__n { color: rgba(255, 255, 255, .75); }
.row__thumb { display: none; }
.row.is-hidden, .card.is-hidden { display: none; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 80px) var(--gut); }
.grid3 .card__num { position: static; display: block; margin-bottom: 8px; }
.work-list[data-view="grid"] .rows, .work-list[data-view="list"] .grid3 { display: none; }

/* ---------------------------------------------------------------- awards */
.shows { border-bottom: 1px solid var(--line); }
.show { border-top: 1px solid var(--line); }
.show__head { width: 100%; display: grid; grid-template-columns: 1fr auto auto; gap: var(--gut); align-items: center; padding: 20px 0; text-align: left; }
.show__name { font: 700 clamp(28px, 3.6vw, 60px)/1 var(--display); letter-spacing: -.035em; transition: transform .6s var(--ease); }
.show__head:hover .show__name { transform: translateX(10px); }
.show__best { color: var(--muted); text-align: right; }
.show__count { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 600; transition: background .3s, color .3s, transform .5s var(--ease); }
.show.is-open .show__count { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.show__body { height: 0; overflow: hidden; }
.show__list { padding: 0 0 28px; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: var(--gut); }
.show__list li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.show__list li b { font-weight: 600; }
.prize--top b { color: var(--accent); }

/* ---------------------------------------------------------------- contact */
.contact { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); }
.contact__aside { grid-column: 1 / span 4; font-size: 15px; }
.contact__aside p + p { margin-top: 1em; }
.contact__form { grid-column: 6 / -1; display: grid; gap: 0; }
.field { position: relative; border-top: 1px solid var(--line); }
.field:last-of-type { border-bottom: 1px solid var(--line); }
.field label { position: absolute; left: 0; top: 22px; color: var(--muted); pointer-events: none; }
.field input, .field textarea {
  width: 100%; border: 0; background: transparent; outline: none; color: inherit;
  font: 500 clamp(22px, 2.2vw, 34px)/1.2 var(--display); letter-spacing: -.02em;
  padding: 48px 0 18px; resize: vertical;
}
.field textarea { min-height: 160px; }
.field:focus-within label { color: var(--accent); }
.contact__form .btn-solid { margin-top: 32px; justify-self: start; }
.btn-solid { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: var(--bg); font-size: 14px; font-weight: 600; padding: 16px 26px; border-radius: 999px; transition: background .35s var(--ease), color .35s var(--ease); }
.btn-solid:hover { background: var(--accent); color: #fff; }
.form-note { margin-top: 18px; }
.hp { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------- closing CTA */
.cta { padding: 0; margin-top: clamp(60px, 8vw, 120px); }
.cta__link { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; min-height: 80vh; padding: clamp(28px, 3vw, 44px) var(--gut); gap: 24px; }
.cta__label { grid-column: 1 / -1; color: var(--accent); filter: brightness(1.6); }
.cta__title { grid-column: 1; align-self: center; font: 700 clamp(64px, 12vw, 230px)/.88 var(--display); letter-spacing: -.05em; max-width: 12ch; overflow-wrap: anywhere; }
.cta__title em { color: var(--accent); filter: brightness(1.6); letter-spacing: -.03em; }
.cta__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gut); padding-top: 18px; border-top: 1px solid var(--dark-line); }
.cta__sub { color: rgba(255, 255, 255, .65); }
.cta__thumb { width: min(300px, 40vw); aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; }
.cta__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cta__link:hover .cta__thumb img { transform: scale(1.08); }
.cta__btn {
  grid-column: 2; grid-row: 2; align-self: center;
  width: clamp(96px, 12vw, 190px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  font: 400 clamp(36px, 4vw, 64px)/1 var(--body); transition: background .4s, color .4s;
}
.cta__link:hover .cta__btn { background: #fff; color: var(--ink); }

/* ---------------------------------------------------------------- case study */
.case-hero .page-hero__title { font-size: clamp(56px, 10vw, 190px); max-width: 14ch; }
.case-meta .label { color: var(--muted); }
.case-hero__client { display: block; font-size: 13px; font-weight: 500; margin-bottom: 20px; }
.case-meta { grid-template-columns: repeat(4, 1fr); }
.case-meta > * { flex-direction: column; justify-content: flex-start !important; gap: 4px; text-align: left !important; }
.case-meta .label { font-weight: 500; }

.case-cover { margin-top: clamp(40px, 6vw, 80px); padding: 0 var(--gut); }
.case-cover__frame { position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: var(--r, 16 / 9); max-height: 92vh; width: 100%; }
.case-cover__frame img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; object-fit: cover; }

.case-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); }
.case-intro__side { grid-column: 1 / span 4; font-size: 13px; }
.case-intro__side h4 { margin-bottom: 12px; color: var(--accent); }
.case-intro__side li { font-weight: 500; padding: 7px 0; border-top: 1px solid var(--line); }
.case-intro__side li:last-child { border-bottom: 1px solid var(--line); }
.case-intro__main { grid-column: 6 / -1; }
.case-intro__headline { font: 600 clamp(32px, 3.8vw, 64px)/1.02 var(--display); letter-spacing: -.045em; }
.case-copy { font-size: clamp(16px, 1.25vw, 20px); line-height: 1.55; max-width: 38em; }
.case-copy p + p { margin-top: 1em; }
.case-intro__headline + .case-copy { margin-top: clamp(28px, 3vw, 48px); }

.case-blocks { display: flex; flex-direction: column; gap: clamp(14px, 1.4vw, 22px); padding: 0 var(--gut); }
.case-blocks > .b-text { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gut); padding: clamp(60px, 8vw, 120px) 0; }
.case-blocks > .b-text .case-copy { grid-column: 6 / -1; }
.case-blocks > .b-head { display: flex; justify-content: space-between; align-items: baseline; padding: clamp(60px, 8vw, 120px) 0 16px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.b-head h3 { font: 700 clamp(36px, 5vw, 84px)/1 var(--display); letter-spacing: -.04em; }
.b-head span { white-space: nowrap; color: var(--accent); }
.b-head.is-credited h3 { font-size: clamp(30px, 3.8vw, 64px); }
.b-head.is-credited span { font-size: 12.5px; }
.b-head.is-credited + .b-text { padding: 20px 0 clamp(36px, 4vw, 60px); }
.b-head .amp { color: var(--accent); }

.b-films { display: grid; gap: clamp(14px, 1.4vw, 22px); grid-template-columns: repeat(2, 1fr); }
.b-films .film { grid-column: span 1; }
.b-films .film:first-child:nth-last-child(odd), .b-films.is-one .film { grid-column: 1 / -1; }
.b-films.is-vertical { grid-template-columns: repeat(var(--n, 3), 1fr); }
.b-films.is-vertical .film { grid-column: auto !important; }
.film { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.b-films.is-vertical .film { aspect-ratio: 9 / 16; }
/* 1:1 films in one column, sized so each fits on screen */
.b-films.is-square { grid-template-columns: 1fr; justify-items: center; }
.b-films.is-square .film { grid-column: auto !important; aspect-ratio: 1 / 1; width: min(100%, 80vh); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.b-row { display: flex; gap: clamp(14px, 1.4vw, 22px); }
.b-row figure { position: relative; overflow: hidden; border-radius: 4px; background: var(--bg-2); cursor: zoom-in; }
.b-row figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.b-row figure:hover img { transform: scale(1.03); }
.b-row.is-narrow { margin-inline: auto; }
.b-embed { margin: clamp(20px, 3vw, 48px) 0; }

/* films with their own subheaders */
.b-films.has-titles { column-gap: clamp(14px, 1.4vw, 22px); row-gap: clamp(36px, 4vw, 64px); margin-top: 10px; }
.b-films.has-titles .film-item:first-child { grid-column: 1 / -1; }
.film-item__title { font: 700 clamp(26px, 2.6vw, 42px)/1 var(--display); letter-spacing: -.04em; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }

/* endlessly scrolling strip, flush with the block above */
.b-marquee { background: #000; overflow: hidden; border-radius: 4px; margin-top: calc(clamp(14px, 1.4vw, 22px) * -1); }
.b-row + .b-marquee { border-top-left-radius: 0; border-top-right-radius: 0; }
.b-marquee__strip { display: flex; width: max-content; animation: strip 30s linear infinite; }
.b-marquee__strip img { width: clamp(900px, 100vw, 1820px); height: auto; max-width: none; flex: none; }
.b-marquee:hover .b-marquee__strip { animation-play-state: paused; }
@keyframes strip { to { transform: translateX(-50%); } }

/* card-fan carousel (assets/fan.js) */
.b-fan { padding-bottom: clamp(40px, 6vw, 100px); overflow-x: clip; }
.fan { --card-w: clamp(130px, 17vw, 272px); }
.fan.fan--landscape { --card-w: clamp(170px, 22vw, 380px); }
.fan--landscape .fan__stage { height: calc(var(--card-w) / var(--fan-ratio, 2) + var(--card-w) * .6); }
.fan__stage { position: relative; height: calc(var(--card-w) / var(--fan-ratio, .7) * 1.35); touch-action: pan-y; margin-top: clamp(20px, 3vw, 48px); }
.fan__card {
  position: absolute; left: 50%; top: 50%; padding: 0; border: 0; background: var(--bg-2);
  width: var(--card-w); aspect-ratio: var(--fan-ratio, .7);
  border-radius: 6px; overflow: hidden; cursor: pointer; will-change: transform;
  box-shadow: 0 18px 40px -18px rgba(17, 17, 17, .45);
}
.fan__card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.fan__card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.fan__nav { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 28px; }
.fan__count { font: 500 11.5px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 60px; text-align: center; }
.fan__arrow { width: 48px; height: 48px; border: 1px solid var(--ink); border-radius: 50%; font-size: 18px; transition: background .3s, color .3s; }
.fan__arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.b-embed iframe { display: block; width: 100%; height: 100%; border: 0; background: transparent; }
/* a tall board shown full width on its own background colour, butted up to the image above */
.b-band { background: var(--band); border-radius: 4px; overflow: hidden; cursor: zoom-in; margin-top: calc(clamp(14px, 1.4vw, 22px) * -1); padding: clamp(24px, 4vw, 64px) var(--gut); }
.b-band img { width: 100%; max-width: 1100px; height: auto; margin: 0 auto; }
.b-row + .b-band { border-top-left-radius: 0; border-top-right-radius: 0; }

/* ---------------------------------------------------------------- YouTube player (assets/yt.js, shared with adrianely.com) */
.yt { position: absolute; inset: 0; background: #000; overflow: hidden; }
/* YouTube's title bar and logo sit at the top and bottom edges of its player. The player is made
   taller than the frame: YouTube letterboxes the film inside it, so the film fills the frame exactly
   while the title and logo land in the hidden bands above and below */
.yt iframe { position: absolute; left: 0; width: 100%; top: -100px; height: calc(100% + 200px); border: 0; }
.yt__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; cursor: pointer; transition: opacity .35s var(--ease), transform 1.1s var(--ease); }
.film:hover .yt:not(.is-playing) .yt__poster { transform: scale(1.03); }
.yt.is-playing .yt__poster { opacity: 0; pointer-events: none; }
.yt__hit { position: absolute; inset: 0; z-index: 3; cursor: pointer; }
.yt__play {
  position: absolute; left: 50%; top: 50%; z-index: 4; transform: translate(-50%, -50%);
  width: clamp(64px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  transition: transform .5s var(--ease), opacity .3s;
}
.yt__play svg { width: 34%; fill: currentColor; margin-left: 6%; }
.yt__play:hover { transform: translate(-50%, -50%) scale(1.1); }
.yt.is-playing .yt__play, .yt.is-loading .yt__play { opacity: 0; pointer-events: none; }
.yt.is-loading .yt__poster { filter: brightness(.8); }
.yt__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .45)); opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.yt.is-awake .yt__bar, .yt:not(.is-playing):not(.is-loading) .yt__bar { opacity: 1; pointer-events: auto; }
.yt:not(.is-playing) .yt__bar .yt__toggle { visibility: hidden; } /* the big button handles play */
.yt__btn { width: 38px; height: 38px; display: grid; place-items: center; color: #fff; border-radius: 50%; transition: background .25s; }
.yt__btn:hover { background: rgba(255, 255, 255, .16); }
.yt__btn svg { width: 20px; fill: currentColor; }
/* touch: until the first tap has started the film, taps pass through poster, button and
   our layer to the video itself (phones only let a tap on the video start it with sound) */
.yt.is-touch:not(.has-started) .yt__poster,
.yt.is-touch:not(.has-started) .yt__play,
.yt.is-touch:not(.has-started) .yt__hit { pointer-events: none; }
.yt.is-touch:not(.has-started) .yt__bar { display: none; }
.yt:fullscreen, .yt:-webkit-full-screen { width: 100%; height: 100%; border-radius: 0; }
.yt:fullscreen .yt__poster { object-fit: contain; }

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(15, 15, 15, .96); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; color: #fff; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: calc(100vw - 160px); max-height: calc(100vh - 120px); object-fit: contain; border-radius: 4px; }
.lightbox button { position: absolute; font-size: 14px; font-weight: 500; padding: 14px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 16px; top: 50%; transform: translateY(-50%); font-size: 28px !important; }
.lightbox__next { right: 16px; top: 50%; transform: translateY(-50%); font-size: 28px !important; }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 13px; opacity: .7; }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--accent) !important; color: #fff; padding: clamp(60px, 8vw, 110px) var(--gut) 22px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--gut); flex-wrap: wrap; }
.footer__line { font: 700 clamp(48px, 7.4vw, 130px)/.92 var(--display); letter-spacing: -.05em; max-width: 11ch; }
.footer__line em { color: var(--ink); letter-spacing: -.03em; }
.footer__cta { display: inline-flex; align-items: center; gap: 14px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 8px 8px 22px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; transition: background .4s, color .4s; }
.footer__cta b { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--accent); display: grid; place-items: center; font: 400 20px/1 var(--body); transition: transform .5s var(--ease); }
.footer__cta:hover { background: #fff; color: var(--accent); }
.footer__cta:hover b { transform: rotate(45deg); background: var(--accent); color: #fff; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gut); margin-top: clamp(60px, 8vw, 120px); padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 15px; line-height: 1.6; }
.footer h4 { color: rgba(255, 255, 255, .65); margin-bottom: 14px; }
.footer__cols ul { columns: 2; max-width: 280px; }
.footer__cols li a:hover { color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: clamp(48px, 6vw, 90px); color: rgba(255, 255, 255, .7); }
.footer__mark { font: 700 18px/1 var(--display); letter-spacing: -.04em; text-transform: none; color: #fff; }
.footer__mark .amp { color: #fff; font-size: 1.3em; }
.footer__bottom button { font: inherit; letter-spacing: inherit; text-transform: inherit; }
.footer__bottom button:hover { color: #fff; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header__menu { display: inline-flex; }
  .page-hero__side, .page-hero__lede { grid-column: 1 / -1; }
  .statement__label, .statement__text { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .case-intro__side, .case-intro__main, .case-blocks > .b-text .case-copy { grid-column: 1 / -1; }
  .case-intro__side { order: 2; }
  .contact__aside, .contact__form { grid-column: 1 / -1; }
  .bio__name, .bio__body { grid-column: 1 / -1; }
  .show__list { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  :root { --header-h: 64px; }
  .mark { font-size: 27vw; letter-spacing: -.04em; }
  /* on phones the ampersand sits in the empty corner beside "Ade" instead of behind the letters */
  .mark__amp { font-size: 1.15em; left: 2%; top: auto; bottom: -.08em; translate: none; }
  .case-meta { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .stagger { row-gap: 56px; }
  .stagger .card { grid-column: 1 / -1 !important; margin-top: 0 !important; }
  .stagger .card:nth-child(even) { grid-column: 3 / -1 !important; }
  .stagger .card .card__media { aspect-ratio: 4 / 3 !important; }
  .duo .person:nth-child(1) { grid-column: 1 / span 8; }
  .duo .person:nth-child(2) { grid-column: 5 / -1; margin-top: 0; }
  .row { grid-template-columns: 88px 1fr; row-gap: 4px; padding: 16px 0; }
  .row__n { display: none; }
  .row__thumb { display: block; grid-row: span 3; aspect-ratio: 1; border-radius: 3px; overflow: hidden; }
  .row__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .row__t { font-size: 24px; }
  .row__d { text-align: left; }
  .row:hover .row__t { transform: none; }
  .grid3 { grid-template-columns: 1fr; }
  .b-films, .b-films.is-vertical { grid-template-columns: 1fr; }
  .b-films.is-vertical { grid-template-columns: repeat(2, 1fr); }
  .b-films.has-titles { grid-template-columns: 1fr; }
  .show__head { grid-template-columns: 1fr auto; }
  .show__best { display: none; }
  .show__list li { grid-template-columns: 1fr; gap: 2px; }
  .career td:last-child { display: none; }
  .career td:first-child { width: 50%; }
  .cta__link { grid-template-columns: 1fr; min-height: 70vh; }
  .cta__btn { grid-column: 1; grid-row: auto; justify-self: end; width: 84px; font-size: 30px; }
  .cta__thumb { display: none; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-wrap: wrap; }
  .footer__mark { order: -1; width: 100%; }
  .lightbox img { max-width: 100vw; }
  .wall__grid { gap: 5px; padding: 0 5px; }
  .wall__col { gap: 5px; }
  .tile__cap { display: none; }
  .ribbon__track { font-size: 20vw; }
}

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