/* ------------------------------------------------------------------ tokens */
:root {
  --bg: #e1ded9;            /* matches the hero photograph's backdrop, so the cut-out portrait melts into the page */
  --ink: #0b0b0b;
  --mute: #6c6862;
  --pad: clamp(16px, 3.4vw, 52px);
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --s: min(100vw, 1600px);  /* hero scale unit */
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, svg { display: block; max-width: 100%; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; left: var(--pad); top: -80px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; text-decoration: none; }
.skip:focus { top: 10px; }
section[id] { scroll-margin-top: 0; }

.display { font-weight: 800; text-transform: uppercase; letter-spacing: .13em; line-height: 1; font-size: clamp(32px, 6.2vw, 96px); }

/* ------------------------------------------------------------------ navigation */
.nav { position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: baseline;
  padding: clamp(16px, 2vw, 30px) var(--pad); gap: 1rem; }
.nav__role { font-size: clamp(16px, 1.7vw, 24px); letter-spacing: -.01em; text-decoration: none; }
.nav__role--link { font-weight: 700; letter-spacing: .01em; }
.nav ul { display: flex; gap: clamp(14px, 2.4vw, 36px); }
.nav a { text-decoration: none; font-size: clamp(13px, 1.25vw, 18px); letter-spacing: .02em; padding: 4px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover, .nav a:focus-visible { background-size: 100% 1px; }
@media (max-width: 560px) {
  .nav { flex-direction: column-reverse; align-items: stretch; gap: 6px; }
  .nav ul { justify-content: space-between; }
  .nav__role { font-size: 14px; color: var(--mute); }
  .nav__role--link { color: var(--ink); }
  .nav a { font-size: 13px; }
}

/* ------------------------------------------------------------------ hero */
.hero { --s: min(100vw, 142svh); --hh: clamp(calc(var(--s) * .70), 100svh, calc(var(--s) * .76)); position: relative; height: var(--hh); min-height: 520px; overflow: hidden; isolation: isolate; --lu: calc(var(--s) * .0445); }
@supports not (height: 1svh) { .hero { --s: min(100vw, 142vh); --hh: clamp(calc(var(--s) * .70), 100vh, calc(var(--s) * .76)); } }
.hero__name { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); top: calc(var(--s) * .10); display: flex; justify-content: space-between;
  font-weight: 800; font-size: calc(min(100vw, var(--s) * 1.6) * .0565); letter-spacing: .1em; line-height: 1; margin-right: -.1em; }
.hero__role { display: none; }
.hero__portrait { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); width: max(calc(var(--s) * .86), calc((var(--hh) + var(--s) * .03) * 1.142)); max-width: none; height: auto; top: calc(var(--s) * -.03); pointer-events: none; user-select: none; }
.hero__awards, .hero__media { position: absolute; z-index: 3; top: calc(var(--s) * .205); bottom: calc(var(--s) * .07); font-size: var(--lu); display: flex; flex-direction: column; }
.hero__awards { left: var(--pad); align-items: flex-start; }
.hero__media { right: var(--pad); align-items: flex-end; text-align: right; }
.hero__awards ul, .hero__media ul { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: .35em; }
.hero__awards ul { align-items: flex-start; }
.hero__media ul { align-items: flex-end; }
.hero__lead { font-size: .8em; font-weight: 800; letter-spacing: -.045em; line-height: 1; margin-bottom: .7em; }
.hero__lead--caps { text-transform: uppercase; font-size: .55em; letter-spacing: -.04em; }
.hero__logo, .plogo, .tile__logo, .client { width: var(--w); height: auto; }
.hero__mail { position: absolute; z-index: 5; left: 50%; bottom: calc(var(--s) * .07 - 7px); transform: translateX(-50%); text-align: center; }
.mail { font-size: clamp(15px, 1.45vw, 22px); text-underline-offset: .22em; text-decoration-thickness: 1px; padding: 6px 4px; }
.mail:hover { text-decoration-thickness: 2px; }
.mail__toast { position: absolute; left: 50%; bottom: calc(100% + 4px); transform: translate(-50%, 6px); background: var(--ink); color: var(--bg); font-size: 13px; padding: 4px 10px; border-radius: 99px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); white-space: nowrap; }
.mail__toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 699px) {
  .hero { --s: 100vw; height: calc(var(--s) * 1.62); min-height: 0; --lu: 6.4vw; }
  .hero__name { top: 17vw; display: block; font-size: 15.6vw; letter-spacing: .05em; margin-right: 0; }
  /* on phones the role line moves from the menu row to sit right under the name */
  .home .nav__role { display: none; }
  .hero__role { display: block; position: absolute; z-index: 3; left: 4vw; top: 49.5vw; font-size: 3.6vw; letter-spacing: .05em; line-height: 1; color: var(--mute); }
  .hero__name span { display: block; }
  .hero__portrait { width: 160%; top: 27vw; }
  .hero__awards, .hero__media { top: 80vw; bottom: 6vw; }
  .hero__awards { left: 4vw; }
  .hero__media { right: 4vw; }
  .hero__awards ul, .hero__media ul { gap: .25em; }
  /* headings sit higher, in the free space beside the head */
  .hero__lead { position: absolute; top: -17vw; left: 0; margin: 0; font-size: .62em; white-space: nowrap; }
  .hero__lead--caps { left: auto; right: 0; width: 23vw; white-space: normal; text-align: right; font-size: .36em; line-height: 1.12; }
  .hero__mail { bottom: calc(6vw - 6px); max-width: 52vw; }
  .mail { font-size: 3.7vw; padding: 6px 2px; }
}

/* ------------------------------------------------------------------ work grid */
.grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 860px) { .grid { grid-template-columns: 1fr 1fr; grid-auto-rows: max(240px, 50vh); grid-auto-rows: max(240px, 50svh); } }
.tile { position: relative; aspect-ratio: 1.38 / 1; overflow: hidden; background: #000; color: #fff; }
.tile__link { position: absolute; inset: 0; display: block; text-decoration: none; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .5s; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 34%, rgba(0,0,0,0) 62%, rgba(0,0,0,.5)); }
.tile__logos { position: absolute; z-index: 2; top: clamp(10px, 1.6vw, 24px); left: clamp(10px, 1.6vw, 24px); right: clamp(10px, 1.6vw, 24px); display: flex; flex-wrap: wrap; align-items: center; gap: .5em 1.1em; font-size: clamp(15.4px, 2.42vw, 33px); }
.tile__title { position: absolute; z-index: 3; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; padding: 0 8%; text-transform: uppercase; font-weight: 800; letter-spacing: .02em; line-height: .98; font-size: clamp(28px, 4.3vw, 66px); opacity: 0; transition: opacity .35s; text-wrap: balance; }
.tile__tags { position: absolute; z-index: 3; left: clamp(10px, 1.6vw, 24px); bottom: clamp(10px, 1.6vw, 22px); right: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.tile__tags li { background: #000; color: #fff; font-size: clamp(10px, .95vw, 13px); line-height: 1; letter-spacing: .02em; text-transform: uppercase; padding: .85em 1.3em; border-radius: 99px; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 2; background: rgba(0,0,0,.42); opacity: 0; transition: opacity .35s; pointer-events: none; }
@media (hover: hover) {
  .tile__link:hover .tile__title, .tile__link:focus-visible .tile__title { opacity: 1; }
  .tile:has(.tile__link:hover)::after, .tile:has(.tile__link:focus-visible)::after { opacity: 1; }
  .tile__link:hover .tile__img { transform: scale(1.025); }
}
.tile__link:focus-visible { outline-color: #fff; outline-offset: -6px; }
/* touch: no hover, so the title stays visible as a caption */
@media (hover: none) {
  .tile__title { opacity: 1; top: auto; bottom: clamp(48px, 9vw, 62px); transform: none; text-align: left; padding: 0 14px; font-size: clamp(22px, 6vw, 34px); text-shadow: 0 1px 14px rgba(0,0,0,.55); }
  .tile__tags li { background: rgba(0,0,0,.82); }
  .tile::before { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 40%, rgba(0,0,0,.72)); }
  .tile--static .tile__title { bottom: 16px; }
}
.tile--static .tile__link { cursor: default; }
@media (min-width: 860px) { .tile { aspect-ratio: auto; min-height: 0; } }

.more { text-align: center; padding: clamp(28px, 4vw, 56px) 0 clamp(44px, 6vw, 96px); }
.more__btn { font-size: clamp(16px, 1.6vw, 22px); letter-spacing: .02em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; padding: 14px 20px; }
.more__btn:hover { text-decoration-thickness: 2px; }
.more:has(.more__panel:not([hidden])) { padding-top: 0; }
.more__panel { margin-top: 0; text-align: left; animation: fade .6s var(--ease); }
.more__panel[hidden], .more__btn[hidden] { display: none; }
.more__btn--less { display: block; margin: clamp(20px, 3vw, 44px) auto 0; }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ services */
.services { padding: clamp(56px, 9vw, 140px) var(--pad); }
.services__list { margin-top: clamp(36px, 5.5vw, 88px); display: grid; gap: clamp(44px, 6vw, 80px) clamp(20px, 3.4vw, 52px); grid-template-columns: 1fr; }
@media (min-width: 700px) { .services__list { grid-template-columns: repeat(3, 1fr); } }
.service__art { height: clamp(95px, 10.5vw, 150px); width: auto; max-width: 100%; object-fit: contain; object-position: left bottom; }
.service h3 { font-size: clamp(24px, 2.5vw, 38px); letter-spacing: -.035em; line-height: 1.05; margin: clamp(14px, 1.6vw, 26px) 0 .6em; font-weight: 700; }
.service p { max-width: 30ch; font-size: clamp(16px, 1.25vw, 19px); }

/* ------------------------------------------------------------------ contacts + clients (shared components) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contacts { --c-bg: #2d2b29; background: var(--c-bg); color: #fff; display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 48px); padding: clamp(32px, 4.5vw, 72px) var(--pad); align-items: center; }
@media (min-width: 860px) { .contacts { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.contacts:has(.slideshow[hidden]), .contacts--solo { grid-template-columns: 1fr; }
.contacts__info { order: -1; display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 24px); align-items: flex-start; }
@media (min-width: 860px) { .contacts__info { order: 0; padding-left: clamp(0px, 3vw, 56px); } .contacts--solo .contacts__info { padding-left: 0; } }
.contacts .display { font-size: clamp(30px, 4vw, 62px); }
.contacts__pigeon { height: clamp(95px, 11vw, 160px); width: auto; max-width: 100%; filter: invert(1); margin: 0; }
.contacts__mail { font-size: clamp(19px, 2vw, 29px); letter-spacing: -.01em; text-underline-offset: .22em; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.contacts__mail:hover { text-decoration-thickness: 2px; }
.contacts__photos { position: relative; min-height: 0; display: flex; justify-content: flex-start; }
.contacts__photos:has(.slideshow[hidden]) { display: none; }
.slideshow { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #151515; }
@media (min-width: 860px) { .slideshow { aspect-ratio: 5 / 4; max-width: 520px; } }
.slideshow__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.slideshow__img.is-active { opacity: 1; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .slideshow__img { transition: none; } }
.social { display: flex; gap: 14px; margin-top: 4px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; transition: background .25s, color .25s; }
.social a:hover, .social a:focus-visible { background: #fff; color: #000; }
.social svg { width: 22px; height: 22px; fill: currentColor; }
.slideshow__ui { position: absolute; z-index: 3; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; color: #fff; background: rgba(0,0,0,.55); border-radius: 99px; padding: 4px 6px 4px 14px; backdrop-filter: blur(6px); }
.slideshow__btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.slideshow__btn:hover { background: rgba(255,255,255,.18); }
.slideshow__btn svg { width: 14px; height: 14px; fill: currentColor; }
.slideshow__btn .i-play { display: none; }
.slideshow.is-paused .i-play { display: block; }
.slideshow.is-paused .i-pause { display: none; }

.clients { background: #000; color: #fff; padding: clamp(40px, 6vw, 96px) var(--pad); border-top: 1px solid #1c1c1c; font-size: clamp(26px, 3.8vw, 56px); }
.clients ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(26px, 3.4vw, 56px) 0; }
.clients li { flex: 0 0 33.333%; display: flex; align-items: center; justify-content: center; min-height: 2.2em; padding: 0 1em; }
@media (min-width: 860px) { .clients li { flex-basis: 20%; } }
.client { width: var(--w); height: auto; max-width: 100%; opacity: .4; }  /* white artwork, dimmed to grey */
.client--missing { width: auto; font-size: .42em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; }

.foot { background: #000; color: #8d8a85; display: flex; justify-content: space-between; padding: 18px var(--pad) 22px; font-size: 13px; border-top: 1px solid #222; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; }

/* ------------------------------------------------------------------ project pages */
.phead { padding: clamp(120px, 13vw, 200px) var(--pad) 0; }
.phead--plain { padding-bottom: clamp(28px, 4vw, 64px); }
.ptitle { font-weight: 800; text-transform: uppercase; letter-spacing: -.045em; line-height: .92; font-size: clamp(34px, 8.6vw, 140px); overflow-wrap: anywhere; text-wrap: balance; }
.plogos { margin-top: clamp(28px, 4vw, 64px); margin-bottom: clamp(20px, 2.6vw, 40px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px 40px; font-size: clamp(24px, 3.1vw, 46px); }
.plogos ul { display: flex; flex-wrap: wrap; align-items: center; gap: .6em 1.4em; }
.plogos__media { justify-content: flex-end; }
.plogos a { display: block; transition: opacity .25s; }
.plogos a:hover { opacity: .55; }
@media (max-width: 859px) { .plogos { flex-direction: column; align-items: flex-start; } .plogos__media { justify-content: flex-start; } }

.pvideo { width: 100%; }
.video { position: relative; aspect-ratio: var(--ar, 16 / 9); background: #000; overflow: hidden; }
.video video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; cursor: pointer; }
.video__play svg { width: clamp(64px, 9vw, 128px); height: auto; fill: rgba(255,255,255,.9); transition: transform .35s var(--ease), fill .2s; filter: drop-shadow(0 2px 18px rgba(0,0,0,.35)); }
.video__play svg path { fill: #000; }
.video__play:hover svg { transform: scale(1.08); }
.video__play:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
.video.is-playing .video__play, .video.is-auto .video__play { display: none; }

.info { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 64px); padding: clamp(48px, 7vw, 120px) var(--pad); }
@media (min-width: 860px) { .info { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.info__block + .info__block { margin-top: clamp(24px, 3vw, 44px); }
.info h2 { font-size: clamp(18px, 1.7vw, 26px); font-weight: 500; letter-spacing: -.01em; margin-bottom: .45em; text-transform: uppercase; }
.info p { max-width: 58ch; font-size: clamp(16px, 1.2vw, 19px); }
.info p + p { margin-top: .35em; }
.info__col:first-child p { max-width: 40ch; }
.info__block--credits h2 { font-size: clamp(14px, 1.1vw, 17px); color: var(--mute); }
.credits { margin: 0; font-size: clamp(14px, 1vw, 16px); color: var(--mute); max-width: 58ch; }
.credits div { display: flex; gap: .5em; flex-wrap: wrap; }
.credits dt::after { content: ":"; }
.credits dt, .credits dd { margin: 0; }
.credits dd { color: var(--ink); }

.gallery { display: grid; gap: clamp(12px, 1.6vw, 24px); }
.gallery__row { display: grid; grid-template-columns: 1fr; gap: inherit; }
@media (min-width: 700px) { .gallery__row { grid-template-columns: 1fr 1fr; } }
.shot { width: 100%; height: auto; aspect-ratio: var(--ar); object-fit: contain; }
.gallery__one--narrow { padding: 0 var(--pad); }
.gallery__one--narrow .shot { width: min(100%, 560px); margin-inline: auto; }
.gallery__one--narrow .video { width: min(100%, 560px); margin-inline: auto; }
@media (min-width: 860px) { .gallery__one--narrow .video { width: 340px; } }
.gallery > .gallery__one:not(.gallery__one--narrow) > .shot, .gallery > .gallery__one:not(.gallery__one--narrow) > .video { width: 100%; }

.next { padding: clamp(56px, 8vw, 128px) var(--pad); }
.next a { text-decoration: none; display: block; }
.next span { display: block; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.next strong { font-size: clamp(26px, 5vw, 76px); letter-spacing: -.04em; line-height: 1; text-transform: uppercase; font-weight: 800; transition: letter-spacing .5s var(--ease); display: inline-block; }
.next a:hover strong { letter-spacing: -.02em; }
.project .nav { position: absolute; }

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