:root {
  --ground: #F1F1EF;
  --ink: #0E0E0E;
  --muted: #4A4A4A;
  --soft: #3A3A3A;
  --rule: #BDBDB8;
  --tint: #E6E6E3;
  --accent: #FF4A1C;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --sans: 'Archivo', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { color: #5A5A5A; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1360px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.u { text-decoration: underline; text-underline-offset: 3px; }

/* Cursor */
@media (hover: hover) and (pointer: fine) {
  body, body * { cursor: url(/static/cursors/dot.svg) 8 8, auto; }
  a, a *, button, button * { cursor: url(/static/cursors/ring.svg) 14 14, pointer; }
  .tile, .tile *, .next-in, .next-in * { cursor: url(/static/cursors/view.svg) 30 30, pointer; }
}
.glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 20;
  mix-blend-mode: multiply; transform: translate3d(-600px, -600px, 0);
  background: radial-gradient(circle, rgba(255,74,28,0.32) 0%, rgba(255,74,28,0.12) 35%, rgba(255,74,28,0) 68%); }
@media (hover: none) { .glow { display: none; } }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: var(--ground); border-bottom: 1px solid var(--ink); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 14px; padding-bottom: 14px;
  font-family: var(--mono); font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.logo { font-family: var(--sans); font-weight: 800; font-size: 15px; letter-spacing: 0.02em; font-variation-settings: 'wdth' 125; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.top nav a { padding: 12px 0; }
.top nav a.btn { padding: 10px 16px; background: var(--ink); color: var(--ground); }

/* Intro */
.intro { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; padding-top: 40px; padding-bottom: 36px; }
.intro h1 { margin: 0; flex: 1 1 auto; font-size: clamp(44px, 6.6vw, 100px); line-height: 0.88; font-weight: 800; letter-spacing: -0.035em;
  font-variation-settings: 'wdth' 125; text-transform: uppercase; }
.intro-side { flex: 1 1 360px; max-width: 520px; display: flex; flex-direction: column; gap: 14px; }
.intro-side p { margin: 0; font-size: 19px; line-height: 1.35; font-weight: 500; }
.intro-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--soft); letter-spacing: 0.04em; }
.intro-meta a { text-decoration: underline; text-underline-offset: 3px; }
.dotline { display: flex; align-items: center; gap: 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.clients { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.clients-in { display: flex; flex-wrap: wrap; gap: 8px 36px; padding-top: 22px; padding-bottom: 22px; font-size: 18px; font-weight: 700;
  text-transform: uppercase; font-variation-settings: 'wdth' 112; }

/* Sections */
.section { padding-top: 56px; padding-bottom: 72px; }
.h2 { margin: 0 0 32px; font-size: clamp(36px, 4.5vw, 64px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em;
  font-variation-settings: 'wdth' 125; line-height: 1; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile-media { position: relative; display: block; margin-bottom: 10px; background: #D9D9D5; overflow: hidden; }
.tile-media img, .tile-media video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.tile-media video { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .25s; }
.tile.playing .tile-media video { opacity: 1; }
.tile:hover { color: var(--ink); }
.tile-client { font-size: 17px; font-weight: 700; }
.tile-project { font-size: 14px; color: var(--soft); }
.tile-meta { margin-top: 6px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; } }

/* Credits */
.credits-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.credits-head .h2 { margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-height: 44px; padding: 10px 16px; border: 1px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink);
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.pill span { opacity: .7; }
.pill[aria-pressed="true"] { background: var(--accent); }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--ink); }
.table { min-width: 760px; }
.row { display: grid; grid-template-columns: 1.2fr 1.5fr 1.1fr 1fr 150px; gap: 16px; padding: 16px 8px; border-bottom: 1px solid var(--rule); align-items: baseline; font-size: 17px; }
.row .muted { font-size: 15px; color: var(--soft); }
.row .mono { font-size: 11px; }
.c-client { font-weight: 700; }
a.row:hover { background: var(--tint); color: var(--ink); }
.row-head { padding-top: 12px; padding-bottom: 12px; color: var(--muted); font-size: 11px; }
.row[hidden] { display: none; }

/* About */
.about { background: var(--ink); color: var(--ground); }
.about-in { display: flex; flex-wrap: wrap; gap: 56px 80px; padding-top: 96px; padding-bottom: 96px; }
.about-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.about-label { margin: 0; font-weight: 400; color: #B5B5B0; font-size: 13px; letter-spacing: 0.06em; }
.about-photo { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1); }
.about-lead { margin: 0; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.22; font-weight: 500; letter-spacing: -0.01em; }
.about-body { margin: 0; font-size: 18px; line-height: 1.55; color: #D4D4CF; max-width: 640px; }
.services { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; border-bottom: 1px solid #4A4A48; align-self: flex-start; }
.service { display: flex; flex-direction: column; gap: 6px; padding: 20px 0; border-top: 1px solid #4A4A48; }
.service-t { font-size: 20px; font-weight: 700; }
.service-d { font-size: 15px; color: #B5B5B0; line-height: 1.5; }

/* Contact */
.contact .big { margin: 0 0 48px; font-size: clamp(48px, 8vw, 128px); line-height: 0.9; font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em;
  font-variation-settings: 'wdth' 125; }
.contact-cols { display: flex; flex-wrap: wrap; gap: 40px 24px; border-top: 1px solid var(--ink); padding-top: 28px; font-size: 18px; line-height: 1.45; }
.contact-cols > div { flex: 1 1 280px; display: flex; flex-direction: column; gap: 8px; }
.contact-cols strong { font-size: 20px; }
.label { font-size: 12px; letter-spacing: 0.06em; }

/* Footer */
.foot { border-top: 1px solid var(--ink); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px;
  font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

/* Campaign pages */
.job-head { padding-top: 64px; padding-bottom: 40px; }
.job-head > .mono { font-size: 13px; margin-bottom: 20px; }
.job-title { margin: 0; font-size: clamp(48px, 9vw, 140px); line-height: 0.88; font-weight: 800; letter-spacing: -0.03em; font-variation-settings: 'wdth' 125; text-transform: uppercase; }
.job-sub { margin: 20px 0 0; font-size: clamp(22px, 2.6vw, 36px); font-weight: 500; letter-spacing: -0.01em; }
.job-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; }
.film { position: relative; aspect-ratio: 16 / 9; margin-bottom: 48px; background: #000; }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.job-main { display: flex; flex-wrap: wrap; gap: 40px 48px; align-items: flex-start; padding-bottom: 72px; }
.job-hero { flex: 3 1 560px; min-width: 0; width: 100%; max-height: 88vh; object-fit: cover; background: #D9D9D5; }
.job-panel { flex: 1 1 300px; min-width: 0; }
.job-panel dl { margin: 0; }
.dl-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.dl-row.first { border-top-color: var(--ink); }
.dl-row.last { border-bottom: 1px solid var(--rule); }
.dl-row dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.dl-row dd { margin: 0; font-size: 17px; text-align: right; }
.dl-row dd.b { font-weight: 700; }
.note { margin: 8px 0 0; font-size: 18px; line-height: 1.55; }
.job-panel dl + .note { margin-top: 28px; }
.gallery { display: flex; flex-wrap: wrap; gap: 24px; padding-bottom: 96px; }
.gallery img { min-width: 0; width: 100%; object-fit: cover; background: #D9D9D5; }
.gallery .g-landscape { flex: 2 1 520px; aspect-ratio: 16 / 9; }
.gallery .g-portrait { flex: 1 1 320px; aspect-ratio: 4 / 5; }
.next { border-top: 1px solid var(--ink); }
.next-in { display: block; padding-top: 56px; padding-bottom: 72px; }
.next-in:hover { color: var(--ink); }
.next-in .mono { display: block; margin-bottom: 12px; }
.next-t { display: block; font-size: clamp(36px, 6vw, 88px); line-height: 0.92; font-weight: 800; letter-spacing: -0.025em; font-variation-settings: 'wdth' 125; text-transform: uppercase; }
.next-s { display: block; margin-top: 10px; font-size: 20px; color: var(--soft); }

@media (max-width: 600px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .top nav { gap: 2px 18px; }
  .about-in { padding-top: 64px; padding-bottom: 64px; }
}
