:root {
  /* process inks, as Adobe renders them in sRGB */
  --c: #00aeef;
  --m: #ec008c;
  --y: #fff200;
  --k: #231f20; /* registration black */
  --k60: #6d6e71;
  --paper: #ffffff;
  --rule: #d1d3d4;
  --gutter: clamp(16px, 4vw, 56px);
  --display: "Bricolage Grotesque", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--k);
  font: 400 1.0625rem/1.55 var(--display);
  font-variation-settings: "opsz" 14;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
h2 {
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  font-weight: 800;
  font-stretch: 75%;
  font-variation-settings: "opsz" 96;
  line-height: .9;
  letter-spacing: -.01em;
}

/* press-sheet colour bar */
.colorbar { display: grid; grid-template-columns: repeat(12, 1fr); height: 10px; }
.colorbar i:nth-child(1) { background: var(--c); }
.colorbar i:nth-child(2) { background: var(--m); }
.colorbar i:nth-child(3) { background: var(--y); }
.colorbar i:nth-child(4) { background: var(--k); }
.colorbar i:nth-child(5) { background: color-mix(in srgb, var(--c) 50%, #fff); }
.colorbar i:nth-child(6) { background: color-mix(in srgb, var(--m) 50%, #fff); }
.colorbar i:nth-child(7) { background: color-mix(in srgb, var(--y) 50%, #fff); }
.colorbar i:nth-child(8) { background: color-mix(in srgb, var(--k) 50%, #fff); }
.colorbar i:nth-child(9) { background: color-mix(in srgb, var(--c) 20%, #fff); }
.colorbar i:nth-child(10) { background: color-mix(in srgb, var(--m) 20%, #fff); }
.colorbar i:nth-child(11) { background: color-mix(in srgb, var(--y) 20%, #fff); }
.colorbar i:nth-child(12) { background: color-mix(in srgb, var(--k) 20%, #fff); }

.top {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  padding: 18px var(--gutter);
}
.mark { font-weight: 700; text-decoration: none; }
.top nav { display: flex; gap: clamp(.9rem, 3vw, 2rem); }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-decoration-color: var(--m); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* registration targets */
.reg { position: absolute; width: 28px; height: 28px; border: 1.5px solid var(--k); border-radius: 50%; }
.reg::before {
  content: ""; position: absolute; inset: -9px;
  background:
    linear-gradient(var(--k), var(--k)) center / 1.5px 100% no-repeat,
    linear-gradient(var(--k), var(--k)) center / 100% 1.5px no-repeat;
}
.reg::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--k); }
.reg.tl { top: 12px; left: var(--gutter); }
.reg.tr { top: 12px; right: var(--gutter); }
.reg.bl { bottom: 24px; left: var(--gutter); }
.reg.br { bottom: 24px; right: var(--gutter); }

/* hero: three plates that multiply to black once they register */
.hero { position: relative; display: grid; grid-template-columns: auto minmax(0, 30ch); gap: 0 clamp(32px, 6vw, 96px); align-items: end; padding: clamp(64px, 10vw, 140px) var(--gutter) clamp(48px, 7vw, 96px); }
.plates {
  position: relative; display: grid;
  font-size: clamp(4.2rem, 19vw, 17rem);
  font-weight: 800; font-stretch: 75%;
  font-variation-settings: "opsz" 96;
  line-height: .82; letter-spacing: -.02em;
}
.plate { grid-area: 1 / 1; mix-blend-mode: multiply; animation: register 1.6s cubic-bezier(.2, .7, .2, 1) .3s both; }
.plate.c { color: var(--c); --dx: -.045em; --dy: .02em; }
.plate.m { color: var(--m); --dx: .035em; --dy: -.025em; }
.plate.y { color: var(--y); --dx: .015em; --dy: .04em; }
@keyframes register { from { transform: translate(var(--dx), var(--dy)); } to { transform: none; } }
.lede {
  margin: 0 0 .4em;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.35;
  font-variation-settings: "opsz" 32;
}

/* featured jobs */
.job { padding: clamp(64px, 9vw, 128px) var(--gutter); border-top: 1px solid var(--rule); }
.job-dark { background: var(--k); color: #fff; border: 0; }
.job-pink { background: #ef4f99; color: #fff; border: 0; }
.job-head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 12px 48px;
  align-items: end; margin-bottom: clamp(32px, 5vw, 64px);
}
.job-head h2 { grid-column: 1 / -1; }
.job-head p { margin: 0; max-width: 52ch; }
.ticket { display: grid; gap: 4px; margin: 0; align-self: start; padding-top: 8px; }
.ticket div { display: grid; grid-template-columns: 4.5rem 1fr; }
.ticket dt { color: var(--k60); }
.job-dark .ticket dt { color: #a7a9ac; }
.job-pink .ticket dt { color: #ffd1e8; }
.ticket dd { margin: 0; font-weight: 600; }

/* crop marks around a trimmed piece */
.proof {
  margin: 0;
  border: 18px solid transparent;
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54' stroke='%23999' stroke-width='1'%3E%3Cpath d='M0 17.5h12M17.5 0v12M42 17.5h12M36.5 0v12M0 36.5h12M17.5 42v12M42 36.5h12M36.5 42v12'/%3E%3C/svg%3E") 18;
}
.job-pink .proof, .job-dark .proof { border-image-source: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='54' height='54' stroke='%23fff' stroke-opacity='.6' stroke-width='1'%3E%3Cpath d='M0 17.5h12M17.5 0v12M42 17.5h12M36.5 0v12M0 36.5h12M17.5 42v12M42 36.5h12M36.5 42v12'/%3E%3C/svg%3E"); }
figcaption { font-size: .9rem; margin-top: 8px; }

.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(8px, 2vw, 24px); }
.process {
  list-style: none; counter-reset: step; margin: clamp(48px, 7vw, 96px) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr 2.2fr; gap: clamp(12px, 2vw, 24px); align-items: end;
}
.process li { counter-increment: step; }
.process figure { margin: 0; }
.process figcaption::before { content: counter(step) "  "; font-weight: 800; color: var(--y); white-space: pre; }

.sub { font-size: 1.25rem; font-weight: 700; margin: clamp(40px, 5vw, 64px) 0 16px; }
.job-head + .sub { margin-top: 0; }
.tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(140px, 28vw), 1fr)); gap: 16px 12px;
  font-size: .9rem; color: var(--k60);
}
.tiles img { margin-bottom: 6px; background: #f1f1f2; }
.brandrow { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 12px; align-items: center; }

.arfw {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px); align-items: center;
}
.arfw-side { display: grid; gap: clamp(32px, 5vw, 64px); }
.arfw-2020 { max-width: 400px; }
.arfw figcaption { font-weight: 800; font-size: 1.4rem; }
blockquote { margin: 0; max-width: 30ch; }
blockquote p {
  margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.2rem); line-height: 1.2; font-weight: 600;
  font-variation-settings: "opsz" 60; text-indent: -.45em;
}
blockquote p::before { content: "“"; }
blockquote p::after { content: "”"; }
blockquote footer { margin-top: 14px; }

.vm { display: grid; grid-template-columns: 1fr 2.6fr; gap: clamp(12px, 2vw, 24px); align-items: center; }
.vm-final { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 640px; }

/* archive */
.archive { padding: clamp(64px, 9vw, 128px) var(--gutter); background: #f1f1f2; }
.archive-head { display: grid; gap: 16px; margin-bottom: 32px; }
.archive-head p { margin: 0; max-width: 52ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: inherit; font-size: .95rem; cursor: pointer;
  padding: 6px 14px; border: 1.5px solid var(--k); border-radius: 999px; background: none; color: var(--k);
}
.filters button[aria-pressed="true"] { background: var(--k); color: #fff; }
.grid { columns: 4 240px; column-gap: 12px; }
.grid a { display: block; break-inside: avoid; margin-bottom: 12px; background: #fff; }
.grid a:hover img { opacity: .85; }
.grid[data-f="logos"] a:not([data-c="logos"]),
.grid[data-f="branding"] a:not([data-c="branding"]),
.grid[data-f="print"] a:not([data-c="print"]),
.grid[data-f="wraps"] a:not([data-c="wraps"]),
.grid[data-f="social"] a:not([data-c="social"]),
.grid[data-f="misc"] a:not([data-c="misc"]) { display: none; }

/* about */
.about {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 80px);
  padding: clamp(64px, 9vw, 128px) var(--gutter); align-items: start;
}
.about-photo { margin: 0; position: sticky; top: 24px; }
.about-text { max-width: 60ch; }
.about-text h2 { margin-bottom: 24px; }
.about-text h3 { font-size: 1.25rem; margin: 40px 0 12px; }
.cv { list-style: none; margin: 0; padding: 0; }
.cv li { display: grid; grid-template-columns: 3.5rem 1fr; padding: 10px 0; border-top: 1px solid var(--rule); }
.cv span { color: var(--k60); grid-row: span 2; }
.cv b { font-weight: 700; display: block; }
.tools { color: var(--k60); }

/* contact */
.contact {
  position: relative; text-align: center;
  padding: clamp(80px, 12vw, 160px) var(--gutter) 96px;
  border-top: 10px solid var(--k);
}
.contact h2 { max-width: 14ch; margin: 0 auto 28px; }
.email {
  font-size: clamp(1.1rem, 3.4vw, 2.2rem); font-weight: 700; overflow-wrap: anywhere;
  text-decoration-color: var(--m); text-decoration-thickness: 3px; text-underline-offset: 6px;
}
.small { color: var(--k60); font-size: .9rem; margin-top: 56px; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: none; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgb(35 31 32 / .94); }
.lightbox img { position: absolute; inset: 0; margin: auto; max-width: calc(100vw - 120px); max-height: calc(100vh - 48px); }
.lightbox button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font: 300 3rem/1 var(--display); padding: 12px 16px;
}
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; translate: 0 -50%; }
.lb-next { right: 4px; top: 50%; translate: 0 -50%; }

@media (max-width: 760px) {
  .job-head, .about, .hero { grid-template-columns: 1fr; }
  .lede { margin-top: 28px; }
  .process { grid-template-columns: 1fr 1fr; }
  .process li:last-child { grid-column: 1 / -1; }
  .brandrow, .vm { grid-template-columns: 1fr 1fr; }
  .arfw { grid-template-columns: 1fr; }
  .brandrow .wide, .vm figure:last-child { grid-column: 1 / -1; }
  .about-photo { position: static; max-width: 420px; }
  .lightbox img { max-width: calc(100vw - 16px); }
  .reg { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .plate { animation: none; }
  html { scroll-behavior: auto; }
}

/* Casting Call Club gifts */
.sub-note { margin: -8px 0 20px; max-width: 52ch; color: var(--k60); }
.gifts {
  list-style: none; margin: 0; padding: clamp(24px, 4vw, 48px) clamp(12px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 3vw, 40px);
  background: radial-gradient(ellipse at 50% 0%, #fff 0%, #f1f1f2 70%);
}
.gift { display: grid; justify-items: center; text-align: center; gap: 4px; }
.gift svg { width: 100%; max-width: 220px; overflow: visible; }
.gift b { font-size: 1.15rem; margin-top: 8px; }
.gift span { display: inline-flex; align-items: center; gap: 6px; color: var(--k60); }
.coin { transition: transform .6s ease; }
.gift:hover .coin { transform: rotateY(360deg); }

.swing { transform-box: view-box; transform-origin: 72px 18px; animation: swing 3.2s ease-in-out infinite alternate; }
.gift-silver .swing { animation-delay: -.8s; }
.gift-gold .swing { animation-delay: -1.6s; }
.gift:hover .swing { animation-duration: .9s; }
@keyframes swing { from { rotate: -5deg; } to { rotate: 5deg; } }
.shine { animation: shine 4.5s ease-in-out infinite; }
.gift-silver .shine { animation-delay: .6s; }
.gift-gold .shine { animation-delay: 1.2s; }
@keyframes shine { 0%, 60% { translate: -50px 0; } 85%, 100% { translate: 110px 0; } }

.ray { transform-box: view-box; transform-origin: 72px 64px; animation: flash 1.8s ease-out infinite; }
.ray:nth-of-type(odd) { animation-delay: .25s; }
@keyframes flash { 0% { opacity: .25; scale: .85; } 25% { opacity: 1; scale: 1.06; } 100% { opacity: .25; scale: .85; } }

@media (max-width: 760px) { .gifts { grid-template-columns: repeat(2, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .swing, .shine, .ray { animation: none; }
  .coin { transition: none; }
}

/* Casting Call Club achievements: a trophy case of ringed medallions */
@property --a { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.badges {
  list-style: none; margin: 0; padding: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 40vw), 1fr)); gap: 36px 20px;
  background:
    radial-gradient(circle at 0% 0%, rgb(100 82 162 / .12), transparent 40%),
    radial-gradient(circle at 100% 30%, rgb(0 176 231 / .12), transparent 40%),
    radial-gradient(circle at 30% 100%, rgb(242 106 43 / .12), transparent 45%),
    #f7f7f8;
}
.badges li { display: grid; justify-items: center; align-content: start; text-align: center; gap: 4px; }
.badges img {
  width: min(112px, 100%); aspect-ratio: 1; padding: 18px; margin-bottom: 10px;
  border: 3px solid transparent; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, #fff 55%, #f4f4f5) padding-box,
    conic-gradient(from var(--a), #f26a2b, #6452a2, #00b0e7, #f26a2b) border-box;
  box-shadow: 0 10px 24px -12px rgb(35 31 32 / .35);
  transition: translate .35s cubic-bezier(.2, .7, .2, 1.4), rotate .35s cubic-bezier(.2, .7, .2, 1.4), box-shadow .35s;
}
.badges li:nth-child(3n+1) img { --a: 120deg; }
.badges li:nth-child(3n+2) img { --a: 240deg; }
.badges li:hover img { translate: 0 -6px; rotate: -6deg; box-shadow: 0 18px 28px -14px rgb(35 31 32 / .45); animation: ring 1.6s linear infinite; }
@keyframes ring { to { --a: 360deg; } }
.badges b { font-size: .95rem; line-height: 1.2; }
.badges span { font-size: .8rem; line-height: 1.35; color: var(--k60); max-width: 22ch; }
@supports (animation-timeline: view()) {
  .badges li { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
  @keyframes rise { from { opacity: 0; translate: 0 24px; scale: .9; } }
}

/* clients ledger */
.clients { padding: clamp(64px, 9vw, 128px) var(--gutter); border-top: 1px solid var(--rule); }
.ledger { list-style: none; margin: 0; padding: 0; counter-reset: client; }
.ledger > li {
  counter-increment: client;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px clamp(24px, 4vw, 64px);
  padding: 28px 0; border-top: 1px solid var(--rule);
}
.ledger-text h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; font-stretch: 85%; line-height: 1.05; }
.ledger-text h3::before { content: counter(client, decimal-leading-zero); display: block; font-size: .9rem; font-weight: 600; font-stretch: 100%; color: var(--m); margin-bottom: 6px; }
.ledger-text p { margin: 10px 0 0; max-width: 46ch; }
.ledger-text p a { text-decoration-color: var(--m); text-underline-offset: 3px; }
.venues { margin: 12px 0 0; padding: 0; list-style: none; color: var(--k60); font-size: .9rem; }
.venues li { padding: 3px 0 3px 14px; position: relative; }
.venues li::before { content: ""; position: absolute; left: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.strip { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.strip a { display: block; background: #f1f1f2; }
.strip img { height: 130px; width: auto; transition: opacity .2s; }
.strip.big img { height: clamp(160px, 22vw, 260px); }
.strip a:hover img { opacity: .85; }

@media (max-width: 760px) {
  .ledger > li { grid-template-columns: 1fr; }
  .strip img { height: 96px; }
  .strip.big img { height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .badges li, .badges li:hover img { animation: none; }
  .badges img { transition: none; }
}
