:root {
  color-scheme: light;
  --paper: #f3f3f1;
  --charcoal: #171717;
  --petrol: #42625f;
  --copper: #ecc29f;
  --surface: var(--paper);
  --text: var(--charcoal);
  --accent: var(--petrol);
  --gallery-gap: clamp(.45rem, 1.15vw, .9rem);
  --media-overlay: color-mix(in srgb, var(--charcoal) 88%, transparent);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--surface);
  color: var(--text);
}

.theme-dark {
  color-scheme: dark;
  --surface: var(--charcoal);
  --text: var(--paper);
  --accent: var(--copper);
  background: var(--surface);
  color: var(--text);
}

:root, .theme-dark {
  --muted: color-mix(in srgb, var(--text) 72%, var(--surface));
  --rule: color-mix(in srgb, var(--text) 18%, var(--surface));
}

.theme-dark + .theme-dark { border-block-start: 1px solid var(--rule); }

*, *::before, *::after { box-sizing: border-box; }
body, p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
body { line-height: 1.5; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .24em; }
a:hover { text-decoration-thickness: 2px; }
:is(a, button, iframe, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.wrap { width: min(calc(100% - 3.5rem), 1360px); margin-inline: auto; }
.skip { position: absolute; z-index: 1; left: 1rem; top: 1rem; padding: .5rem .85rem; background: var(--surface); transform: translateY(-180%); }
.skip:focus { transform: none; }

.masthead { display: flex; justify-content: center; align-items: center; gap: 0 clamp(1.3rem, 3vw, 2.75rem); padding-block: .3rem; text-align: center; }
.masthead a, .masthead summary, .site-footer a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.masthead a { text-decoration: none; }
.masthead a:hover { color: var(--accent); text-decoration: underline; }
.masthead nav { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem clamp(1.05rem, 3vw, 2.3rem); }
.signature { font-weight: 700; }
.work-index summary { gap: .4rem; cursor: pointer; list-style: none; }
.work-index summary::-webkit-details-marker { display: none; }
.work-index summary::after {
  content: "";
  width: .38rem;
  height: .38rem;
  border-inline-end: 1px solid currentColor;
  border-block-end: 1px solid currentColor;
  transform: translateY(-.1rem) rotate(45deg);
}
.work-index[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.work-index-list {
  position: absolute;
  z-index: 3;
  inset-block-start: 100%;
  inset-inline-start: 0;
  width: min(100%, 14rem);
  padding: .3rem;
  list-style: none;
  border: 1px solid var(--rule);
  border-radius: .35rem;
  background: var(--surface);
  box-shadow: 0 .4rem 1rem #0002;
  text-align: start;
}
.work-index-list a { display: flex; padding-inline: .65rem; font-size: .9rem; }
.work-index-list a:hover { background: color-mix(in srgb, var(--text) 6%, var(--surface)); }

.intro { container-type: inline-size; padding-top: .5rem; text-align: center; }
.hero-photo {
  height: clamp(160px, 29vw, 380px);
  overflow: hidden;
  background: var(--rule);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}
h1 {
  margin-top: clamp(.6rem, 1.3vw, 1.15rem);
  font-size: clamp(2.6rem, 5.85vw, 5.65rem);
  font-size: 8.4cqw;
  font-weight: 750;
  letter-spacing: -.07em;
  line-height: .96;
  text-transform: uppercase;
}
.intro-line { display: flex; flex-wrap: wrap; justify-content: center; gap: .16rem clamp(.8rem, 2.5vw, 2.25rem); margin-top: clamp(.75rem, 1.6vw, 1.4rem); font-size: clamp(1.05rem, 2.1vw, 1.75rem); line-height: 1.2; letter-spacing: -.036em; }
.motion { text-align: center; padding-block: clamp(1rem, 2vw, 1.8rem) clamp(1.65rem, 3vw, 2.7rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: start; gap: clamp(.65rem, 2vw, 1.4rem); margin-block-end: clamp(.7rem, 1.45vw, 1.05rem); }
.section-heading > :first-child { justify-self: start; text-align: start; min-width: 0; }
.section-heading h2 { font-size: clamp(1.52rem, 3.35vw, 3rem); line-height: 1.06; letter-spacing: -.055em; }
.section-meta { display: grid; gap: .06rem; padding-block-start: .2rem; text-align: end; color: var(--muted); font-size: .79rem; }
.section-date { white-space: nowrap; font-variant-numeric: tabular-nums; }
.section-date span { margin-inline-start: .15em; color: var(--accent); }
.theme-dark .project-type span { color: var(--copper); }
.motion-gallery { position: relative; }
.motion-track {
  --motion-count: 3;
  display: flex;
  gap: var(--gallery-gap);
  overflow: auto hidden;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  overscroll-behavior-inline: contain;
  list-style: none;
  padding: 0;
  user-select: none;
}
.motion-track:is(.is-dragging, .is-gliding, .is-auto-scrolling) { scroll-snap-type: none; }
.motion-track.is-dragging { cursor: grabbing; }
.motion-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.motion-clip { flex: 0 0 calc((100% - var(--gallery-gap) * (var(--motion-count) - 1)) / var(--motion-count)); min-width: 0; scroll-snap-align: start; scroll-snap-stop: normal; }
.motion-clip video, .motion-fallback { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: var(--charcoal); }
.motion-clip video { pointer-events: none; }
.motion-clip p { color: var(--muted); font-size: .9rem; margin-top: .4rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.motion-track-captionless .motion-clip { position: relative; }
.motion-track-captionless .motion-clip p { position: absolute; inset: 0 auto auto 0; width: 1px; min-block-size: 0; height: 1px; margin: 0; clip-path: inset(50%); }
.motion-fallback { max-width: 19rem; margin-inline: auto; }
.graphics { padding-block: clamp(1.45rem, 3.2vw, 2.6rem); }
.graphics-heading { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; }
.graphics-tools { display: flex; flex-wrap: wrap; align-items: center; gap: .33rem; list-style: none; padding: 0; }
.graphics-tools img { display: block; width: clamp(1.06rem, 2vw, 1.65rem); height: clamp(1.06rem, 2vw, 1.65rem); object-fit: contain; }
.sr-only, .motion-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.expertise { background: var(--surface); padding-block: clamp(1.5rem, 3.2vw, 2.8rem); }
.about + .expertise { border-block-start: 0; padding-block-start: 0; }
.about + .expertise > .wrap { border-block-start: 1px solid var(--rule); padding-block-start: clamp(1.5rem, 3.2vw, 2.8rem); }
.expertise .section-heading { margin-block-end: clamp(1rem, 2vw, 1.55rem); }
.browse-rail.expertise-rail { --rail-count: 4; text-align: center; }
.expertise-rail li { display: grid; justify-items: center; align-content: start; gap: .55rem; padding: .2rem .15rem; color: var(--muted); font-size: clamp(.72rem, 1vw, .88rem); line-height: 1.2; }
.expertise-rail img { display: block; width: clamp(2rem, 4.5vw, 3.6rem); height: clamp(2rem, 4.5vw, 3.6rem); object-fit: contain; }
.expertise-rail .expertise-wordmark { width: min(100%, 5.5rem); }
.expertise-rail .tool-invert { filter: invert(1); }
.expertise-rail .tool-on-paper { padding: .3rem; border-radius: .35rem; background: var(--paper); }
.about { background: var(--surface); padding-block: clamp(1.45rem, 3.2vw, 2.6rem) clamp(1.9rem, 4.4vw, 3.65rem); }
.about-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, .78fr); align-items: center; gap: clamp(1.25rem, 3.8vw, 4rem); }
.about-copy { grid-area: 1 / 2; max-width: 47rem; }
.about-intro { font-size: clamp(1.75rem, 3.55vw, 3rem); line-height: 1.06; letter-spacing: -.055em; font-weight: 700; text-wrap: balance; }
.about-proof { margin-block-start: .85rem; max-width: 37ch; font-size: clamp(1.08rem, 2vw, 1.52rem); line-height: 1.35; letter-spacing: -.023em; }
.about-proof strong { color: var(--accent); }
.about-background { margin-block-start: clamp(1rem, 2.4vw, 1.75rem); max-width: 55ch; color: var(--muted); }
.about-background p + p { margin-block-start: .7rem; }
.about-portrait { grid-area: 1 / 1; display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center 42%; }
.about-award {
  grid-area: 1 / 3;
  justify-self: end;
  width: min(94%, 19rem);
  perspective: 850px;
  container-type: inline-size;
}
.award-plaque {
  --award-depth: clamp(.5rem, 5cqi, .95rem);
  position: relative;
  aspect-ratio: 4 / 5;
  transform: rotateX(var(--award-pitch, 4deg)) rotateY(var(--award-yaw, -14deg));
  transform-style: preserve-3d;
}
.award-plaque::before, .award-face {
  position: absolute;
  inset: 0;
  border-radius: 2.2% / 1.8%;
}
.award-plaque::before {
  content: "";
  transform: translateZ(calc(-1 * var(--award-depth)));
  background: linear-gradient(130deg, #929597, #303234 68%, #65696c);
  box-shadow: .45rem .8rem 1.8rem #0009;
}
.award-edge {
  position: absolute;
  background: linear-gradient(120deg, #989ea2, #5b6064 55%, #80868a);
}
.award-edge-left, .award-edge-right { inset-block: 1.75%; width: var(--award-depth); }
.award-edge-left { left: 0; transform: rotateY(90deg); transform-origin: left center; }
.award-edge-right { right: 0; transform: rotateY(-90deg); transform-origin: right center; }
.award-edge-top, .award-edge-bottom { inset-inline: 2%; height: var(--award-depth); }
.award-edge-top { top: 0; transform: rotateX(-90deg); transform-origin: center top; }
.award-edge-bottom { bottom: 0; transform: rotateX(90deg); transform-origin: center bottom; }
.award-face {
  isolation: isolate;
  overflow: hidden;
  color: #333638;
  text-align: center;
  background:
    repeating-linear-gradient(0deg, #0b0d0f0b 0 1px, #ffffff12 1px 2px, transparent 2px 3px),
    linear-gradient(135deg, #e1e2e1 0%, #a1a5a7 49%, #cbd0d1 77%, #8d9295 100%);
  box-shadow: inset 0 0 0 1px #e4e6e9a6, inset 0 -2px 2px #282c3173;
}
.award-face::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(ellipse at center, #fff8, transparent 71%);
  transform: translate(var(--award-light-x, -18%), var(--award-light-y, -30%));
}
.award-emblem {
  position: absolute;
  inset: 15% 23% auto;
  height: 32%;
  border-radius: 17% / 22%;
  background: linear-gradient(156deg, #55585c 0%, #adb1b4 35%, #f6f7f7 65%, #787e81 95%);
  box-shadow: inset 0 2px 5px #24272cb8, inset 0 -1px 2px #fff, 0 1px 2px #fff8;
}
.award-emblem::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 14% / 19%;
  background: linear-gradient(145deg, #dce0e2 2%, #42494f 43%, #181d21 55%, #9da2a6 82%, #e1e4e7 100%);
}
.award-emblem::after {
  content: "";
  position: absolute;
  inset: 29% 35% 29% 40%;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: linear-gradient(140deg, #f8f9fa, #dadfe2 58%, #777d82);
}
.award-engraving {
  position: absolute;
  inset: 58% 5% auto;
  display: grid;
  gap: .35em;
  font-size: clamp(.42rem, 3.6cqi, .72rem);
  line-height: 1.2;
  text-shadow: 0 1px #fff7;
}
.award-engraving strong { font-size: 1.75em; font-weight: 700; }
.award-wordmark {
  position: absolute;
  inset: auto 0 7.5%;
  margin-inline: auto;
  width: 41%;
  height: auto;
  opacity: .84;
}
.site-footer { border-block-start: 1px solid var(--rule); padding-block: clamp(1.5rem, 3.2vw, 2.65rem); }
.footer-layout { display: grid; grid-template-columns: minmax(0, 1fr) max-content; align-items: end; gap: .55rem 1rem; }
.site-footer h2 { font-size: clamp(1.6rem, 3.3vw, 2.5rem); line-height: 1.08; letter-spacing: -.045em; }
.footer-email { color: var(--accent); font-weight: 600; overflow-wrap: anywhere; }
.site-footer .footer-top { gap: .45rem; color: var(--muted); font-size: .88rem; }
.footer-top:hover { color: var(--text); }

.story { padding-block: clamp(1.45rem, 3.2vw, 2.6rem); }
.story-name { --story-title-size: clamp(1.52rem, 3.35vw, 3rem); }
.story-head { --story-tool-size: clamp(1.06rem, 2vw, 1.65rem); display: flex; align-items: baseline; gap: clamp(.52rem, 1.4vw, .95rem); }
.story-avatar { align-self: flex-start; flex: 0 0 auto; display: block; width: clamp(34px, 4.5vw, 54px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.story-head h2, .story-result strong { font-size: var(--story-title-size); line-height: 1; letter-spacing: -.055em; }
.story-intro { color: var(--muted); margin-block-start: .24rem; font-size: .85rem; }
.story-impact { display: flex; align-items: baseline; gap: clamp(.65rem, 1.35vw, 1.15rem); min-width: 0; }
.story-tools { align-self: flex-start; margin-block-start: calc((var(--story-title-size) - var(--story-tool-size)) / 2); }
.story-tools img { width: var(--story-tool-size); height: var(--story-tool-size); }
.story-tools .tool-on-paper { color-scheme: light; padding: .12rem; border-radius: .2rem; background: var(--paper); }
.story-result { display: grid; flex: 0 0 auto; text-align: center; padding-inline-start: clamp(.55rem, 1.65vw, 1.05rem); border-inline-start: 1px solid var(--rule); }
.story-result strong { color: var(--accent); font-variant-numeric: tabular-nums; }
.story-result span { margin-top: .13rem; font-size: .75rem; color: var(--muted); }
.story-name h3 { margin-top: .34rem; color: var(--text); font-size: clamp(.92rem, 1.6vw, 1.19rem); font-weight: 600; letter-spacing: -.02em; }
.audience { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(1.15rem, 2.5vw, 1.75rem) auto 0; padding: .58rem 0; list-style: none; border-block: 1px solid var(--rule); }
.audience li + li { border-inline-start: 1px solid var(--rule); }
.audience a { display: grid; justify-items: center; padding: .15rem .2rem .25rem; text-decoration: none; }
.audience a:hover strong { color: var(--accent); }
.audience img { display: block; width: 1.35rem; height: 1.35rem; object-fit: contain; }
.audience-youtube { transform: scale(1.42); }
.audience-tiktok { transform: scale(1.12); }
.audience strong { font-size: clamp(1.2rem, 3vw, 2.1rem); letter-spacing: -.045em; line-height: 1.12; margin-top: .3rem; }
.audience-unit { font-size: .75rem; color: var(--muted); }
.metric-symbols { position: absolute; }
.browse-rail { --rail-count: 3; display: flex; gap: var(--gallery-gap); margin-inline: auto; list-style: none; padding: 0; overflow: auto hidden; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; scrollbar-width: none; }
:is(.browse-rail, .videos, .motion-track)::-webkit-scrollbar { display: none; }
:is(.browse-rail, .videos):is(.is-dragging, .is-gliding, .is-auto-scrolling) { scroll-snap-type: none; }
:is(.browse-rail, .videos).is-dragging { user-select: none; }
:is(.browse-rail, .videos).is-dragging, :is(.browse-rail, .videos).is-dragging * { cursor: grabbing; }
:is(.browse-rail, .videos):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.browse-rail > li { flex: 0 0 calc((100% - var(--gallery-gap) * (var(--rail-count) - 1)) / var(--rail-count)); min-width: 0; scroll-snap-align: start; }
.poster-cover { display: block; aspect-ratio: 5 / 8; cursor: zoom-in; }
.poster-cover img { display: block; width: 100%; height: 100%; object-fit: contain; }
.poster-fallback { display: block; max-width: min(100%, 20rem); height: auto; margin-inline: auto; }
.videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gallery-gap); margin-inline: auto; list-style: none; padding: 0; }
.video-caption { position: relative; display: grid; justify-items: center; gap: .35rem; padding-top: .55rem; }
.video-caption:has(.video-close) h4 { padding-inline: 1.65rem; }
.gallery-dialog { max-width: calc(100vw - 1.5rem); max-height: calc(100dvh - 1.5rem); padding: 0 .5rem .5rem; border: 1px solid var(--rule); border-radius: .45rem; color: var(--text); background: var(--surface); overscroll-behavior: contain; }
.gallery-dialog::backdrop { background: var(--media-overlay); }
.gallery-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .25rem; padding-inline-start: .45rem; text-align: left; }
.gallery-dialog-head h3 { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poster-dialog { width: fit-content; }
.poster-frame img { display: block; max-width: min(calc(100vw - 2.75rem), 48rem); max-height: calc(100dvh - 5rem); margin-inline: auto; }
.gallery-close { flex: 0 0 auto; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; padding: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.video-close { position: absolute; inset-block-start: 0; inset-inline-end: 0; }
.video-inline-source { display: inline-flex; align-items: center; min-height: 2rem; color: var(--accent); font-size: .82rem; }
.gallery-close::before, .gallery-close::after { content: ''; grid-area: 1 / 1; width: .85rem; height: 1px; background: currentColor; transform: rotate(45deg); }
.gallery-close::after { transform: rotate(-45deg); }
.gallery-close:is(:hover, :focus-visible) { color: var(--text); background: var(--rule); }
.video-metrics { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem clamp(.65rem, 1.2vw, 1.05rem); padding: 0; list-style: none; color: var(--text); font-size: clamp(.88rem, 1.35vw, .96rem); line-height: 1.35; font-variant-numeric: tabular-nums; }
.video-metrics li { display: inline-flex; align-items: center; gap: .28rem; }
.video-metrics svg { width: 1.02em; height: 1.02em; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.metric-compact { display: none; }
.video-dialog { width: min(calc(100% - 1.5rem), 24rem); }
.video-dialog-player {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: max(12.5rem, calc(100dvh - 9rem));
  background: #080808;
}
.video-dialog-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-dialog-details { margin-block-start: .55rem; }
.video-dialog-details .video-metrics { font-size: .86rem; }
.video-dialog-source {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 2rem;
  padding-inline: .45rem;
  color: var(--accent);
  font-size: .79rem;
}
.player { position: relative; aspect-ratio: 9 / 16; background: var(--rule); }
.video-cover, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.poster-cover:focus-visible { outline-offset: -3px; }
.video-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 3rem; aspect-ratio: 1; border-radius: 50%; background: var(--media-overlay); border: 1px solid color-mix(in srgb, var(--paper) 65%, transparent); }
.play-icon::after { content: ""; width: 0; height: 0; border-top: .44rem solid transparent; border-bottom: .44rem solid transparent; border-left: .7rem solid var(--paper); margin-left: .18rem; }
.video-cover:is(:hover, :focus-visible) .play-icon { background: var(--charcoal); border-color: var(--paper); }
.video h4 { text-align: center; font-size: .96rem; font-weight: 600; line-height: 1.25; }

.faced-store {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: .35rem;
  min-height: 2rem;
  color: var(--accent);
  font-size: .86rem;
}
.project-identity {
  display: flex;
  align-items: center;
  gap: clamp(.55rem, 1.2vw, .85rem);
}
.project-identity .story-avatar { align-self: center; border: 1px solid var(--rule); }
.project-identity .game-logo { padding: .3rem; object-fit: contain; }
.project-note { margin-block-start: .28rem; color: var(--muted); font-size: .8rem; line-height: 1.3; }
.faced-description { margin-block-start: .55rem; color: var(--muted); font-size: .85rem; }
.faced-videos-title { margin-block-end: .65rem; font-size: clamp(.92rem, 1.6vw, 1.19rem); font-weight: 600; letter-spacing: -.02em; }
.faced-front .player { aspect-ratio: 3 / 4; }

.game { padding-block: clamp(1.45rem, 3.2vw, 2.6rem); background: var(--surface); }
.game-layout {
  display: grid;
  grid-template-areas: "info cards" "stats cards";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: clamp(.85rem, 2vw, 1.5rem) clamp(1rem, 4vw, 3.4rem);
}
.game-info { grid-area: info; }
.game-description { max-width: 32ch; color: var(--muted); font-size: clamp(1rem, 1.7vw, 1.28rem); }
.game-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .9rem; margin-block-start: .8rem; }
.game-actions a { display: inline-flex; align-items: center; gap: .48rem; min-height: 2.75rem; }
.game-play { padding-inline: 1rem; border-radius: .25rem; background: var(--accent); color: var(--surface); font-weight: 700; text-decoration: none; }
.game-play:hover { background: var(--text); }
.game-play span { font-size: .7em; }
.game-store { color: var(--accent); font-size: .86rem; font-weight: 600; }
.game-cards { display: grid; grid-area: cards; grid-template-columns: repeat(11, minmax(0, 1fr)); align-items: center; align-self: center; justify-self: end; width: min(100%, 33rem); padding: clamp(.6rem, 1.2vw, 1rem) clamp(.6rem, 2.2vw, 1.8rem) clamp(.9rem, 1.5vw, 1.25rem); margin: 0; list-style: none; isolation: isolate; }
.game-card { grid-row: 1; min-width: 0; padding: clamp(.2rem, .55vw, .43rem); border: 1px solid var(--copper); border-radius: clamp(.35rem, .8vw, .75rem); background: var(--charcoal); color: var(--paper); box-shadow: 0 .35rem 1rem color-mix(in srgb, var(--charcoal) 20%, transparent); }
.game-card-left { grid-column: 1 / span 5; transform: translateY(.5rem) rotate(-8deg); }
.game-card-centre { grid-column: 4 / span 5; z-index: 1; }
.game-card-right { grid-column: 7 / span 5; transform: translateY(.5rem) rotate(8deg); }
.game-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: .2rem; }
.game-card span { display: block; margin: .45rem .15rem .2rem; font-size: clamp(.61rem, 1.3vw, 1rem); font-weight: 700; line-height: 1.16; }
.game-card-right span { text-align: end; }
.game-stats { display: grid; grid-area: stats; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-block: 1px solid var(--rule); padding-block: .65rem; }
.game-stats > div { display: grid; justify-items: center; padding-inline: .18rem; text-align: center; }
.game-stats > div + div { border-inline-start: 1px solid var(--rule); }
.game-stats dt { color: var(--muted); font-size: clamp(.68rem, 1.4vw, .9rem); }
.game-stats dd { grid-row: 1; margin: 0; color: var(--accent); font-size: clamp(1.12rem, 2.5vw, 2.4rem); line-height: 1.15; letter-spacing: -.045em; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

@media (max-width: 860px) {
  .about-layout { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 4vw, 2rem); }
  .about-copy { grid-area: 1 / 1 / 2 / -1; }
  .about-portrait { grid-area: 2 / 1; width: min(100%, 18rem); justify-self: end; }
  .about-award { grid-area: 2 / 2; width: min(94%, 18rem); justify-self: center; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .masthead { flex-wrap: wrap; }
  .intro { padding-top: .4rem; }
  .game-layout { grid-template-areas: "info" "cards" "stats"; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: .8rem; }
  .game-cards { justify-self: center; width: min(100%, 30rem); }
  .game-stats { justify-self: center; width: min(100%, 30rem); padding-block: .55rem; }
  .game-stats > div { grid-template-rows: auto 1fr; align-items: start; gap: .16rem; }
  .game-stats dt { line-height: 1.25; text-wrap: balance; }
  h1 { font-size: clamp(2.1rem, 11vw, 4.65rem); font-size: 13.2cqw; }
  h1 span { display: block; }
}

@media (min-width: 1100px) {
  .motion-track { --motion-count: 4; }
}

@media (min-width: 1340px) {
  .motion-track { --motion-count: 5; }
}

@media (max-width: 540px) {
  .motion-clip p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; min-block-size: 2.5em; font-size: .73rem; white-space: normal; }
  .graphics-heading { flex-direction: column; align-items: flex-start; }
}

@media (hover: hover) and (pointer: fine) {
  .motion-track:not(.is-dragging) { cursor: grab; }
}

@media (max-width: 420px) {
  .audience-unit { font-size: .68rem; }
  .graphics-heading h2 { font-size: clamp(1.3rem, 5.75vw, 1.65rem); }
  .footer-layout { grid-template-columns: minmax(0, 1fr); }
  .site-footer .footer-top { justify-self: start; }
}

@media (min-width: 680px) {
  .browse-rail { --rail-count: 4; }
  .browse-rail.expertise-rail { --rail-count: 6; }
}

@media (min-width: 1000px) {
  .browse-rail { --rail-count: 5; }
  .browse-rail.expertise-rail { --rail-count: 8; }
}

@media (max-width: 760px) {
  .posters { --rail-count: 3; }
  .posters .poster-cover { aspect-ratio: 9 / 16; }

  .about-layout {
    grid-template-areas:
      "portrait intro"
      "portrait proof"
      "background background";
    grid-template-columns: clamp(5rem, 29vw, 10rem) minmax(0, 1fr);
    grid-template-rows: min-content auto auto;
    align-items: start;
    gap: .55rem clamp(.85rem, 4vw, 1.65rem);
  }
  .about-portrait { grid-area: portrait; width: 100%; aspect-ratio: 3 / 4; }
  .about-copy { display: contents; }
  .about-intro { grid-area: intro; font-size: clamp(1.04rem, 4.65vw, 1.55rem); text-wrap: initial; }
  .about-proof { grid-area: proof; margin-block-start: 0; font-size: clamp(.84rem, 3.5vw, 1.05rem); }
  .about-background {
    grid-area: background;
    margin-block-start: .15rem;
    font-size: clamp(.875rem, 3.5vw, .98rem);
    line-height: 1.5;
  }
  .about-background p + p { margin-block-start: .5rem; }
  .about-award { display: none; }

  #storygoat .section-heading {
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    grid-template-areas:
      "avatar title details"
      "intro intro intro"
      "impact impact impact"
      "screening screening screening";
    gap: .38rem .6rem;
  }
  .story-name, .story-head { display: contents; }
  .story-head { --story-tool-size: clamp(.9rem, 3.6vw, 1.12rem); }
  .story-head > .story-avatar { grid-area: avatar; align-self: center; }
  .story-head h2 { grid-area: title; align-self: center; }
  #storygoat .section-meta { grid-area: details; }
  .story-intro { grid-area: intro; margin-block-start: .12rem; }
  .story-name h3 { grid-area: screening; margin-block-start: .25rem; }
  .story-impact {
    grid-area: impact;
    display: grid;
    justify-items: start;
    gap: .36rem;
  }
  .story-result { display: flex; align-items: baseline; gap: .28rem; padding: 0; border: 0; }
  .story-result strong { font-size: clamp(1.5rem, 6vw, 1.85rem); }
  .story-result span { margin-top: 0; font-size: .72rem; }
  .story-tools { align-self: center; gap: .2rem; margin-block-start: 0; }

  .faced-front .section-heading {
    grid-template-areas:
      "identity date"
      "identity type"
      "description description"
      "store store";
    gap: .12rem .65rem;
  }
  .faced-front .section-heading > div { display: contents; }
  .faced-front .project-identity { grid-area: identity; align-self: center; }
  .faced-front .section-date { grid-area: date; }
  .faced-front .project-type { grid-area: type; }
  .faced-front :is(.section-date, .project-type) { text-align: end; }
  .faced-description { grid-area: description; margin-block-start: .38rem; }
  .faced-store {
    grid-area: store;
    justify-self: start;
    min-height: 2.75rem;
    font-weight: 600;
  }

  .videos .video { display: grid; grid-template-rows: auto 1fr; min-width: 0; container-type: inline-size; }
  .videos .player { aspect-ratio: 3 / 4; overflow: hidden; border-radius: .26rem; }
  .videos .video.is-playing { grid-area: 1 / 1 / auto / -1; width: min(100%, 23rem); justify-self: center; }
  .videos:has(.is-playing) .video:not(.is-playing) { grid-row: 2; }
  .videos .is-playing .player { aspect-ratio: 9 / 16; max-height: max(12.5rem, calc(100dvh - 8rem)); }
  .videos .video-cover:focus-visible { outline-offset: -3px; }
  .videos .play-icon { width: clamp(1.7rem, 7vw, 2.45rem); }
  .videos .play-icon::after {
    margin-inline-start: .1rem;
    border-block-width: .32rem;
    border-inline-start-width: .5rem;
  }
  .videos .video-caption {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: .28rem;
    padding-block-start: .4rem;
  }
  .videos .video-caption h4 {
    font-size: clamp(.65rem, 2.6vw, .88rem);
    line-height: 1.2;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }
  .videos .video + .video .video-caption::before {
    content: "";
    position: absolute;
    inset-block: .4rem 0;
    inset-inline-start: calc(var(--gallery-gap) / -2);
    border-inline-start: 1px solid var(--rule);
  }
  .videos .video.is-playing .video-caption::before { display: none; }
  .videos .video-metrics {
    flex-wrap: nowrap;
    gap: .14rem;
    font-size: clamp(.64rem, 9.3cqi, .84rem);
    line-height: 1.2;
    white-space: nowrap;
  }
  .videos .video-metrics li { gap: .06rem; }
  .videos .video-metrics svg { flex: none; width: .76em; height: .76em; }
  .videos .is-playing .video-metrics { font-size: .86rem; gap: .65rem; }
}

@container (max-width: 102px) {
  .videos .video-metrics { gap: .07rem; font-size: clamp(.52rem, 11.2cqi, .64rem); }
  .videos .video-metrics li { gap: .04rem; }
  .videos .video-metrics svg { width: .68em; height: .68em; }
  .videos .metric-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .videos .metric-compact { display: inline; }
  .videos .metric-compact::before { content: attr(data-value); }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .play-icon { transition: background-color .16s ease, border-color .16s ease; }
}
