body.page-photography .photographyMain,
body.page-motion .photographyMain {
  --photo-card-gap: clamp(0.95rem, 1.8vw, 1.4rem);
  max-width: none;
  width: 100%;
  padding: 0;
  padding-inline: 0 !important;
  background: #0a0a0a;
}

body.page-photography .photoInfoStrip,
body.page-motion .photoInfoStrip {
  width: 100%;
  margin: 0;
  padding: clamp(1.6rem, 3.2vw, 2.8rem) 0;
  background: #ececec;
  color: #111;
}

body.page-photography .photoInfoInner,
body.page-motion .photoInfoInner {
  width: min(100%, 1460px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 2.8vw, 2.6rem);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.4vw, 2.1rem);
  align-items: start;
}

body.page-photography .photoInfoCol,
body.page-motion .photoInfoCol {
  min-width: 0;
  padding-inline: clamp(0.15rem, 0.6vw, 0.45rem);
}

body.page-photography .photoInfoKicker,
body.page-motion .photoInfoKicker {
  margin: 0;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: rgba(0, 0, 0, 0.5);
}

body.page-photography .photoInfoDash,
body.page-motion .photoInfoDash {
  margin: 0.35rem 0 0.5rem;
  color: rgba(0, 0, 0, 0.42);
}

body.page-photography .photoInfoBody,
body.page-motion .photoInfoBody {
  margin: 0;
  max-width: 33ch;
  font-size: clamp(0.75rem, 0.95vw, 0.92rem);
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.82);
  text-wrap: balance;
}

body.page-photography .photoInfoBody a,
body.page-motion .photoInfoBody a {
  color: inherit;
}

body.page-photography .photoInfoEmail,
body.page-motion .photoInfoEmail {
  font-weight: 600;
  white-space: nowrap;
}

body.page-photography .photoInfoInlineContact,
body.page-motion .photoInfoInlineContact {
  white-space: nowrap;
}

body.page-photography .photoInfoNoBreak,
body.page-motion .photoInfoNoBreak {
  white-space: nowrap;
}

body.page-photography .photoInfoLinks,
body.page-motion .photoInfoLinks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.18rem;
}

body.page-photography .photoInfoLinks a,
body.page-motion .photoInfoLinks a {
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  color: rgba(0, 0, 0, 0.68);
  text-decoration: underline;
  text-underline-offset: 1px;
}

body.page-photography .photoInfoLinks a:hover,
body.page-photography .photoInfoLinks a:focus-visible,
body.page-motion .photoInfoLinks a:hover,
body.page-motion .photoInfoLinks a:focus-visible {
  color: rgba(0, 0, 0, 0.9);
}

body.page-photography .photoCategoryList,
body.page-motion .photoCategoryList {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--photo-card-gap);
  background: #fff;
}

body.page-photography .photoCategoryCard,
body.page-motion .photoCategoryCard {
  position: relative;
  display: block;
  width: 100%;
  min-height: clamp(180px, 24vw, 460px);
  overflow: hidden;
  border: 0;
  text-decoration: none;
  background: #050505;
}

body.page-photography .photoCategoryCard img,
body.page-motion .photoCategoryCard img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.9;
}

body.page-photography .photoCategoryCard::after,
body.page-motion .photoCategoryCard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.56) 0%,
    rgba(0, 0, 0, 0.24) 38%,
    rgba(0, 0, 0, 0) 72%
  );
  pointer-events: none;
}

body.page-photography .photoCategoryCardLabel {
  position: relative;
  font-family: "Bebas Neue", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 0.92;
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.08);
  align-self: flex-end;
  text-align: right;
  margin-bottom: 40px;
}

body.page-photography .photoCategoryCardCopy {
  position: absolute;
  inset: 0;
  padding: 80px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(1rem, 2.2vw, 2.4rem);
}

/* Motion Design hub: same banner aspect as home .categoryTile (2560×948), letterboxed like work index */
body.page-motion .photoCategoryCard {
  container-type: inline-size;
  container-name: motion-category-card;
  aspect-ratio: 2560 / 948;
  min-height: clamp(380px, 46vmin, 760px);
  isolation: isolate;
}

body.page-motion .photoCategoryCard.photoCategoryCard--exiting {
  visibility: hidden;
}

body.page-motion .photoCategoryCard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: contain;
  object-position: center center;
  transform: translate3d(0, 0, 0) scale(1.02);
  transition: transform 1.05s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.35s ease;
}

body.page-motion .photoCategoryCard:hover img,
body.page-motion .photoCategoryCard:focus-visible img {
  transform: translate3d(0, 0, 0) scale(1.055);
  opacity: 1;
}

/* Stranger Things key art: near-black PNG + letterbox; tint stage so a missing deploy asset is not flat black */
body.page-motion a.photoCategoryCard[href*="motion-stranger-things"] {
  background: radial-gradient(
      ellipse 92% 88% at 50% 38%,
      #3a1018 0%,
      #14060a 50%,
      #060203 100%
    ),
    #080204;
}

/* Dark key art: bottom scrim stacks above in-flow img in some engines and reads as solid black */
body.page-motion a.photoCategoryCard[href*="motion-stranger-things"]::after {
  opacity: 0;
}

body.page-motion a.photoCategoryCard[href*="motion-stranger-things"] img {
  opacity: 1;
}

body.page-motion .photoCategoryCardCopy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;
  padding-top: 0;
  padding-right: clamp(1.15rem, calc(100vw * 948 * 0.044 / 2560), 3rem);
  padding-bottom: clamp(1.05rem, calc(100vw * 948 * 0.042 / 2560), 2.85rem);
  padding-left: 0;
}

body.page-motion .photoCategoryCardLabel {
  position: relative;
  font-family: "Bebas Neue", "Inter", system-ui, sans-serif;
  font-size: clamp(1.125rem, calc(100vw * 948 * 0.078 / 2560), 4.5rem);
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 0.92;
  color: #fff;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  align-self: flex-end;
  text-align: right;
  margin-bottom: 0;
  max-width: min(94%, 100% - 1.5rem);
}

@supports (font-size: 1cqi) {
  body.page-motion .photoCategoryCardCopy {
    padding-right: clamp(1.15rem, 1.65cqi, 3rem);
    padding-bottom: clamp(1.05rem, 1.55cqi, 2.85rem);
  }

  body.page-motion .photoCategoryCardLabel {
    font-size: clamp(1.125rem, 2.9cqi, 4.5rem);
  }
}

body.page-photography .photoCategoryCardMeta {
  margin: 0;
  max-width: min(90ch, 72%);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.7rem, 0.95vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.8);
  text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.52);
}

body.page-photography .photoCategoryCardMetaLine {
  display: block;
  white-space: nowrap;
}

body.page-photography .photoCategoryCard:hover img,
body.page-photography .photoCategoryCard:focus-visible img {
  transform: scale(1.03);
  opacity: 1;
}

body.page-photography .photoCategoryCard:focus-visible,
body.page-motion .photoCategoryCard:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  body.page-photography .photographyMain,
  body.page-motion .photographyMain {
    padding-top: 0.5rem;
    padding-inline: 0 !important;
  }

  body.page-photography .photoInfoStrip,
  body.page-motion .photoInfoStrip {
    padding: 1.1rem 0 1.25rem;
    margin-bottom: 0.8rem;
  }

  body.page-photography .photoInfoInner,
  body.page-motion .photoInfoInner {
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    padding-inline: 1rem;
  }

  body.page-photography .photoInfoBody,
  body.page-motion .photoInfoBody {
    max-width: none;
  }

  body.page-photography .photoCategoryList,
  body.page-motion .photoCategoryList {
    gap: 0.6rem;
  }

  body.page-photography .photoCategoryCard {
    min-height: clamp(160px, 42vw, 230px);
    border-top-width: 1px;
    border-bottom-width: 1px;
  }

  body.page-motion .photoCategoryCard {
    min-height: 0;
    aspect-ratio: 2560 / 948;
    border: 0;
  }

  body.page-photography .photoCategoryCardLabel {
    font-size: clamp(1.5rem, 7.6vw, 2rem);
    margin-bottom: 18px;
  }

  body.page-photography .photoCategoryCardCopy {
    inset: 0;
    padding: 1rem 0.85rem 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  body.page-motion .photoCategoryCardCopy {
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-end;
    padding-top: 0;
    padding-right: clamp(0.85rem, 3.5vw, 1.25rem);
    padding-bottom: clamp(0.65rem, 2.8vw, 1rem);
    padding-left: clamp(0.85rem, 3.5vw, 1rem);
  }

  body.page-motion .photoCategoryCardLabel {
    margin-bottom: 0;
    max-width: min(94%, 100% - 1.5rem);
  }

  body.page-photography .photoCategoryCardMeta {
    max-width: none;
    font-size: clamp(0.66rem, 2.9vw, 0.8rem);
    line-height: 1.35;
  }

  body.page-photography .photoCategoryCardMetaLine {
    white-space: normal;
  }
}
