/* The native shell and category cards stay intact. Recent Work owns one
   cinematic stage, using the site's existing DM Sans and black/white palette. */
.framer-5Bu1N .artwork-native-recent[data-artwork-section="recent"] {
  order: 0;
  position: relative;
  z-index: 2;
  isolation: isolate;
  overflow: visible;
}
section.framer-q2cvu1[data-artwork-section="category"],
section.framer-pnukxt[data-artwork-section="category"] {
  position: relative;
  z-index: 2;
  isolation: isolate;
}
/* Owned artwork frames follow the source composition, including portrait
   presentation sheets, without growing taller than a comfortable viewport. */
.framer-h8zj5k[data-artwork-page] [data-artwork-image-frame] {
  aspect-ratio: var(--artwork-image-ratio);
  height: auto;
  max-width: min(100%, calc(min(84svh, 900px) * var(--artwork-image-ratio)));
}
.framer-h8zj5k[data-artwork-page] [data-artwork-image-frame="hero"] {
  margin-inline: auto;
}
.framer-h8zj5k[data-artwork-page] [data-artwork-image-frame="hero"] .framer-z1s004 {
  aspect-ratio: var(--artwork-image-ratio);
  height: auto;
}
.framer-h8zj5k[data-artwork-page="industrial-game-assets"] .framer-1qkurns .framer-1insu7t {
  padding-top: 0;
}
.artwork-native-recent[data-artwork-layout="cinematic"] {
  gap: 30px;
}
.artwork-native-recent[data-artwork-layout="cinematic"] .framer-1ngkvys {
  min-height: 0;
  height: auto;
  gap: 0;
}
.artwork-native-recent[data-artwork-layout="cinematic"] .framer-1ohpf22 {
  display: none;
}
.artwork-native-recent[data-artwork-layout="cinematic"] .framer-w70grv h1.framer-text {
  --framer-font-size: 30px;
  font-size: 30px;
  line-height: 1.1;
}
.cinematic-showcase[data-artwork-cinematic] {
  width: 100%;
  min-width: 0;
  color: #fff;
  font-family: "DM Sans", "DM Sans Placeholder", sans-serif;
  container-type: inline-size;
}
.cinematic-scroll-track {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: visible;
}
.cinematic-showcase[data-scroll-mode="pinned"] {
  position: sticky;
  top: var(--cinematic-pin-top, 88px);
}
.cinematic-showcase .cinematic-composition {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  align-items: center;
  column-gap: 32px;
}
.cinematic-showcase .cinematic-editorial {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  min-width: 0;
  min-height: 280px;
  padding-block: 12px;
}
.cinematic-showcase .cinematic-project-context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
}
.cinematic-showcase .cinematic-stage {
  position: relative;
  width: 100%;
  --cinematic-stage-height: clamp(320px, calc(100svh - 310px), 680px);
  height: var(--cinematic-stage-height);
  overflow: clip;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  --cinematic-depth: 240px;
  container-type: inline-size;
  touch-action: pan-y;
}
.cinematic-showcase .cinematic-title-line {
  display: block;
}
.cinematic-showcase .cinematic-panels {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}
.cinematic-showcase .cinematic-plane {
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}
.cinematic-showcase .cinematic-plane img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  user-select: none;
  -webkit-user-drag: none;
}
.cinematic-showcase .cinematic-panel {
  position: absolute;
  z-index: 200;
  top: 0;
  left: 15%;
  width: 70%;
  height: 100%;
}
.cinematic-showcase .cinematic-panel img { opacity: 0; }
.cinematic-showcase .cinematic-panel[hidden] {
  display: none !important;
}
.cinematic-showcase .cinematic-main-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-decoration: none;
  touch-action: pan-y;
  -webkit-user-drag: none;
}
.cinematic-showcase .cinematic-main-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  user-select: none;
  -webkit-user-drag: none;
}
.cinematic-showcase .cinematic-preview {
  position: absolute;
  z-index: 201;
  top: 20%;
  width: 12%;
  height: 60%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}
.cinematic-showcase .cinematic-preview.is-previous { left: 0; }
.cinematic-showcase .cinematic-preview.is-next { right: 0; }
.cinematic-showcase .cinematic-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
}
.cinematic-showcase .cinematic-preview:hover,
.cinematic-showcase .cinematic-preview:focus-visible { background: #ffffff0a; }
.cinematic-showcase .cinematic-toolbar {
  position: relative;
  display: flex;
  justify-content: flex-end;
  min-height: 48px;
  margin-top: 14px;
}
.cinematic-showcase .cinematic-project-copy { min-width: 0; }
.cinematic-showcase .cinematic-category {
  margin: 0;
  color: #a3a3a3;
  font-size: 14px;
  line-height: 1.35;
}
.cinematic-showcase .cinematic-project-title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(36px, 5cqw, 72px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.cinematic-showcase .cinematic-project-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
  text-underline-offset: 5px;
  white-space: nowrap;
}
.cinematic-showcase .cinematic-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cinematic-showcase .cinematic-controls button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.cinematic-showcase .cinematic-controls svg { width: 20px; height: 20px; }
.cinematic-showcase [data-cinematic-counter] {
  min-width: 52px;
  color: #a3a3a3;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.cinematic-showcase .cinematic-project-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid #ffffff40;
}
.cinematic-showcase .cinematic-project-nav button {
  position: relative;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 8px 0 12px;
  border: 0;
  background: transparent;
  color: #a3a3a3;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
.cinematic-showcase .cinematic-project-nav button[aria-pressed="true"] {
  color: #fff;
}
.cinematic-showcase .cinematic-project-nav button[aria-pressed="true"]::after {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  content: "";
}
.cinematic-showcase:focus-visible,
.cinematic-showcase :is(button,a):focus-visible {
  outline: 2px solid #fff !important;
  outline-offset: -3px !important;
}
.cinematic-showcase .cinematic-announcement,
.cinematic-showcase .cinematic-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.cinematic-showcase .cinematic-status,
.cinematic-showcase .cinematic-error {
  margin: 12px 0 0;
  color: #a3a3a3;
  font-size: 14px;
}
.cinematic-showcase ::selection { background: #fff; color: #000; }
.cinematic-showcase .cinematic-error a { color: #fff; }
@media (min-width: 810px) and (max-width: 1199.98px) {
  .framer-5Bu1N .artwork-native-recent[data-artwork-section="recent"] { order: 5; }
  .cinematic-showcase .cinematic-composition { column-gap: 24px; }
  .cinematic-showcase .cinematic-controls { gap: 8px; }
  .cinematic-showcase .cinematic-project-nav { gap: 20px; }
  .cinematic-showcase .cinematic-project-nav button { font-size: 15px; }
}
@media (max-width: 809.98px) {
  .framer-5Bu1N .artwork-native-recent[data-artwork-section="recent"] { order: 4; }
  .artwork-native-recent[data-artwork-layout="cinematic"] { gap: 24px; }
  .artwork-native-recent[data-artwork-layout="cinematic"] .framer-w70grv h1.framer-text {
    --framer-font-size: 24px;
    font-size: 24px;
  }
  .cinematic-showcase .cinematic-composition {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
  }
  .cinematic-showcase .cinematic-editorial {
    gap: 12px;
    min-height: 164px;
    padding: 0;
  }
  .cinematic-showcase .cinematic-stage {
    --cinematic-stage-height: clamp(240px, calc(100svh - 470px), 480px);
    --cinematic-depth: 120px;
  }
  .cinematic-showcase .cinematic-plane,
  .cinematic-showcase .cinematic-panel { width: 84%; left: 8%; }
  .cinematic-showcase .cinematic-preview { width: 7%; }
  .cinematic-showcase .cinematic-project-title { font-size: clamp(36px, 10cqw, 44px); }
  .cinematic-showcase .cinematic-project-link { font-size: 16px; }
  .cinematic-showcase .cinematic-toolbar { margin-top: 10px; min-height: 44px; }
  .cinematic-showcase .cinematic-controls { gap: 10px; }
  .cinematic-showcase .cinematic-controls button { width: 44px; height: 44px; }
  .cinematic-showcase .cinematic-project-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 20px; margin-top: 14px; padding-top: 8px; }
  .cinematic-showcase .cinematic-project-nav button { font-size: 15px; min-height: 48px; padding-block: 6px; }
  [data-artwork-page="ucsc-graduation"] header h1.framer-text {
    --framer-font-size: min(64px, 14.35vw);
    font-size: min(64px, 14.35vw);
  }
}
/* Reserve the native fixed bottom gradient while scrolling can pin the stage.
   Apply this before hydration too, so pinning does not change artwork height. */
@media (min-height: 720px) and (prefers-reduced-motion: no-preference) {
  .cinematic-showcase .cinematic-stage { --cinematic-stage-height: clamp(240px, calc(80svh - 270px), 540px); }
}
@media (min-height: 720px) and (max-width: 809.98px) and (prefers-reduced-motion: no-preference) {
  .cinematic-showcase .cinematic-stage { --cinematic-stage-height: clamp(220px, calc(67.0616114svh - 360px), 420px); }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-showcase .cinematic-plane {
    animation: none !important;
    transition: none !important;
  }
}
