/* V012 deck slides. Each slide is a 1920 x 1080 canvas that scales with its width: --u = 1/1920 of the slide. */
.slide { position: relative; width: 100%; max-width: 2200px; margin-inline: auto; aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; background: #fff; color: #000; font-family: var(--font); --u: calc(100cqw / 1920); }
.slide.dark, .slide.cover { background: #000; }
.slide.sheet { background: #fff; }
.s { position: absolute; inset: 0; }
.i { position: absolute; }
.i--img img, .i--clip img, .i--in img { width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.i--img picture, .i--in picture, .i--clip picture { display: block; width: 100%; height: 100%; }
.i--clip { overflow: hidden; }
.i--in { position: absolute; }
.i--vid { overflow: hidden; background: #000; }
.i--vid video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.i--vid.is-film video { object-fit: contain; }

/* type: Poppins 20 on the 1920 canvas */
.t { font-size: calc(var(--u) * 20); line-height: 1.3; font-weight: 400; }
.t h4 { font-size: 1em; font-weight: 500; line-height: 1.3; margin: 0 0 .7em; }
.t p + p { margin-top: 1.05em; }
.t--name, .t.t--name p { font-size: calc(var(--u) * 25); font-weight: 500; line-height: 1.2; }
.t--r { text-align: right; }
.t--r h4 { text-align: right; }
.t--i { font-style: italic; font-weight: 300; }
.t--plus, .plus { font-size: calc(var(--u) * 26); font-weight: 500; }
.t--lim p + p { margin-top: 1.1em; }
.t--hint, .hint { font-size: calc(var(--u) * 17); color: #555; }
ul.t.dash li { position: relative; padding-left: 1.05em; margin-bottom: .85em; }
ul.t.dash li::before { content: '-'; position: absolute; left: 0; }
.textlink { text-underline-offset: .2em; }
.slide .textlink { font-size: inherit; }
.slide a { color: inherit; }

/* chips + captions (white 21 medium, bottom-left, as in the deck) */
.chip { position: absolute; left: calc(var(--u) * 76); right: calc(var(--u) * 55); bottom: calc(var(--u) * 32); display: flex; justify-content: space-between; align-items: baseline; gap: 2em; color: #fff; font-size: calc(var(--u) * 21); font-weight: 500; line-height: 1.25; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); z-index: 3; pointer-events: none; }
.chip a { pointer-events: auto; text-decoration: none; white-space: nowrap; border-bottom: 1px solid currentColor; }
.chip--top { bottom: calc(var(--u) * 32); }
.cap { font-size: calc(var(--u) * 21); font-weight: 500; color: #fff; }
.cap:nth-of-type(even) { text-align: right; }
.grad { position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
.grad--bottom { bottom: 0; background: linear-gradient(to top, rgba(0, 0, 0, .72), rgba(0, 0, 0, 0)); }
.grad--top { top: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); }

/* covers */
.cover .i--img { z-index: 0; }
.cv-label { position: absolute; z-index: 2; left: calc(var(--u) * 98); top: calc(var(--u) * 92); color: #fff; font-size: calc(var(--u) * 21); font-weight: 300; font-style: italic; letter-spacing: .01em; }
.cv-title { position: absolute; z-index: 2; left: calc(var(--u) * 89); bottom: calc(var(--u) * 150); color: #fff; font-size: calc(var(--u) * 102); font-weight: 700; line-height: 1.2; letter-spacing: -.005em; }
.cv-foot { position: absolute; z-index: 2; left: calc(var(--u) * 89); right: calc(var(--u) * 61); bottom: calc(var(--u) * 82); display: flex; justify-content: space-between; align-items: flex-end; gap: 2em; color: #fff; font-size: calc(var(--u) * 21); font-weight: 300; font-style: italic; line-height: 1.3; }
.cv-tag { text-align: right; }

/* live embeds */
.frame { background: #111; border: calc(var(--u) * 2) solid rgba(255, 255, 255, .16); border-radius: calc(var(--u) * 10); overflow: hidden; box-shadow: 0 calc(var(--u) * 24) calc(var(--u) * 60) rgba(0, 0, 0, .35); }
.frame--light { border-color: rgba(0, 0, 0, .18); background: #fff; box-shadow: 0 calc(var(--u) * 10) calc(var(--u) * 40) rgba(0, 0, 0, .12); }
.frame--flip { background: #1b1b1b; }
.frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.frame .shield { position: absolute; inset: 0; z-index: 2; background: transparent; border: 0; cursor: pointer; display: flex; align-items: flex-end; justify-content: flex-end; padding: calc(var(--u) * 18); font: inherit; }
.frame .shield span { font-size: calc(var(--u) * 17); font-weight: 500; color: #fff; background: rgba(0, 0, 0, .72); padding: .45em 1em; border-radius: 99px; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.frame:hover .shield span, .frame .shield:focus-visible span { opacity: 1; transform: none; }
.frame.live .shield { display: none; }

/* case-study page */
body.case { background: var(--paper); }
.cs-bar { position: sticky; top: 0; z-index: 90; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 12px var(--gutter); background: var(--bar); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.cs-bar a { text-decoration: none; }
.cs-bar a:hover { opacity: .55; }
.cs-count { color: var(--muted); text-align: center; }
.cs-nav { display: flex; gap: clamp(12px, 2vw, 28px); justify-content: flex-end; align-items: center; }
.deck { display: flex; flex-direction: column; gap: 10px; padding: 10px 0 0; background: var(--soft); }
.deck .slide { box-shadow: 0 1px 0 rgba(0, 0, 0, .06); }
.cs-end { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: center; padding: 64px var(--gutter) 88px; }

/* home */
.home-cover, .home-about { max-width: none; }
.home-cover .tile { overflow: hidden; background: var(--tile); display: block; }
.home-cover .tile .i--in { display: block; transition: filter .6s; }
.home-cover .tile picture, .home-cover .tile img { display: block; width: 100%; height: 100%; object-fit: fill; max-width: none; }
.home-cover .tile:hover .i--in { filter: brightness(1.06); }
.wordmark { line-height: 0; margin: 0; }
.wordmark picture, .wordmark img { display: block; width: 100%; height: auto; }
.home-about .portrait picture, .home-about .portrait img { width: 100%; height: 100%; object-fit: cover; }
.contact-row { display: flex; justify-content: space-between; list-style: none; font-size: calc(var(--u) * 20); font-weight: 500; }
.contact-row li:not(:first-child) { font-weight: 400; }
.contact-row a { text-decoration: none; }
.home-cover, .home-about { background: var(--paper); color: var(--ink); }
.pcards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; padding: 0; }
.pcard { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; text-decoration: none; background: #000; }
.pcard__img, .pcard__img picture, .pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__img img { transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__meta { position: absolute; inset: auto 0 0 0; display: flex; align-items: baseline; gap: 14px; padding: clamp(14px, 2.2vw, 32px); color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .7), transparent); }
.pcard__num { font-size: 13px; font-weight: 300; font-style: italic; }
.pcard__title { font-size: clamp(18px, 2.2vw, 34px); font-weight: 600; }
.pcard__cta { margin-left: auto; font-size: 13px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: .3s; }
.pcard:hover .pcard__cta, .pcard:focus-visible .pcard__cta { opacity: 1; transform: none; }
.pcard[hidden] { display: none; }
@media (max-width: 800px) { .pcards { grid-template-columns: 1fr; } .pcard__cta { opacity: 1; transform: none; } }
@media (max-width: 700px) { .t { font-size: max(calc(var(--u) * 20), 8.5px); } .cs-bar { grid-template-columns: auto 1fr; } .cs-count { display: none; } }
