@font-face {
  font-family: "Erbaum Local";
  src: local("Erbaum Black"), local("Erbaum-Black");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Erbaum Light Local";
  src: local("Erbaum Light"), local("Erbaum-Light");
  font-weight: 300;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ink-rgb: 21 21 21;
  --ink: rgb(var(--ink-rgb));
  --film-grain: url("assets/film-grain-animated-web.webp");
  --paper: #f4f2ee;
  --muted: #b4b1aa;
  --line: #363431;
  --accent: #d5f47c;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--ink);
  color: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img, video { display: block; max-width: 100%; }
.wrap { width: min(100% - clamp(2rem, 9vw, 10rem), 80rem); margin-inline: auto; }
.masthead, .masthead nav, .footer-contact { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.masthead { min-height: 92px; border-bottom: 1px solid var(--line); }
.masthead nav { font-size: .95rem; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(4rem, 11vw, 10rem); line-height: .87; font-weight: 700; letter-spacing: -.09em; }
#work > h2 { color: var(--muted); font-size: .9rem; font-weight: 500; padding: 0 0 1rem; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem 1.25rem; }
.cover { overflow: hidden; background: var(--ink); aspect-ratio: 5 / 3; }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
main :is(img, video) {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.card h3 { font-size: clamp(1.25rem, 2.55vw, 2rem); font-weight: 600; letter-spacing: -.04em; margin: .85rem 0 .3rem; }
.card p, .eyebrow { color: var(--muted); line-height: 1.45; }
.placeholder { display: grid; place-items: center; padding: 2rem; color: var(--muted); text-align: center; }
.footer { margin-top: clamp(4rem, 9vw, 9rem); border-top: 1px solid var(--line); padding: clamp(2rem, 5vw, 4rem) 0; }
.footer h2 { font-size: clamp(1.8rem, 4vw, 3.5rem); letter-spacing: -.065em; margin-bottom: .6rem; }
.footer a:not(.social) { overflow-wrap: anywhere; }
.footer-social { display: grid; justify-items: end; gap: .35rem; flex: none; text-align: right; }
.footer-copyright { color: var(--muted); font-size: .75rem; }
.client-banner {
  container-type: inline-size;
  padding-block: clamp(1.25rem, 4vw, 3rem);
  background: var(--ink);
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}
.client-logos {
  --columns: 1;
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.client-logos li {
  flex: 0 0 calc(100% / var(--columns));
  padding-inline: .5rem;
  scroll-snap-align: start;
}
.client-logos img {
  width: 108px;
  height: auto;
  margin-inline: auto;
  filter: invert(1);
  opacity: .67;
}
@container (min-width: 16rem) { .client-logos { --columns: 2; } }
@container (min-width: 24rem) { .client-logos { --columns: 3; } }
@container (min-width: 32rem) { .client-logos { --columns: 4; } }
@container (min-width: 40rem) { .client-logos { --columns: 5; } }
@container (min-width: 48rem) { .client-logos { --columns: 6; } }
.social { display: grid; place-items: center; border: 1px solid var(--line); width: 3rem; height: 3rem; border-radius: 50%; flex: none; }
.interior { font-family: erbaum, "Helvetica Neue", Helvetica, Arial, sans-serif; }
html:has(#case-awards) { background: #000; }
.case :is(p, figcaption, .awards-list, .story a),
.interior .footer a:not(.social) {
  font-family: "Erbaum Light Local", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}
.case-figure {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}
.case-figure img {
  width: auto;
  height: auto;
  max-height: 75vh;
  object-fit: contain;
  background: var(--ink);
}
.photography + .photography { margin-top: 2rem; }
.photography img { max-height: calc(100svh - 8rem); }
.case-figure figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.case-header {
  display: grid;
  justify-items: start;
  padding-top: 1rem;
}
.case-header h1 {
  padding-block: 2.5rem;
  font-size: clamp(2.375rem, 5.5vw, 4.5rem);
  line-height: .97;
  letter-spacing: -.075em;
  overflow-wrap: anywhere;
}
.case-back {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font: 1.5rem/1 system-ui, sans-serif;
}
.awards-list {
  max-width: 48rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.awards-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--line);
}
.award-year { flex: none; color: var(--muted); }
.awards-section + .awards-section { margin-top: clamp(2rem, 5vw, 4rem); }
.awards-section h2 { margin-bottom: .65rem; }
.awards-list a { text-decoration: underline; text-underline-offset: .2em; }
.case-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: var(--ink);
  margin-bottom: 2rem;
}
.case-video-preview {
  position: relative;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  color: var(--paper);
}
.case-video-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-video-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 3.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(21 21 21 / 78%);
  font-size: 1.45rem;
}
.case-video-link { display: inline-block; margin-bottom: 2rem; }
.case-video-frame {
  padding: clamp(.6rem, 2vw, 1.4rem);
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: #252525;
}
.case-video-frame .case-video { margin-bottom: 0; border-radius: .2rem; }
.case-video-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.case-video-gallery .case-video { margin-bottom: 0; }
.case-film { margin: 0 0 2rem; }
.case-video-gallery .case-film,
.case-film .case-video { margin-bottom: 0; }
.case-film figcaption {
  margin-top: .5rem;
  color: var(--muted);
  font-size: .9rem;
}
.case-film figcaption a {
  display: block;
  width: fit-content;
  margin-top: .35rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.case-lead-image { width: 100%; margin-bottom: 2rem; }
.case-lead-image img {
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.retail-screen { margin: 0 0 2rem; }
.retail-screen figcaption {
  display: grid;
  gap: .5rem;
  padding-block: .55rem;
  color: var(--muted);
  font-size: clamp(.7rem, 1.7vw, .9rem);
  text-align: center;
}
.retail-screen-indoor figcaption { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.retail-screen :is(img, video) {
  width: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: .4rem;
  aspect-ratio: 16 / 3;
  object-fit: contain;
}
.retail-indoor-media { position: relative; }
.retail-indoor-media video {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}
.retail-indoor-media.is-playing video { opacity: 1; }
.retail-playback {
  display: block;
  min-height: 2.75rem;
  margin: .15rem auto 0;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  border-radius: .3rem;
  background: #222;
  color: var(--paper);
  font: inherit;
  font-size: .8rem;
  cursor: pointer;
}
.retail-screen-presell { width: min(100%, 24rem); margin: 2rem auto; }
.retail-screen-presell :is(img, video) { aspect-ratio: 9 / 16; }
.case > .retail-screen-presell {
  width: min(100%, 30rem);
  margin: 0 auto 2rem;
}
.retail-placements { margin-block: 2.5rem; }
.retail-placements > h2 { margin-bottom: 1rem; }
.retail-front-counter {
  display: grid;
  grid-template-columns: minmax(0, 1.7778fr) minmax(0, .5625fr);
  gap: .75rem;
}
.retail-screen-front-counter :is(img, video) { aspect-ratio: 16 / 9; }
.retail-screen-front-counter:last-child :is(img, video) { aspect-ratio: 9 / 16; }
@media (max-width: 40rem) {
  .retail-front-counter { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .retail-screen-front-counter:last-child { width: min(68%, 18rem); margin-inline: auto; }
}
.retail-screen-drive-thru {
  width: min(100%, 36rem);
  margin-inline: auto;
}
.retail-screen-drive-thru :is(img, video) {
  aspect-ratio: var(--drive-thru-ratio, 1.125);
}
.retail-outdoor:has(> :nth-child(2)) {
  --presell-ratio: .5625;
  display: grid;
  grid-template-columns: calc(100% * var(--presell-ratio) / (var(--presell-ratio) + var(--drive-thru-ratio, 1.125))) minmax(0, 1fr);
  align-items: start;
  max-width: 54rem;
  margin-inline: auto;
}
.retail-outdoor:has(> :nth-child(2)) > .retail-screen {
  width: 100%;
  margin: 0;
}
.retail-outdoor:has(> :nth-child(2)) :is(img, video) { border: 0; }
.retail-outdoor:has(> :nth-child(2)) .retail-screen-presell :is(img, video) {
  border-radius: .4rem 0 0 .4rem;
}
.retail-outdoor:has(> :nth-child(2)) .retail-screen-drive-thru :is(img, video) {
  border-radius: 0 .4rem .4rem 0;
}
.case-gallery {
  columns: 24rem 2;
  column-gap: 1rem;
  margin: 2.5rem auto 0;
}
.case-gallery .case-figure {
  display: inline-block;
  width: 100%;
  margin: 0 0 .75rem;
  vertical-align: top;
  break-inside: avoid;
}
.case-gallery .case-figure > img {
  width: 100%;
  max-height: none;
}
.case-gallery-single-column,
.case-gallery:has(> :only-child) { columns: 1; }
.case-gallery .case-gallery-wide { display: block; column-span: all; }
.case-social-gallery {
  column-span: all;
  columns: inherit;
  column-gap: inherit;
}
.case-reel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 17rem));
  justify-content: center;
  align-items: start;
  column-span: all;
  gap: clamp(.65rem, 2vw, 1.25rem);
  margin-bottom: 1rem;
}
.case-reel-grid .case-figure { margin-bottom: 0; }
@media (min-width: 640px) {
  .case-reel-grid:has(> :nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .case-reel-grid:has(> :nth-child(3)) .reel-screen { width: 100%; }
}
@media (max-width: 639px) {
  .case-reel-grid:has(> :nth-child(3)) {
    grid-template-columns: minmax(0, 17rem);
  }
}
.placement-frame {
  --placement-surface: #252525;
  --placement-line: #383838;
  overflow: hidden;
  color: var(--paper);
  background: var(--placement-surface);
  border: 1px solid var(--placement-line);
  border-radius: .75rem;
  font: 400 .875rem/1.35 system-ui, sans-serif;
}
.placement-frame img {
  width: 100%;
  max-height: none;
  height: auto;
  background: var(--placement-surface);
}
.placement-frame .placement-banner-crop {
  aspect-ratio: 3 / 1;
  object-fit: cover;
  object-position: center bottom;
}
.placement-identity,
.placement-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  flex-wrap: wrap;
  padding: .65rem clamp(.65rem, 2vw, 1.15rem);
}
.placement-identity span { color: var(--muted); font-size: .75rem; }
.placement-copy { padding: 0 clamp(.65rem, 2vw, 1.15rem) .85rem; }
.placement-mobile {
  border-width: 6px;
  border-radius: 1.4rem;
}
.placement-actions {
  justify-content: flex-start;
  gap: 1.25rem;
  border-top: 1px solid var(--placement-line);
  color: var(--muted);
  font-size: .75rem;
}
.outdoor-scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: .75rem;
  background-color: #26343a;
  background-size: 100% 100%;
}
.outdoor-billboard {
  aspect-ratio: 11 / 10;
  background-image: url("assets/outdoor-billboard-scene-jpg-web.webp");
}
.outdoor-bus-shelter { background-image: url("assets/outdoor-bus-shelter-scene-jpg-web.webp"); }
.outdoor-structure {
  position: absolute;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #252c30;
}
.outdoor-billboard .outdoor-structure { inset: 16% 7.35% 39.23% 7.64%; }
.outdoor-bus-shelter .outdoor-structure { inset: 18.91% 46.8% 16.94% 22.58%; }
.outdoor-scene .outdoor-structure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: contain;
  background: transparent;
}
.outdoor-structure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 .6rem #0005;
}
.outdoor-bus-shelter .outdoor-structure::after {
  background: linear-gradient(125deg, #e1eef314, transparent 55%, #12212d15);
}
.case .lead {
  margin: .85rem 0 2.5rem;
  color: var(--muted);
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1.35;
  white-space: pre-line;
}
.case-gallery, .story { max-width: 58rem; }
.story { margin: 3rem auto; display: grid; gap: 2rem; line-height: 1.65; }
.story h2 { margin-bottom: .4rem; }
.story p { white-space: pre-line; color: var(--muted); }
.case-study-headline {
  max-width: 23ch;
  margin-block: .45rem .8rem;
  font-size: clamp(1.85rem, 3.7vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}
#case-oxp .case-study-headline {
  max-width: none;
  font-size: clamp(1.75rem, 3.25vw, 3.35rem);
  text-wrap: balance;
}
#case-fifa-world-cup-meal .case-study-headline {
  font-size: clamp(1.7rem, 3.25vw, 3.1rem);
}
.case-study > .story { max-width: 68rem; gap: clamp(2.5rem, 6vw, 5.25rem); }
.case-study > .case-coverage { gap: .5rem; }
.case-study :is(.story h2, .retail-placements > h2) {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.04em;
}
.case-study-full-width > :is(.case-study-headline, .story, .case-gallery) {
  max-width: none;
  margin-inline: 0;
}
.case-study-full-width .story > section > p { max-inline-size: 95ch; }
.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  border-block: 1px solid var(--line);
  margin: clamp(1.75rem, 5vw, 3rem) 0;
  padding: clamp(1rem, 2vw, 1.7rem) 0;
}
.case-study-metrics > div { display: flex; flex-direction: column; gap: .2rem; }
.case-study-metrics dd { margin: 0; }
.case-study-metrics dd:first-of-type {
  order: -1;
  font-size: clamp(1.9rem, 3.3vw, 3.1rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.055em;
}
.case-study-metrics .metric-note { color: var(--muted); font: .85rem/1.4 "Helvetica Neue", Arial, sans-serif; }
.case-study-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(.75rem, 2vw, 1.5rem);
  margin-top: 1.3rem;
}
.case-study-media .case-figure { width: 100%; }
.case-study-media .case-figure > img { width: 100%; max-height: none; }
.case-study-artwork {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  width: min(100%, max(70%, 28rem));
  margin: 1.3rem auto 0;
}
.case-study-artwork img { width: 100%; height: auto; }
#case-where-am-i .design-pattern:has(img[src^="assets/otmpc-find-your-great-"]) {
  grid-template-rows: auto;
}
#case-where-am-i .design-pattern:has(img[src^="assets/otmpc-find-your-great-"]) figcaption {
  display: none;
}
#case-canadian-canoe-culture .design-pattern-compact img { aspect-ratio: 3 / 4; }
#case-canadian-canoe-culture .design-pattern img[src^="assets/otmpc-canoe-guide-"] { aspect-ratio: 11 / 8.5; }
#case-canadian-canoe-culture .design-pattern img[src^="assets/otmpc-canoe-culture-social"],
#case-canadian-canoe-culture .design-pattern img[src^="assets/otmpc-canoe-culture-display"] { aspect-ratio: 2 / 1; }
#case-canadian-canoe-culture .design-pattern img[src="assets/otmpc-canoe-culture-badge-jpg-web.webp"] {
  background: #fff;
  padding: 15%;
}
#case-canadian-canoe-culture .case-lead-image img { aspect-ratio: 2500 / 1492; }
#case-canadian-canoe-culture .case-video { aspect-ratio: 64 / 27; }
#case-canadian-canoe-culture .case-lead-image figcaption {
  position: static;
  width: auto;
  height: auto;
  margin: .5rem 0 0;
  clip-path: none;
  white-space: normal;
  color: var(--muted);
  font-size: .9rem;
}
#case-red-bull-energizers .case-study-media .case-figure:not(.design-pattern) > img { width: auto; }
#case-red-bull-energizers .case-study-media .case-figure:not(.design-pattern) figcaption {
  position: static;
  width: auto;
  height: auto;
  margin: .5rem 0 0;
  clip-path: none;
  white-space: normal;
  color: var(--muted);
  font-size: .85rem;
}
@media (min-width: 681px) {
  #case-red-bull-energizers .story > section:has(> .case-study-media > .case-figure:not(.design-pattern)) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 13rem;
    grid-template-rows: auto 1fr;
    column-gap: clamp(1rem, 4vw, 3rem);
    align-items: start;
  }
  #case-red-bull-energizers .case-study-media:has(> .case-figure:not(.design-pattern)) {
    grid-area: 1 / 2 / 3;
    margin-top: 0;
  }
}
.case-study-media > :is(.case-gallery-wide, :only-child) { grid-column: 1 / -1; }
.case-study-media .desktop-figure { max-width: 56rem; }
.design-walkthrough { margin-top: 1.35rem; }
.design-walkthrough-devices {
  padding: clamp(.85rem, 2.5vw, 1.7rem) clamp(.5rem, 2.5vw, 1.7rem) .5rem;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #1b1a19;
}
.design-walkthrough-devices.has-mobile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(8rem, 22%, 13rem);
  align-items: center;
  gap: clamp(.6rem, 2vw, 1.5rem);
}
.design-walkthrough-phone {
  width: 100%;
  margin: 0 auto 1rem;
  border: 1px solid #97999a;
  border-radius: 1.25rem;
  padding: .35rem;
  background: linear-gradient(135deg, #969898, #4d4f52 85%);
}
.design-walkthrough .microsite-screen { background: #f3f3f3; }
.design-walkthrough .microsite-screen img { width: 100%; max-height: none; }
.design-walkthrough-phone .microsite-screen { aspect-ratio: 375 / 730; border-radius: .9rem; }
.design-walkthrough-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: .85rem;
}
.design-walkthrough-controls button {
  border: 1px solid var(--line);
  border-radius: .3rem;
  padding: .65rem .5rem;
  min-height: 44px;
  background: #222;
  color: var(--muted);
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.design-walkthrough-controls button:is(:hover, [aria-pressed=true]) {
  color: var(--paper);
  border-color: #d78c55;
  background: #35271e;
}
@media (min-width: 681px) {
  .design-walkthrough-controls:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .design-walkthrough-controls:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .design-walkthrough-controls:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.design-walkthrough-details {
  margin-top: .7rem;
  font-size: .9rem;
}
.design-pattern {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: .55rem;
  overflow: hidden;
  background: #22201e;
}
.case-study-media:has(> .design-pattern) { grid-auto-rows: 1fr; }
#case-red-bull-energizers .case-study-media:has(> .design-pattern) { grid-auto-rows: auto; }
#case-red-bull-energizers .design-pattern.case-gallery-wide img { aspect-ratio: 16 / 9; }
.design-pattern img {
  width: 100%;
  max-height: none;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #efecea;
}
.case-study-media:has(> .design-pattern-compact) {
  grid-template-columns: repeat(2, minmax(0, 22rem));
  justify-content: center;
}
.design-pattern:is(.design-pattern-compact, .design-pattern-sketch) img { aspect-ratio: 2 / 3; }
.case-study-media:has(> .design-pattern-sketch) {
  grid-template-columns: repeat(2, minmax(0, 22rem));
  justify-content: center;
}
@media (min-width: 920px) {
  .case-study-media:has(> .design-pattern-compact:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 22rem));
  }
}
.design-pattern figcaption {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip-path: none;
  white-space: normal;
  padding: .85rem 1rem 1rem;
}
.design-pattern h3 { margin-bottom: .3rem; color: var(--paper); font-family: erbaum, "Helvetica Neue", sans-serif; }
@media (max-width: 680px) {
  .case-study-media { grid-template-columns: minmax(0, 1fr); }
  .case-study-media:has(> .design-pattern-compact) { grid-template-columns: minmax(0, 22rem); }
  .design-walkthrough-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-walkthrough-devices.has-mobile { grid-template-columns: minmax(0, 1fr); }
  .design-walkthrough-phone { order: -1; width: min(52%, 12rem); }
  .case-study-metrics { grid-template-columns: minmax(0, 1fr); }
  .case-study-metrics > div {
    display: grid;
    grid-template-columns: minmax(5.7rem, max-content) minmax(0, 1fr);
    column-gap: .75rem;
    align-items: baseline;
  }
  .case-study-metrics dd:first-of-type { grid-area: 1 / 1 / span 2; }
  .case-study-metrics dt { grid-area: 1 / 2; min-width: 0; overflow-wrap: anywhere; }
  .case-study-metrics .metric-note { grid-area: 2 / 2; }
}
.microsite-preview { max-width: 58rem; margin: 3.25rem auto; }
.microsite-devices.has-phone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(8.5rem, 23%, 12.75rem);
  align-items: end;
  gap: clamp(.75rem, 2vw, 1.5rem);
}
.microsite-dialog button {
  border: 1px solid var(--line);
  border-radius: .35rem;
  padding: .45rem .65rem;
  background: #202020;
  color: var(--paper);
  font: inherit;
}
.microsite-laptop {
  position: relative;
  margin: 0 3% 1.5rem;
  padding: clamp(.55rem, 1.5vw, 1rem);
  background: linear-gradient(135deg, #a6a9ac, #5d6064 88%);
  border: 1px solid #a7aaad;
  border-radius: 1rem 1rem .5rem .5rem;
}
.microsite-laptop::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: -3.5%;
  width: 107%;
  height: clamp(.5rem, 1.5vw, .85rem);
  background: linear-gradient(#a9aaab, #626569 75%, #414346);
  border-radius: .1rem .1rem 55% 55% / .1rem .1rem 95% 95%;
}
.microsite-screen {
  position: relative;
  overflow: hidden auto;
  overflow-anchor: none;
  scrollbar-width: thin;
  scrollbar-color: #878787 #262626;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border-radius: .3rem;
}
.case-gallery .desktop-figure {
  display: block;
  column-span: all;
  max-width: 45rem;
  margin-inline: auto;
}
.desktop-figure .microsite-screen { background: #fff; }
.desktop-figure .microsite-screen img { width: 80%; max-height: none; margin-inline: auto; }
.microsite-hero {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  color: #fff;
  background: #132839;
  min-height: 100%;
  aspect-ratio: 16 / 9;
  font-family: Montserrat, "Helvetica Neue", Arial, sans-serif;
}
.microsite-hero video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.microsite-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#081c39a3, #071a3345 42%, #07142565);
}
.microsite-navigation {
  position: absolute;
  inset: 7% 7.25% auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  text-transform: uppercase;
  font-size: clamp(.4rem, 1.05cqi, .7rem);
}
.microsite-navigation img { width: 9.5cqi; }
.microsite-navigation details { justify-self: start; }
.microsite-navigation summary {
  width: max-content;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.microsite-navigation summary::after { content: " +"; }
.microsite-navigation details[open] summary::after { content: " −"; }
.microsite-account { display: flex; align-items: center; gap: 1.2cqi; justify-self: end; }
.microsite-hero button {
  padding-block: .28em;
  padding-inline: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: .07em;
  cursor: pointer;
}
.microsite-navigation details button { display: block; margin-top: .7cqi; font-size: .91em; }
.microsite-account button + button { padding-inline-start: 1.2cqi; border-inline-start: 1px solid #fff8; }
.microsite-hero button:hover,
.microsite-navigation summary:hover { text-decoration: underline; }
.microsite-campaign {
  position: absolute;
  inset: 38% 0 auto;
  display: grid;
  justify-items: center;
  line-height: 1;
}
.microsite-campaign span { font: italic clamp(.5rem, 1.6cqi, 1rem) Georgia, serif; }
.microsite-campaign strong {
  font-size: 8.4cqi;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.microsite-campaign button {
  margin-top: .6cqi;
  font-size: clamp(.36rem, .87cqi, .64rem);
}
.microsite-campaign button:first-of-type {
  margin-top: 2.2cqi;
  padding: 1.05cqi 3cqi;
  border: 1px solid #fff9;
  font-size: clamp(.43rem, 1.2cqi, .8rem);
}
.microsite-location {
  position: absolute;
  right: 7.25%;
  bottom: 2.75%;
  font-size: clamp(.34rem, .7cqi, .54rem);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.microsite-page { overflow: hidden; }
.microsite-page img {
  width: 100%;
  height: auto;
  margin-top: -56.302%; /* Crop the original XD image at the end of its 1081px hero. */
}
.microsite-dialog {
  max-width: min(54rem, 92vw);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: #252525;
  color: var(--paper);
}
.microsite-dialog::backdrop { background: #000b; }
.microsite-dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .75rem 1rem;
  gap: 1rem;
}
.microsite-dialog img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
}
.microsite-phone { width: 100%; margin: 0 auto .75rem; }
.microsite-phone-screen, .reel-screen {
  overflow: clip;
  border: clamp(4px, .7vw, 7px) solid #555659;
  border-radius: clamp(.8rem, 2vw, 1.4rem);
}
.microsite-phone-screen {
  aspect-ratio: 375 / 716;
  touch-action: pan-y;
  background: #09072d;
}
.reel-screen {
  position: relative;
  width: min(100%, 17rem);
  margin-inline: auto;
  aspect-ratio: 9 / 16;
  background: var(--ink);
}
.reel-screen video { width: 100%; height: 100%; object-fit: cover; }
.reel-title {
  position: absolute;
  inset: 0 0 auto;
  padding: .55rem .7rem .8rem;
  background: linear-gradient(#0008, transparent);
  color: #fff;
  font: 650 .8rem/1.25 system-ui, sans-serif;
  pointer-events: none;
}
.microsite-phone .microsite-hero { height: 100%; aspect-ratio: auto; }
.microsite-phone .microsite-hero video { object-position: 65% center; }
.microsite-phone .microsite-navigation { font-size: clamp(.32rem, 3.25cqi, .48rem); }
.microsite-phone .microsite-navigation img { width: 19cqi; background: transparent; }
.microsite-phone .microsite-account { flex-direction: column; gap: .3em; }
.microsite-phone .microsite-account button + button { padding-inline: 0; border: 0; }
.microsite-phone .microsite-campaign span { font-size: 5cqi; }
.microsite-phone .microsite-campaign strong { font-size: 15cqi; }
.microsite-phone .microsite-campaign button:first-of-type { margin-top: 5cqi; padding: 2.5cqi 6cqi; }
.microsite-phone .microsite-location { font-size: 3cqi; }
.microsite-phone-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #09072d;
}
.microsite-phone-slide > img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 590px) {
  .microsite-devices.has-phone { grid-template-columns: minmax(0, 1fr); }
  .microsite-phone { max-width: 12.75rem; }
}
.case-coverage { gap: .5rem; }
.case-coverage ul {
  margin: 0;
  padding-inline-start: 1.25rem;
  font-family: "Erbaum Light Local", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
}
.case-coverage li + li { margin-top: .35rem; }
.project-credits {
  max-width: 58rem;
  margin: 3rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font: 400 .75rem/1.5 "Erbaum Light Local", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.project-credits dl {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  margin: 0;
}
.project-credits dl > div { display: flex; flex-wrap: wrap; column-gap: .35rem; }
.project-credits dt { color: var(--paper); }
.project-credits dt::after { content: ":"; }
.project-credits dd { margin: 0; overflow-wrap: anywhere; }
.story a { text-decoration: underline; text-underline-offset: .24em; }
.skip { position: fixed; z-index: 11; top: .5rem; left: .5rem; background: var(--ink); padding: .75rem; transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
#intro {
  position: fixed;
  z-index: 10;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--ink) url("assets/film-grain.png") repeat;
}
.intro-line {
  display: flex;
  width: max-content;
  white-space: nowrap;
  font: clamp(.85rem, 3.6vw, 1.4rem) ui-monospace, monospace;
}
.intro-ai, .intro-phrase {
  flex: none;
  overflow: hidden;
  white-space: nowrap;
}
.intro-ai { width: 2ch; animation: type-in .18s steps(2, end) both; }
.intro-phrase { width: 20ch; animation: type-in 1.3s 1.2s steps(20, end) both; }
@keyframes type-in { from { width: 0; } }

.mark img { width: 72px; height: 36px; object-fit: contain; }
.home .masthead {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  padding-inline: clamp(1rem, 4vw, 4rem);
  min-height: 72px;
  border: 0;
  z-index: 5;
  background: linear-gradient(rgb(var(--ink-rgb) / 80%), transparent);
}
.home main { width: 100%; }
.home #work { position: relative; display: grid; }
.home .grid { grid-area: 1 / 1; grid-template-columns: minmax(0, 1fr); }
.home #work > h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.home .card {
  position: relative;
  display: block;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}
.home .card > .cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: -2;
  aspect-ratio: auto;
  container-type: size;
}
.home .card img, .home .card video { width: 100%; height: 100%; object-fit: cover; }
.home #work-mcdonalds-retail .cover img[src="assets/mcd-retail-strategy-cover.webp"] {
  position: absolute;
  inset: auto 0 0;
  height: 108%;
  object-position: center bottom;
}
.home .card video {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease-out;
}
.home .card video.is-playing { opacity: 1; }
.home #work-small-business-rocks [src^="assets/sbr-homepage-reframed"],
.home #work-small-business-rocks img[src^="assets/home-frame-small-business-rocks"] {
  --video-width: max(100cqw, min(240cqh, 560cqw), 177.778cqh);
  position: absolute;
  inset: min(0px, calc(86cqh - 33.1875cqw)) auto auto min(61cqw, calc(var(--video-width) / 2));
  width: var(--video-width);
  height: auto;
  aspect-ratio: 16 / 9;
  max-width: none;
  transform: translateX(-50%);
}
@media (max-width: 900px) {
  .home #work-small-business-rocks [src^="assets/sbr-homepage-reframed"],
  .home #work-small-business-rocks img[src^="assets/home-frame-small-business-rocks"] {
    left: 50%;
  }
}
.home .youtube-background {
  position: absolute;
  inset: 50% auto auto 50%;
  width: max(100cqw, 177.778cqh);
  height: max(100cqh, 56.25cqw);
  transform: translate(-50%, -50%);
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.home .youtube-background.is-playing { opacity: 1; }
.home .card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(var(--ink-rgb) / 56%) var(--film-grain) repeat;
  pointer-events: none;
}
.home #work-awards::after { content: none; }
.home #work-awards .cover img {
  --preview-zoom: 1.07;
  position: absolute;
  inset: 0;
  object-position: 73% center;
  transform-origin: 75% center;
}
.home #work-sault-tourism .cover img {
  --preview-zoom: 1.055;
  transform-origin: 70% center;
}
.home #work-canadian-canoe-culture::after { background-color: rgb(var(--ink-rgb) / 36%); }
.home :is(#work-photography, #work-awards, #work-sault-tourism):not([hidden]) .cover img {
  animation: cover-zoom 8s ease-in-out infinite alternate;
}
@keyframes cover-zoom { to { transform: scale(var(--preview-zoom)); } }
.home #work-photography .cover img {
  --photo-offset: clamp(14px, 1.6vw, 48px);
  --preview-zoom: 1.045;
  position: absolute;
  inset: 0 auto auto calc(-1 * var(--photo-offset));
  width: max(calc(100% + var(--photo-offset)), 2100px, min(200vw, 2800px));
  max-width: none;
  object-position: left calc(44% + 6cqh);
  transform-origin: 18% 44%;
}
.home #work-photography::after {
  background-color: rgb(var(--ink-rgb) / 26%);
}
@media (min-width: 901px) and (min-aspect-ratio: 7/2) {
  .home #work-photography .cover img {
    width: 100%;
    object-fit: contain;
    object-position: 34% 50%;
    transform-origin: 50% 44%;
    left: 0;
  }
}
.project-sidebar {
  position: relative;
  grid-area: 1 / 1;
  align-self: center;
  justify-self: start;
  z-index: 2;
  margin-block: clamp(4.5rem, 8svh, 5.5rem) 2rem;
  margin-inline-start: clamp(1rem, 4vw, 4rem);
  width: min(76%, 44rem);
}
#project-list { display: grid; }
.project-option {
  display: grid;
  align-content: center;
  min-height: 24px;
  padding: .18em .2rem;
  color: rgb(255 255 255 / 62%);
  font-family: erbaum, "Erbaum Local", "Arial Black", "Helvetica Neue", sans-serif;
  font-size: clamp(.875rem, min(1.85vw, 2.4svh), 1.75rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .13em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  text-shadow: none;
  box-shadow: none;
  filter: none;
}
.project-option[aria-current=true], .project-option:hover, .project-option:focus-visible {
  color: #fff;
}
.project-option:focus-visible { outline-offset: -2px; }
.home .footer { margin-top: 0; }
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .home #work:has(#work-photography:not([hidden])) .project-sidebar { grid-area: 1 / 1; }
  .home #work:has(#work-photography:not([hidden])) .grid { grid-area: 2 / 1; }
  .home #work-photography {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .home #work-photography .cover img {
    width: 100%;
    object-position: 30% 50%;
    transform-origin: 42% 45%;
    left: 0;
  }
}
@media (max-width: 600px) {
  .project-sidebar { width: 89%; }
}
@media (max-width: 370px) {
  .project-option { font-size: clamp(.75rem, 3.75vw, .875rem); }
}
#projects > .load-error { padding: 7rem 2rem 3rem; }
@media (max-width: 650px) {
  :root { --film-grain: url("assets/film-grain.png"); }
  .masthead { min-height: 72px; }
  .grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  :root { --film-grain: url("assets/film-grain.png"); }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
