@font-face {
  font-family: "Inter";
  src: url("assets/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

:root {
  --ink: #0C0407;
  --muted: #757575;
  --card: #FFFFFF;
  --bg: #F4F4F4;
  --line: #E0E0E0;

  --page-w: 1440px;
  --pad-x: 80px;
  --card-w: 1210px;
  --card-pad: 48px;
  --body-w: 680px;
  --gap-title: 16px;
  --gap-card: 24px;
  --gap-section: 8px;
  --gap-work: 80px;
  --gap-block: 24px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.fonts-pending body { visibility: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-feature-settings: "cv11", "ss01";
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.display, .h1, .h2, .h3, .h4 { margin: 0; font-weight: 700; }
.display { font-size: 48px; line-height: 1.15; letter-spacing: -0.02em; }
.h1 { font-size: 48px; line-height: 1.15; letter-spacing: -0.02em; }
.h2 { font-size: 32px; line-height: 1.2; letter-spacing: -0.01em; }
.h3 { font-size: 24px; line-height: 1.25; letter-spacing: -0.01em; }
.h4 { font-size: 18px; line-height: 1.4; }
.body { font-size: 18px; line-height: 1.6; font-weight: 400; margin: 0; max-width: var(--body-w); }
.caption { font-size: 13px; line-height: 1.4; font-weight: 500; color: var(--muted); margin: 0; }
.muted { color: var(--muted); }
.page { max-width: var(--page-w); margin: 0 auto; }
.wrap { padding: 0 var(--pad-x); }

header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--pad-x);
}
header.site .brand { font-size: 18px; font-weight: 700; text-decoration: none; }
header.site nav { display: flex; gap: 24px; }
header.site nav a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; }
header.site nav a:hover, header.site nav a[aria-current="page"] { color: var(--ink); }

.intro { padding: 110px var(--pad-x) 40px; display: flex; flex-direction: column; gap: var(--gap-title); }
.intro .body { margin: 0; }
.intro .body + .body { margin-top: -4px; }
.intro .h4 { margin-top: 8px; }

.work { padding: 0 var(--pad-x); display: flex; flex-direction: column; gap: var(--gap-title); margin-top: 40px; }
.work + .work { margin-top: var(--gap-work); }
.work .caption { margin-top: -4px; }
.work .section:first-of-type { margin-top: calc(var(--gap-card) - var(--gap-title)); }

.section { display: flex; flex-direction: column; gap: var(--gap-section); }
.section + .section { margin-top: calc(var(--gap-block) - var(--gap-title)); }
.section .card + .h4 { margin-top: calc(var(--gap-card) - var(--gap-section)); }

.card {
  background: var(--card);
  width: var(--card-w);
  max-width: calc(100% + 2 * var(--pad-x) - 2 * ((var(--page-w) - var(--card-w)) / 2));
  margin-left: calc((var(--page-w) - var(--card-w)) / 2 - var(--pad-x));
  padding: var(--card-pad);
  display: flex; justify-content: center; align-items: center;
}
.card > img, .card > video { width: 100%; max-width: 1114px; }
.card.bleed { padding: 0; }
.card.bleed > img { max-width: none; }
.card.narrow > img, .card.narrow > video { width: auto; max-height: 700px; }
.card .stack { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.card .stack > img { width: 100%; max-width: 1114px; }
.card .platform { font-size: 12px; color: var(--ink); text-align: center; margin: 0 0 8px; }

.body ul { margin: 0; padding-left: 27px; }
.body li { margin: 0; }

.url { text-decoration: underline; text-underline-offset: 3px; }
.url::after { content: " ↗"; }
.hero { padding: 96px var(--pad-x) 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 40px; min-height: 380px; }
.hero .tags { grid-column: 3; justify-self: end; align-self: start; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.hero .tags span::before { content: "+  "; }
.hero .hello { grid-column: 1; grid-row: 2; white-space: nowrap; }
.hero .photo { grid-column: 2; grid-row: 1 / span 2; width: 246px; height: 246px; border-radius: 50%; object-fit: cover; }
.hero .based { grid-column: 3; grid-row: 2; text-align: right; white-space: nowrap; }
.lede { padding: 80px var(--pad-x) 0; font-size: 36px; line-height: 1.3; letter-spacing: -0.01em; max-width: 1180px; }

.centered { text-align: center; }
.brands { padding: 160px var(--pad-x) 0; }
.brands .h1 { text-align: center; margin-bottom: 48px; }
.logo-wall { width: 1120px; max-width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.logo-wall .row { display: flex; justify-content: space-between; align-items: center; }
.logo-wall img { display: block; }

.works { padding: 160px var(--pad-x) 120px; }
.works .h1 { text-align: center; }
.works .h1 { margin-bottom: 48px; }
.works .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px 40px; }
.works .tile { text-decoration: none; display: block; }
.works .tile .thumb { background: var(--card); aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 32px; }
.works .tile .thumb img { max-height: 100%; width: auto; object-fit: contain; transition: transform .45s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.works .tile:hover .thumb img { transform: scale(1.04); }
.works .tile .thumb.cover { padding: 0; }
.works .tile .thumb.cover img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: 35% 50%; }
.works .tile .label { margin-top: 16px; font-size: 18px; font-weight: 700; }
.works .tile:hover .label { text-decoration: underline; text-underline-offset: 3px; }
.contact { padding: 110px var(--pad-x) 160px; display: flex; flex-direction: column; gap: 16px; }
.contact .body { margin-top: 8px; }
.copy { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.copy[data-copied="1"]::after { content: "  copied"; color: var(--muted); font-size: 13px; }
footer.site { padding: 120px var(--pad-x) 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
footer.site .caption a { text-decoration: none; }
footer.site .caption a:hover { text-decoration: underline; }
@media (max-width: 1280px) {
  .card { width: auto; max-width: none; margin-left: 0; }
  .display { font-size: 40px; }
  .hero { column-gap: 32px; }
  .hero .photo { width: 200px; height: 200px; }
  .hero .tags { font-size: 14px; white-space: nowrap; }
  .lede { font-size: 30px; }
}
@media (max-width: 1100px) {
  .display { font-size: 34px; }
  .hero .photo { width: 170px; height: 170px; }
}
@media (max-width: 900px) {
  :root { --pad-x: 24px; --card-pad: 20px; }
  .display, .h1 { font-size: 36px; }
  .h2 { font-size: 26px; }
  .h3 { font-size: 22px; }
  .lede { font-size: 24px; }
  .hero { grid-template-columns: 1fr; row-gap: 24px; min-height: 0; padding-top: 48px; }
  .hero .tags { grid-column: 1; grid-row: 4; justify-self: start; }
  .hero .photo { grid-column: 1; grid-row: 1; width: 160px; height: 160px; }
  .hero .hello { grid-column: 1; grid-row: 2; white-space: nowrap; }
  .hero .based { grid-column: 1; grid-row: 3; text-align: left; font-size: 24px; white-space: normal; }
  .hero .hello { white-space: normal; }
  .hero .tags { white-space: normal; }
  .brands, .works { padding-top: 96px; }
  .logo-wall .row { flex-wrap: wrap; gap: 24px 32px; justify-content: center; }
  .logo-wall img { max-height: 32px; width: auto; max-width: 120px; }
  .works .grid { grid-template-columns: 1fr; gap: 40px; }
  .card.narrow > img, .card.narrow > video { max-height: none; width: 100%; }
  footer.site { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  video { animation: none; }
  .works .tile .thumb img { transition: none; }
  .works .tile:hover .thumb img { transform: none; }
}
