/* ON Motion Productions — site styles
   Dark for film (hero, work, players), light "paper" for studio sections and contact. */

:root {
  --ink: #0b0b0b;
  --ink-2: #141414;
  --ink-3: #1d1d1c;
  --paper: #f2f1ed;
  --paper-2: #e7e5df;
  --white: #ffffff;
  --on-ink: #f2f1ed;
  --on-ink-muted: rgba(242, 241, 237, 0.6);
  --on-ink-faint: rgba(242, 241, 237, 0.14);
  --on-paper: #0b0b0b;
  --on-paper-muted: #5f5d58;
  --on-paper-faint: rgba(11, 11, 11, 0.13);

  --display: "Syncopate", "Archivo", system-ui, sans-serif;
  --text: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1680px;
  --header-h: 80px;
  --header-c: 66px;    /* after scrolling */
  --gap: 6px;          /* gap inside photo collages */
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (max-width: 760px) {
  :root { --header-h: 66px; --header-c: 60px; --gap: 4px; }
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, video, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--on-ink); color: var(--ink); }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--on-ink); color: var(--ink); padding: 10px 14px;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- type ---------- */

.eyebrow {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}
.light .eyebrow { color: var(--on-paper-muted); }

.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead {
  font-size: clamp(21px, 2.3vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 400;
  max-width: 32ch;
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  padding-bottom: 6px; border-bottom: 1px solid currentColor;
  transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 18px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid currentColor; border-radius: 999px;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn:hover { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.light .btn:hover { background: var(--on-paper); color: var(--paper); border-color: var(--on-paper); }
.btn--solid { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
.btn--solid:hover { background: transparent; color: var(--on-ink); }
.light .btn--solid { background: var(--on-paper); color: var(--paper); border-color: var(--on-paper); }
.light .btn--solid:hover { background: transparent; color: var(--on-paper); }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 10px; }

/* ---------- header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  color: var(--on-ink);
  border-bottom: 1px solid transparent;
  transition: height 0.35s var(--ease), background-color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-solid { background: var(--ink); border-bottom-color: var(--on-ink-faint); }
.site-header.is-compact {
  height: var(--header-c);
  background: rgba(11, 11, 11, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--on-ink-faint);
}
.site-header.is-hidden { transform: translateY(-100%); }

/* logo: the mark with MOTION / PRODUCTIONS beside it */
.brand { display: inline-flex; align-items: center; gap: 15px; }
.brand-mark { height: 38px; width: auto; }
.brand-word { width: 156px; height: auto; opacity: 0.95; }
@media (max-width: 760px) {
  .brand { gap: 12px; }
  .brand-mark { height: 30px; }
  .brand-word { width: 122px; }
}

/* the three categories, centred in the header on wide screens: "Work" + tabs, so they read as categories */
.header-cats {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
}
.cats-label {
  font-family: var(--display); font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--on-ink-muted); white-space: nowrap;
}
.header-cats .cats-label { margin-right: 6px; padding: 8px 2px; transition: color 0.25s; }
.header-cats .cats-label:hover,
.header-cats .cats-label[aria-current="page"] { color: var(--on-ink); }
.cat-tab {
  display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; white-space: nowrap;
  border: 1px solid rgba(242, 241, 237, 0.3); border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.cat-tab:hover { border-color: var(--on-ink); }
.cat-tab[aria-current="page"] { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }
@media (max-width: 1079px) { .header-cats { display: none; } }

.site-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.site-nav > a:not(.btn) {
  position: relative;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 0;
}
.site-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav > a:not(.btn):hover::after,
.site-nav > a[aria-current="page"]::after { transform: scaleX(1); }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative;
  transition: transform 0.3s var(--ease);
}
.menu-toggle span::before { content: ""; position: absolute; top: 7px; }
.menu-toggle span { transform: translateY(-3.5px); }
.menu-open .menu-toggle span { transform: translateY(0) rotate(45deg); }
.menu-open .menu-toggle span::before { transform: translateY(-7px) rotate(-90deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 8vw, 46px); letter-spacing: 0.02em; line-height: 1.25;
}
.mobile-menu nav a.sub {
  font-weight: 400; font-size: 13px; letter-spacing: 0.2em; color: var(--on-ink-muted);
  padding-left: 2px; line-height: 2;
}
.mobile-menu .mobile-menu-foot {
  margin-top: 40px; display: grid; gap: 10px; color: var(--on-ink-muted); font-size: 15px;
}

@media (max-width: 1079px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
.menu-open { overflow: hidden; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex;
  overflow: hidden;
  background: #000;
}
.hero-media { position: absolute; inset: 0; }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.7s ease;
}
.hero-video.is-active { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 30%),
    linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 42%, rgba(0,0,0,0.12) 74%),
    rgba(0, 0, 0, 0.16);
}
.hero-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  flex: 1;
  padding-top: var(--header-h);
  padding-bottom: clamp(26px, 5vh, 52px);
}

/* on smaller screens the categories sit right under the logo as a segmented control */
.hero-cats { display: none; }
@media (max-width: 1079px) {
  .hero-cats { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
  .segmented {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid rgba(242, 241, 237, 0.38); border-radius: 999px; overflow: hidden;
    background: rgba(11, 11, 11, 0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    max-width: 560px;
  }
  .segmented a {
    text-align: center; padding: 11px 4px; white-space: nowrap;
    font-family: var(--display); font-weight: 700; text-transform: uppercase;
    font-size: clamp(8px, 2.3vw, 12px); letter-spacing: 0.04em; color: var(--on-ink);
  }
  .segmented a + a { border-left: 1px solid rgba(242, 241, 237, 0.38); }
}
.hero-main { margin-top: auto; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  color: var(--on-ink); font-weight: 700; letter-spacing: 0.26em;
  margin-bottom: clamp(14px, 2vh, 22px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}
.hero-eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(30px, 5.6vw, 92px);
  line-height: 1.04; letter-spacing: 0.005em;
  max-width: 16ch;
}
.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap;
  margin-top: clamp(22px, 4vh, 40px);
  border-top: 1px solid var(--on-ink-faint); padding-top: 22px;
}
.hero-foot p { color: var(--on-ink-muted); max-width: 52ch; font-size: 15px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.hero-pause {
  width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid rgba(242, 241, 237, 0.35); color: var(--on-ink);
  transition: background-color 0.25s, color 0.25s;
}
.hero-pause:hover { background: var(--on-ink); color: var(--ink); }
.hero-pause svg { width: 16px; height: 16px; }
.hero-pause .i-play { display: none; }
.hero-pause[aria-pressed="true"] .i-pause { display: none; }
.hero-pause[aria-pressed="true"] .i-play { display: inline; }

@media (max-width: 760px) {
  .hero-foot { flex-direction: column; align-items: flex-start; }
}

/* ---------- client logos ---------- */

.logos { padding-block: clamp(28px, 4vw, 48px) clamp(34px, 5vw, 60px); border-bottom: 1px solid var(--on-ink-faint); }
.logos-head { margin-bottom: clamp(18px, 2.4vw, 30px); }
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex; align-items: center; flex: none;
  gap: clamp(44px, 6vw, 88px); padding-right: clamp(44px, 6vw, 88px);
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { width: auto; opacity: 0.78; transition: opacity 0.3s; }
.marquee-track img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 28px; padding-inline: var(--gutter); }
  .marquee-track[aria-hidden="true"] { display: none; }
}

.logo-grid-section { padding-block: clamp(70px, 9vw, 120px); }
.logo-grid-section .section-title { margin-bottom: clamp(26px, 3.4vw, 44px); }
.logo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 176px), 1fr));
  border-top: 1px solid var(--on-ink-faint); border-left: 1px solid var(--on-ink-faint);
}
.logo-grid li {
  display: grid; place-items: center; min-height: clamp(96px, 9vw, 130px); padding: 18px;
  border-right: 1px solid var(--on-ink-faint); border-bottom: 1px solid var(--on-ink-faint);
}
.logo-grid img { width: auto; max-width: 100%; height: auto; max-height: 52px; opacity: 0.85; }

/* ---------- category tiles (home) ---------- */

.cat-tiles { padding-top: clamp(48px, 6vw, 88px); }
.cat-head { display: grid; gap: 10px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); }
.cat-tile { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; background: var(--ink-2); }
.cat-tile img,
.cat-tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-tile img { filter: brightness(0.72); transition: transform 0.9s var(--ease), filter 0.5s; }
.cat-tile video { opacity: 0; transition: opacity 0.4s; }
.cat-tile.is-playing video.is-ready { opacity: 1; }
.cat-tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1) 62%);
}
.cat-tile:hover img { transform: scale(1.03); filter: brightness(0.85); }
.cat-tile-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 8px; padding: clamp(16px, 2vw, 26px); }
.cat-count { font-family: var(--display); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-ink-muted); }
.cat-tile h3 {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(20px, 2.1vw, 32px); letter-spacing: 0.02em; line-height: 1.1;
}
.cat-tile p { color: rgba(242, 241, 237, 0.75); font-size: 14px; max-width: 38ch; }
.cat-go {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px;
  font-family: var(--display); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.cat-go svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.cat-tile:hover .cat-go svg { transform: translateX(4px); }
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-tile { aspect-ratio: 16 / 9; }
  .cat-tile p { display: none; }
}

/* ---------- intro ---------- */

.intro { padding-block: clamp(70px, 10vw, 140px) clamp(56px, 7vw, 100px); }
.intro-grid { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: start; }
}
.intro .link-arrow { margin-top: 36px; }

/* ---------- work grid ---------- */

.work { padding-bottom: clamp(80px, 10vw, 130px); }
.logos + .work,
.cat-tiles + .work { padding-top: clamp(56px, 7vw, 100px); }
.work-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-bottom: clamp(22px, 3vw, 36px);
}
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--on-ink-faint); border-radius: 999px;
  font-family: var(--display); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--on-ink-muted);
  transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}
.tabs a:hover { color: var(--on-ink); border-color: var(--on-ink-muted); }
.tabs a[aria-current="true"],
.tabs a[aria-current="page"] { color: var(--ink); background: var(--on-ink); border-color: var(--on-ink); }

.grid {
  display: grid; gap: clamp(28px, 3vw, 44px) clamp(14px, 1.6vw, 24px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card { transition: opacity 0.35s, transform 0.5s var(--ease); }
.card[hidden] { display: none; }
.card.is-leaving { opacity: 0; transform: translateY(8px); }
.card a { display: block; }
.card-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.card-media img,
.card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media img { transition: transform 0.9s var(--ease), filter 0.5s; filter: brightness(0.88); }
.card-media video { opacity: 0; transition: opacity 0.4s; }
.card a:hover .card-media img,
.card a:focus-visible .card-media img { transform: scale(1.035); filter: brightness(1); }
.card.is-previewing .card-media video { opacity: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 14px; }
.card-title {
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.35;
}
.card-sub { color: var(--on-ink-muted); font-size: 14px; margin-top: 4px; }
.card-cat {
  flex: none; color: var(--on-ink-muted);
  font-family: var(--display); font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
}

/* ---------- light sections ---------- */

.light { background: var(--paper); color: var(--on-paper); }
.light ::selection { background: var(--on-paper); color: var(--paper); }

.services { padding-block: clamp(80px, 10vw, 140px); }
.services-head { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 70px); }
@media (min-width: 900px) {
  .services-head { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: end; }
}
.services-head p { color: var(--on-paper-muted); max-width: 52ch; font-size: 17px; }
.services-grid { display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--on-paper-faint); }
.service { padding: 28px 24px 36px 0; border-bottom: 1px solid var(--on-paper-faint); }
@media (min-width: 640px) and (max-width: 1099px) {
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--on-paper-faint); }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service { padding: 32px 28px 44px; border-bottom: 0; border-left: 1px solid var(--on-paper-faint); }
  .service:first-child { border-left: 0; padding-left: 0; }
}
.service .num { font-family: var(--display); font-size: 11px; letter-spacing: 0.2em; color: var(--on-paper-muted); }
.service h3 {
  font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: 0.06em;
  text-transform: uppercase; margin: 20px 0 10px;
}
.service p { color: var(--on-paper-muted); font-size: 15px; }
.service ul { margin-top: 18px; display: grid; gap: 8px; font-size: 15px; }
.service li { display: flex; gap: 10px; }
.service li::before { content: "—"; color: var(--on-paper-muted); }

/* ---------- CTA ---------- */

.cta { padding-block: clamp(80px, 11vw, 150px); }
.cta-grid { display: grid; gap: 30px 60px; align-items: end; }
@media (min-width: 1000px) { .cta-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.cta-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 4.2vw, 64px); line-height: 1.06; letter-spacing: 0.005em;
  margin: 18px 0 16px;
}
.cta-text { color: var(--on-ink-muted); font-size: 17px; max-width: 46ch; }
.cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (min-width: 1000px) { .cta-side { align-items: flex-end; } }
.contact-mini { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--on-ink-muted); }
.contact-mini a { border-bottom: 1px solid transparent; transition: color 0.2s, border-color 0.2s; }
.contact-mini a:hover { color: var(--on-ink); border-color: currentColor; }
.cta--slim { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--on-ink-faint); }
.cta--slim .cta-title { font-size: clamp(22px, 2.8vw, 40px); margin: 0; }
.cta--slim .cta-grid { align-items: center; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--on-ink-faint); padding-block: 56px 28px; }
.footer-top { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); padding-bottom: 48px; }
@media (min-width: 900px) { .footer-top { grid-template-columns: 220px minmax(0, 1fr); } }
.footer-brand { display: inline-block; }
.footer-logo { height: 120px; width: auto; color: var(--on-ink); }
.footer-cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.footer-cols h2 { font-family: var(--display); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--on-ink-muted); font-weight: 400; margin-bottom: 14px; }
.footer-cols a, .footer-cols p { display: block; font-size: 15px; line-height: 1.9; }
.footer-cols a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--on-ink-faint); padding-top: 22px;
  color: var(--on-ink-muted); font-size: 13px;
}

/* ---------- page head (work index, about) ---------- */

.page-head { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px)); padding-bottom: clamp(30px, 4vw, 56px); }
.page-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(28px, 4.2vw, 60px); line-height: 1.06; letter-spacing: 0.005em;
  margin-top: 16px;
}
.page-intro { margin-top: 22px; color: var(--on-ink-muted); max-width: 60ch; font-size: 17px; }
.light .page-intro { color: var(--on-paper-muted); }

/* ---------- project page ---------- */

.project-head { padding-top: calc(var(--header-h) + clamp(30px, 4vw, 64px)); padding-bottom: clamp(20px, 2.6vw, 32px); }
.project-head .eyebrow a:hover { color: var(--on-ink); }
.project-title {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(26px, 3.8vw, 58px); line-height: 1.06; letter-spacing: 0.005em;
  margin-top: 14px; max-width: 20ch;
}
.project-sub {
  margin-top: 12px; color: var(--on-ink-muted);
  font-family: var(--display); font-size: clamp(11px, 1vw, 14px); letter-spacing: 0.18em; text-transform: uppercase;
}

.player { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player img,
.player video,
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player video { object-fit: contain; }
.player-btn {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: linear-gradient(to top, rgba(0,0,0,0.35), rgba(0,0,0,0.05));
}
.player-btn span {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px 16px 22px; border-radius: 999px;
  background: rgba(11, 11, 11, 0.5); border: 1px solid rgba(242, 241, 237, 0.4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--display); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}
.player-btn svg { width: 14px; height: 14px; }
.player-btn:hover span { background: var(--on-ink); color: var(--ink); }
.player.is-playing .player-btn,
.player.is-playing > img { display: none; }

.reels { display: grid; gap: clamp(10px, 1.4vw, 20px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1100px) { .reels { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1180px; } }
.reel { position: relative; aspect-ratio: 9 / 16; background: #000; overflow: hidden; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-btn {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: space-between;
  padding: 16px; background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0) 45%);
  text-align: left; transition: opacity 0.3s;
}
.reel-btn .reel-name { font-family: var(--display); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; }
.reel-btn svg { width: 34px; height: 34px; }
.reel.is-playing .reel-btn { opacity: 0; }
.reel.is-playing:hover .reel-btn { opacity: 1; background: transparent; }

.project-info { display: grid; gap: 30px; padding-block: clamp(30px, 4vw, 60px) clamp(46px, 6vw, 84px); }
@media (min-width: 900px) { .project-info { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; } }
.project-summary { font-size: clamp(18px, 1.7vw, 24px); line-height: 1.42; max-width: 36ch; }
.project-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; align-content: start; }
.project-meta div { border-top: 1px solid var(--on-ink-faint); padding-top: 12px; }
.project-meta dt { font-family: var(--display); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-ink-muted); margin-bottom: 6px; }
.project-meta dd { font-size: 15px; }
.project-meta .wide { grid-column: 1 / -1; }

.gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: clamp(14px, 1.8vw, 22px); }
.gallery-head .count { color: var(--on-ink-muted); font-size: 13px; }
.light .gallery-head .count { color: var(--on-paper-muted); }

.still button { display: block; width: 100%; height: 100%; position: relative; overflow: hidden; background: var(--ink-2); cursor: zoom-in; }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease), filter 0.4s; }
.still button:hover img { transform: scale(1.04); }
.light .still button { background: var(--paper-2); }

/* stills: one compact collage — a lead frame, small frames around it, about the size of one big photo */
.gallery { padding-bottom: clamp(60px, 8vw, 110px); }
.collage {
  container-type: inline-size;
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: calc((100cqw - 3 * var(--gap)) / 4 * 9 / 16);
  grid-auto-flow: dense;
}
.collage .is-big { grid-column: span 2; grid-row: span 2; }
.collage .is-wide { grid-column: span 2; }
@media (max-width: 700px) {
  .collage { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100cqw - var(--gap)) / 2 * 9 / 16); }
}
.collage-vertical {
  display: grid; gap: var(--gap); margin-top: var(--gap);
  grid-template-columns: repeat(var(--cols, 6), minmax(0, 1fr));
  max-width: calc(var(--cols, 6) * 200px);
}
.collage-vertical .still { aspect-ratio: 9 / 16; }
@media (max-width: 700px) { .collage-vertical { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; } }

/* behind the scenes: small frames side by side */
.bts { padding-block: clamp(50px, 7vw, 90px); }
.bts-row { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(46%, 170px), 1fr)); }
.bts-row .still { aspect-ratio: 4 / 5; }
.bts-row--dense { grid-template-columns: repeat(auto-fill, minmax(min(31%, 150px), 1fr)); }

/* watch next: a horizontal row of projects */
.more { padding-block: clamp(60px, 8vw, 100px) clamp(40px, 5vw, 70px); }
.more-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.scroller-nav { display: flex; gap: 8px; }
.scroller-nav button {
  width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--on-ink-faint);
  display: grid; place-items: center; transition: background-color 0.25s, color 0.25s, opacity 0.25s;
}
.scroller-nav button:hover { background: var(--on-ink); color: var(--ink); }
.scroller-nav button[disabled] { opacity: 0.3; pointer-events: none; }
.scroller-nav svg { width: 18px; height: 18px; }
.scroller { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroller::-webkit-scrollbar { display: none; }
.scroller-track {
  display: flex; gap: clamp(12px, 1.4vw, 20px);
  padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  width: max-content;
}
.scroller-track .card { width: clamp(250px, 27vw, 420px); flex: none; scroll-snap-align: start; scroll-margin-left: var(--gutter); }
@media (max-width: 700px) {
  .scroller-track .card { width: 72vw; }
  .scroller-track .card-cat { display: none; }
}

/* ---------- about ---------- */

/* behind the shot: behind the camera next to what is on screen; small pairs in a staggered grid */
.behind { padding-block: clamp(6px, 1.4vw, 20px) clamp(110px, 13vw, 190px); }
.behind-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 30px; margin-bottom: clamp(28px, 4vw, 52px); }
.behind-head p { color: var(--on-ink-muted); max-width: 52ch; font-size: 15px; }
@media (hover: none) { .hover-hint { display: none; } }
.diptychs { display: flex; align-items: flex-start; gap: clamp(18px, 2.4vw, 36px); }
.dip-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: clamp(34px, 4.4vw, 64px); }
.dip-col + .dip-col { padding-top: clamp(40px, 6vw, 100px); }
.diptych { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); gap: 4px; }
.diptych.is-portrait { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.diptych.is-portrait .dip-shot { aspect-ratio: 4 / 5; }
.diptych.is-portrait .dip-shot img,
.diptych.is-portrait .dip-shot video { object-position: center 35%; }
.dip { position: relative; overflow: hidden; background: var(--ink-2); }
.dip-shot { aspect-ratio: 16 / 9; }
.dip-media { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: pointer; }
.dip-bts .dip-media { cursor: zoom-in; }
.dip img,
.dip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dip img { transition: transform 0.9s var(--ease), filter 0.5s; filter: brightness(0.92); }
.dip video { opacity: 0; transition: opacity 0.35s; }
.diptych.is-playing .dip video.is-ready { opacity: 1; }
.diptych:hover .dip img { transform: scale(1.03); filter: brightness(1); }
.dip .tag {
  position: absolute; left: 8px; top: 8px; pointer-events: none; z-index: 2;
  font-family: var(--display); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(11, 11, 11, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.diptych figcaption {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding-top: 10px;
}
.dip-title { font-family: var(--display); font-weight: 700; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
a.dip-title:hover { text-decoration: underline; text-underline-offset: 4px; }
.diptych figcaption > span { color: var(--on-ink-muted); font-size: 13px; }
@media (max-width: 760px) {
  .diptychs { flex-direction: column; align-items: stretch; gap: 40px; }
  .dip-col { display: contents; }
  .diptych { order: var(--o); }
  .dip .tag { left: 6px; top: 6px; font-size: 7px; letter-spacing: 0.1em; padding: 4px 7px; }
  .behind { padding-bottom: clamp(60px, 9vw, 110px); }
}

.founder { padding-block: clamp(56px, 7vw, 100px); }
.founder-grid { display: grid; gap: clamp(30px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .founder-grid { grid-template-columns: minmax(0, 0.45fr) minmax(0, 1.55fr); } }
.founder-photo img { width: 100%; max-width: 300px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.founder-text h2 { margin: 16px 0 22px; }
.founder-text p { color: var(--on-paper-muted); font-size: 16px; max-width: 62ch; }
.founder-text p + p { margin-top: 14px; }

/* ---------- contact (light, compact, easy to read) ---------- */

.contact { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 90px)); padding-bottom: clamp(70px, 9vw, 120px); min-height: 80vh; }
.contact-wrap { max-width: 1240px; }
.contact-grid { display: grid; gap: clamp(36px, 5vw, 80px); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); } }
.contact-side .page-title { font-size: clamp(28px, 3.4vw, 46px); }
.contact-details { margin-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--on-paper-faint); max-width: 460px; }
.contact-details div {
  display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; align-items: baseline;
  padding: 11px 0; border-bottom: 1px solid var(--on-paper-faint);
}
.contact-details dt { font-family: var(--display); font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-paper-muted); }
.contact-details dd { font-size: 15px; word-break: break-word; }
.contact-details a { border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.contact-details a:hover { border-color: currentColor; }

.form {
  display: grid; gap: 18px;
  background: var(--white); border: 1px solid var(--on-paper-faint); border-radius: 18px;
  padding: clamp(20px, 3vw, 34px);
}
.form .row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 500; color: var(--on-paper); }
.field .opt { color: var(--on-paper-muted); font-weight: 400; }
.field input,
.field select,
.field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--on-paper);
  background: var(--paper); border: 1px solid transparent; border-radius: 10px;
  padding: 13px 14px; outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field ::placeholder { color: #9a9892; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--on-paper); background-color: var(--white); }
.form .hp { position: absolute; left: -9999px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { color: var(--on-paper-muted); font-size: 15px; }
.form-status.is-ok { color: var(--on-paper); }

/* ---------- lightbox & modal ---------- */

.overlay {
  position: fixed; inset: 0; z-index: 80; background: rgba(5, 5, 5, 0.985);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.overlay-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); color: var(--on-ink-muted); font-size: 14px; }
.overlay-close { width: 44px; height: 44px; display: grid; place-items: center; margin-right: -10px; color: var(--on-ink); }
.overlay-close svg { width: 22px; height: 22px; }
.overlay-stage { position: relative; display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.overlay-stage img {
  max-width: 100%; max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px);
  width: auto; height: auto; object-fit: contain; user-select: none;
}
.overlay-stage .modal-video { width: min(100%, calc((100vh - 140px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000; }
.overlay-stage .modal-video iframe { width: 100%; height: 100%; border: 0; }
.overlay-nav { display: flex; justify-content: center; gap: 10px; padding: 16px; }
.overlay-nav button {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--on-ink-faint);
  display: grid; place-items: center; color: var(--on-ink); transition: background-color 0.25s, color 0.25s;
}
.overlay-nav button:hover { background: var(--on-ink); color: var(--ink); }
.overlay-nav svg { width: 18px; height: 18px; }

/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card-media img, .still img { transition: none; }
}

/* ---------- 404 ---------- */

.notfound { min-height: 80vh; display: flex; align-items: center; padding-top: var(--header-h); }
.notfound .page-title { margin-bottom: 28px; }


/* =====================================================================
   19/10: parts brought over from the research copy, plus his notes
   ===================================================================== */

[hidden] { display: none !important; }

/* page-to-page fade where the browser supports it */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.45s; }

/* ---- the slogan rises line by line ---- */
.hero-title .tl { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .tl > span { display: inline-block; animation: title-rise 1.1s var(--ease) both; animation-delay: calc(0.2s + var(--i) * 0.12s); }
@keyframes title-rise { from { transform: translateY(108%); } to { transform: none; } }
.hero-eyebrow,
.hero-foot { animation: soft-in 0.9s 0.75s var(--ease) both; }
@keyframes soft-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- social is vertical: a row of upright clips across the hero ---- */
.hero-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; background: #000; }
.hero-strip video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .hero-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-strip video:nth-child(n + 4) { display: none; }
}

/* ---- "Let's talk": a record button ---- */
.rec-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none; background: #e5484d;
  animation: rec-pulse 1.8s ease-out infinite;
}
@keyframes rec-pulse {
  0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0); }
  100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0); }
}
.header-cta .rec-dot { width: 7px; height: 7px; margin-right: 2px; }
.site-footer { padding-top: 0; }
.footer-cta {
  display: grid; gap: 28px 60px; align-items: end;
  padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--on-ink-faint); margin-bottom: 48px;
}
@media (min-width: 900px) { .footer-cta { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }
.footer-cta-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(24px, 3.2vw, 46px); line-height: 1.08; letter-spacing: 0.005em; }
.footer-cta p { color: var(--on-ink-muted); margin-top: 14px; max-width: 46ch; font-size: 16px; }
.footer-cta-side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (min-width: 900px) { .footer-cta-side { align-items: flex-end; } }
.talk-btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 17px 30px 17px 24px; border: 1px solid var(--on-ink); border-radius: 999px;
  font-family: var(--display); font-weight: 700; font-size: clamp(13px, 1.2vw, 16px); letter-spacing: 0.16em; text-transform: uppercase;
  transition: background-color 0.25s, color 0.25s;
}
.talk-btn:hover { background: var(--on-ink); color: var(--ink); }
.talk-btn .rec-dot { width: 11px; height: 11px; }
@media (prefers-reduced-motion: reduce) { .rec-dot { animation: none; } }

/* ---- category tiles first, without a heading ---- */
.cat-tiles { padding-top: clamp(28px, 4vw, 56px); }
.cat-tiles + .logos { border-top: 0; }
.cat-tile--strip .vstrip { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; background: var(--ink); }
.vclip { position: relative; overflow: hidden; }
.cat-tile .vclip img,
.cat-tile .vclip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---- category pages open on their film ---- */
.cat-hero {
  position: relative; overflow: hidden; background: #000; color: var(--on-ink);
  display: flex; align-items: flex-end; height: min(70vh, 660px); min-height: 440px;
}
.cat-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cat-hero-strip { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.cat-hero-strip video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .cat-hero-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-hero-strip video:nth-child(n + 4) { display: none; }
}
.cat-hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 26%),
    linear-gradient(to top, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0) 70%);
}
.cat-hero-head { position: relative; z-index: 3; padding-bottom: clamp(26px, 4vw, 56px); }
.cat-hero .eyebrow { color: rgba(242, 241, 237, 0.82); }
.cat-hero .page-title { font-size: clamp(32px, 5.4vw, 88px); }
.cat-hero .page-intro { color: rgba(242, 241, 237, 0.8); }
.cat-hero + .work { padding-top: clamp(30px, 4vw, 56px); }

/* ---- social cards are vertical ---- */
.card.is-vertical .card-media { aspect-ratio: 9 / 16; }
@media (max-width: 699px) { .card.is-vertical .card-media { aspect-ratio: 4 / 5; } }
.scroller-track .card.is-vertical { width: clamp(150px, 15vw, 236px); }
.card-award {
  position: absolute; left: 10px; top: 10px; z-index: 3; pointer-events: none;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 999px;
  background: rgba(11, 11, 11, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-family: var(--display); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink);
}
.card-award::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* ---- grid / index views ---- */
.work-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.view-toggle { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--on-ink-faint); border-radius: 999px; }
.view-toggle button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 13px; border-radius: 999px;
  font-family: var(--display); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-ink-muted);
  transition: background-color 0.25s, color 0.25s;
}
.view-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.view-toggle button[aria-pressed="true"] { background: var(--on-ink); color: var(--ink); }
.index-list { position: relative; z-index: 1; border-top: 1px solid var(--on-ink-faint); }
.index-row a {
  display: grid; align-items: baseline; gap: 20px;
  grid-template-columns: 44px minmax(0, 1.5fr) minmax(0, 1fr) 130px 54px;
  padding: 18px 0; border-bottom: 1px solid var(--on-ink-faint);
  transition: padding 0.4s var(--ease), color 0.3s;
}
.ix-thumb { display: none; }
.ix-num { font-family: var(--display); font-size: 10px; letter-spacing: 0.12em; color: var(--on-ink-muted); }
.ix-title { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2.3vw, 34px); line-height: 1.1; text-transform: uppercase; letter-spacing: 0.01em; }
.ix-client, .ix-year { color: var(--on-ink-muted); font-size: 14px; }
.ix-cat { color: var(--on-ink-muted); font-family: var(--display); font-size: 9.5px; letter-spacing: 0.16em; text-transform: uppercase; }
.ix-award { font-style: normal; margin-inline-start: 8px; font-family: var(--display); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ink); white-space: nowrap; }
@media (hover: hover) {
  .index-list:hover .index-row a { color: rgba(242, 241, 237, 0.32); }
  .index-list:hover .index-row a:hover { color: var(--on-ink); padding-left: 14px; }
  .index-row a:hover .ix-title { text-shadow: 0 2px 26px rgba(0, 0, 0, 0.55); }
}
.ix-preview {
  position: fixed; left: 0; top: 0; z-index: 0; width: clamp(260px, 24vw, 380px); aspect-ratio: 16 / 9;
  pointer-events: none; background: #000; overflow: hidden;
  opacity: 0; transform: translate(-50%, -50%) scale(0.9); transition: opacity 0.25s, transform 0.4s var(--ease);
}
.ix-preview.is-vertical { width: clamp(150px, 12vw, 210px); aspect-ratio: 9 / 16; }
.ix-preview.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ix-preview img, .ix-preview video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .index-row a { grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 14px; padding: 12px 0; align-items: center; }
  .ix-num, .ix-cat, .ix-year { display: none; }
  .ix-thumb { display: block; grid-row: span 2; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
  .index-row.is-vertical .ix-thumb { aspect-ratio: 9 / 16; width: 48px; justify-self: center; }
  .ix-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .ix-title { font-size: 15px; align-self: end; }
  .ix-client { font-size: 13px; align-self: start; }
  .work-controls { width: 100%; flex-wrap: nowrap; gap: 8px; }
  .work-controls .tabs {
    flex: 1; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 86%, transparent); mask-image: linear-gradient(to right, #000 86%, transparent);
    padding-right: 24px;
  }
  .work-controls .tabs::-webkit-scrollbar { display: none; }
  .work-controls .tabs a { flex: none; min-height: 36px; padding: 0 13px; }
  .vt-label { display: none; }
  .view-toggle button { padding: 0 10px; min-height: 30px; }
}

/* ---- project page: a little narrower; the film loops quietly until you press play ---- */
.project { --max: 1400px; }
.player-loop { opacity: 0; transition: opacity 0.9s ease; }
.player .player-loop { object-fit: cover; }
.player-loop.is-ready { opacity: 1; }
.player.is-playing .player-loop { display: none; }
.player.has-loop .player-btn { background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0)); }
.reels[style="--n: 1"] { grid-template-columns: minmax(0, 380px); }

/* ---- 404: the shot that didn't make the cut ---- */
.notfound {
  position: relative; overflow: hidden; background: #000; color: var(--on-ink);
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: var(--header-h) 0 48px;
}
.nf-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.nf-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72)); }
.nf-inner { position: relative; z-index: 2; display: grid; justify-items: center; gap: 12px; }
.nf-code { font-family: var(--display); font-weight: 700; font-size: clamp(110px, 24vw, 340px); line-height: 0.85; letter-spacing: -0.02em; }
.nf-title { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(22px, 3vw, 40px); letter-spacing: 0.04em; }
.nf-text { color: rgba(242, 241, 237, 0.82); margin-bottom: 16px; }

/* ---- About: behind the shot, one block per project, zigzagging down the page ---- */
.bt-list { display: grid; gap: clamp(56px, 7vw, 110px); }
.bt-project { display: grid; gap: clamp(22px, 3vw, 40px); }
.bt-name { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 1.6vw, 22px); letter-spacing: 0.08em; text-transform: uppercase; }
.bt-name a:hover { text-decoration: underline; text-underline-offset: 6px; }
.bt-pair {
  --bts-w: 0.62fr;
  display: grid; grid-template-columns: minmax(0, var(--bts-w)) minmax(0, 1.4fr); gap: 6px;
  width: min(100%, 1060px);
}
.bt-pair[style*="--count: 2"] { --bts-w: 0.95fr; }
.bt-pair[style*="--count: 3"], .bt-pair[style*="--count: 4"], .bt-pair[style*="--count: 5"] { --bts-w: 1.15fr; }
.bt-pair.is-flipped { margin-left: auto; grid-template-columns: minmax(0, 1.4fr) minmax(0, var(--bts-w)); }
.bt-pair.is-flipped .bt-bts { order: 2; }
.bt-pair.is-big { width: 100%; }
.bt-bts { position: relative; display: grid; gap: 6px; min-height: 0; }
.bt-bts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bt-bts--3 { grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.bt-bts--3 .bt-photo:first-of-type { grid-row: span 2; }
.bt-bts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.bt-bts--5 { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
.bt-bts--5 .bt-photo:first-of-type { grid-row: span 2; }
.bt-photo { position: relative; display: block; width: 100%; height: 100%; min-height: 0; overflow: hidden; background: var(--ink-2); cursor: zoom-in; }
.bt-shot { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-2); }
.bt-media { position: absolute; inset: 0; display: block; }
.bt-photo img, .bt-photo video,
.bt-media img, .bt-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-photo img, .bt-media img { transition: transform 0.9s var(--ease), filter 0.5s; filter: brightness(0.92); }
.bt-pair video { opacity: 0; transition: opacity 0.35s; }
.bt-pair.is-playing video.is-ready { opacity: 1; }
.bt-pair:hover img { filter: brightness(1); }
.bt-photo:hover img { transform: scale(1.03); }
.bt-pair .tag {
  position: absolute; left: 8px; top: 8px; pointer-events: none; z-index: 2;
  font-family: var(--display); font-size: 8.5px; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap;
  padding: 5px 9px; border-radius: 999px;
  background: rgba(11, 11, 11, 0.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.bt-pair figcaption { grid-column: 1 / -1; color: var(--on-ink-muted); font-size: 14px; padding-top: 6px; }
.bt-pair.is-flipped figcaption { text-align: right; }
@media (max-width: 760px) {
  .bt-pair, .bt-pair.is-flipped { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .bt-pair.is-flipped .bt-bts { order: 0; }
  .bt-bts { aspect-ratio: 4 / 3; }
  .bt-bts--1 { aspect-ratio: 4 / 5; max-height: 70vh; }
  .bt-pair.is-flipped figcaption { text-align: left; }
  .bt-pair .tag { left: 6px; top: 6px; font-size: 7px; letter-spacing: 0.1em; padding: 4px 7px; }
}
.bt-pair figcaption { order: 3; }

/* ---- social projects: one row of small upright cards inside the grid ---- */
.card-row { grid-column: 1 / -1; }
.vrow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(10px, 1.2vw, 18px); }
.vrow .card-cat { display: none; }
.vrow .card-title { font-size: 12px; }
.vrow .card-sub { font-size: 13px; }
@media (max-width: 1099px) { .vrow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .vrow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .vrow .card.is-vertical .card-media { aspect-ratio: 9 / 16; }
}

/* header: About and Let's talk read clearly against the video */
.site-nav > a:not(.btn) { font-size: 12.5px; font-weight: 700; color: var(--on-ink); }
.header-cta { font-size: 12px; border-color: var(--on-ink); border-width: 1.5px; }
.header-cta:hover { background: var(--on-ink); color: var(--ink); }
/* hero: Let's talk is the main button, the showreel a quiet outline */
.hero-reel { background: transparent; color: var(--on-ink); border-color: rgba(242, 241, 237, 0.55); }
.hero-reel:hover { background: rgba(242, 241, 237, 0.12); border-color: var(--on-ink); }
.header-cta, .hero-talk { font-weight: 700; }
@media (max-width: 760px) {
  .hero-actions { flex-wrap: wrap; gap: 10px; }
  .hero-actions .btn { padding-left: 18px; padding-right: 18px; }
  .hero-talk { order: -1; }
}

/* phones only: a one-time note that the site is made for a big screen, with a share button */
.bigscreen {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 60;
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px;
  padding: 12px 10px 12px 16px; border-radius: 16px;
  background: rgba(20, 20, 20, 0.92); color: var(--on-ink); border: 1px solid var(--on-ink-faint);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-family: var(--text); font-size: 13px; line-height: 1.35;
  transform: translateY(140%); opacity: 0; transition: transform 0.5s var(--ease), opacity 0.4s;
}
.bigscreen[hidden] { display: none; }
.bigscreen.is-on { transform: none; opacity: 1; }
.bigscreen p { margin: 0; color: var(--on-ink-muted); }
.bigscreen strong { display: block; color: var(--on-ink); font-family: var(--display); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 3px; }
.bigscreen-share {
  min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--on-ink); color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap;
}
.bigscreen-close { width: 32px; height: 36px; border: 0; background: none; color: var(--on-ink-muted); font-size: 22px; line-height: 1; cursor: pointer; }
@media (min-width: 761px) { .bigscreen { display: none !important; } }
