/* DASAR: tipografi, tata letak, navigasi, dan kartu
   File ini dibaca sesuai urutan stylesheet pada index.html. */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fg);
  font: 15px/1.6 Arial,sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.w {
  width: min(1160px,92%);
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #ffffff15;
  z-index: 5;
}

nav {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: bold;
  letter-spacing: .08em;
}

.brand b {
  font-size: 24px;
  margin-right: 10px;
}

.nav {
  display: flex;
  gap: 25px;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.contact {
  border: 1px solid var(--acid);
  color: var(--acid);
  padding: 9px 15px;
  font-size: 12px;
}

.hero {
  display: grid;
  align-items: center;
  padding: 60px 0;
}

.eyebrow {
  color: var(--acid);
  font-size: 10px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 22px 0;
}

.hero p {
  color: var(--muted);
  max-width: 480px;
}

.btn {
  display: inline-block;
  background: var(--acid);
  color: #111;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: bold;
  margin-top: 20px;
}

.art {
  border: 1px solid #383b36;
  position: relative;
  overflow: hidden;
}

.art:before,.art:after {
  content: "";
  position: absolute;
  border: 1px solid #d4ef7355;
  border-radius: 50%;
  width: 420px;
  height: 420px;
  left: 10%;
  top: 10%;
  transform: rotate(-25deg);
}

.art strong {
  position: absolute;
  font-size: clamp(80px,12vw,145px);
}

.art small {
  position: absolute;
  top: 20px;
  left: 20px;
  font: 10px monospace;
}

section {
  border-top: 1px solid #ffffff12;
}

.head {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 25px;
}

.head h2 {
  font-size: 11px;
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
}

.rule {
  height: 1px;
  background: var(--line);
  flex: 1;
}

.head p {
  font-size: 11px;
  color: var(--muted);
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 8px 13px;
  cursor: pointer;
  font-size: 11px;
}

.filter.active,.filter:hover {
  background: var(--acid);
  border-color: var(--acid);
}

.projects {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: .2s;
}

.card:hover {
  transform: translateY(-4px);
}

.poster {
  height: 190px;
  display: grid;
  place-items: center;
  position: relative;
}

.poster:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#0007,transparent);
}

.poster span {
  z-index: 1;
}

.meta {
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meta h3 {
  font-size: 14px;
  margin: 0;
}

.meta p {
  font-size: 11px;
  color: var(--muted);
  margin: 4px 0 0;
}

.arr {
  border: 1px solid #4a4e4a;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
}

.about {
  display: grid;
  grid-template-columns: .7fr 1.5fr .7fr;
  gap: 30px;
  align-items: center;
}

.portrait {
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-weight: bold;
  color: #d4ef7325;
}

.about h2 {
  font-size: 36px;
  margin: 0;
}

.about p {
  color: var(--muted);
}

.chips {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.chips span {
  border: 1px solid var(--line);
  padding: 5px 10px;
  font-size: 10px;
}

.tools {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  color: var(--muted);
  font-size: 12px;
}

.tools h4 {
  color: var(--acid);
  font-size: 10px;
  letter-spacing: .12em;
}

.award {
  display: grid;
  grid-template-columns: 80px 1fr 110px;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.award time {
  color: var(--acid);
  font: 12px monospace;
}

.award h3 {
  margin: 0;
  font-size: 14px;
}

.award p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
}

.award small {
  text-align: right;
  color: var(--muted);
}

.contactbox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.contactbox h2 {
  font-size: clamp(38px,6vw,65px);
  line-height: 1;
  letter-spacing: -.06em;
}

.social {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

footer {
  border-top: 1px solid #ffffff15;
  padding: 25px 0;
  color: var(--muted);
  font-size: 11px;
  display: flex;
  justify-content: space-between;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 10;
  place-items: center;
  padding: 20px;
}

.modal.open {
  display: grid;
}

.box {
  border: 1px solid var(--line);
  padding: 28px;
}

.box p {
  color: var(--muted);
}

.close {
  float: right;
  background: none;
  border: 0;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width:800px) {
  .projects {
    grid-template-columns: repeat(2,1fr);
  }
  .about {
    grid-template-columns: 1fr 2fr;
  }
  .tools {
    grid-column: 1/-1;
    border: 0;
    padding: 0;
  }
  .nav {
    gap: 12px;
  }
}

@media (max-width:520px) {
  .nav {
    display: none;
  }
  .projects {
    grid-template-columns: 1fr;
  }
  .about,.contactbox {
    grid-template-columns: 1fr;
  }
  .award {
    grid-template-columns: 55px 1fr;
  }
  .award small {
    display: none;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
}

:root {
  --bg: #090909;
  --panel: #141414;
  --line: #343434;
  --fg: #f2f0ec;
  --muted: #a6a5a2;
  --acid: #e8e5df;
}

body {
  background: var(--bg);
  font-family: Arial,Helvetica,sans-serif;
}

header {
  background: #090909ed;
}

.brand b {
  color: #f2f0ec;
}

.nav a:hover {
  color: #fff;
}

.hero {
  min-height: 690px;
  grid-template-columns: 1.08fr .92fr;
  gap: 5vw;
}

.hero h1 {
  font-family: Georgia,'Times New Roman',serif;
  font-size: clamp(51px,6.6vw,96px);
  font-weight: 400;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.hero h1 em {
  font-weight: 400;
  font-style: italic;
  color: #bbb8b2;
}

.hero p {
  font-size: 15px;
  line-height: 1.9;
}

.eyebrow {
  letter-spacing: .24em;
}

.btn {
  border-radius: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact {
  border-radius: 0;
}

.art {
  height: 560px;
  border-radius: 0;
  border-color: #444;
  background: #151515 url("../assets/site-background.jpg") center 32%/cover no-repeat;
  filter: grayscale(1);
  isolation: isolate;
}

.art:before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  left: 0;
  top: 0;
  border: 0;
  border-radius: 0;
  transform: none;
  background: linear-gradient(90deg,#0003,transparent 45%),linear-gradient(0deg,#000b,transparent 50%);
  z-index: 0;
}

.art:after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  left: 0;
  top: 0;
  border: 0;
  border-radius: 0;
  transform: none;
  box-shadow: inset 0 0 95px #0007;
  pointer-events: none;
}

.art strong {
  font: italic 100px Georgia,serif;
  letter-spacing: -.09em;
  color: #fff8;
  bottom: 20px;
  left: 24px;
  z-index: 1;
}

.art small {
  color: #f2f0ec;
  z-index: 1;
  letter-spacing: .25em;
}

section {
  padding: 90px 0;
}

.head h2 {
  color: #f2f0ec;
}

.head p {
  font-style: italic;
}

.filter {
  border-radius: 0;
}

.filter.active,.filter:hover {
  color: #111;
}

.card {
  border-radius: 0;
}

.card:hover {
  border-color: #c6c3bd;
}

.poster {
  filter: grayscale(.85);
  font-family: Georgia,serif;
  font-weight: 400;
  letter-spacing: -.035em;
  font-size: clamp(26px,3vw,38px);
  text-align: center;
  padding: 16px;
}

.poster span {
  max-width: 95%;
  overflow-wrap: anywhere;
}

.p1 {
  background: radial-gradient(circle,#5d5250,#171717);
}

.p2 {
  background: radial-gradient(circle,#6d6b66,#171717);
}

.p3 {
  background: radial-gradient(circle,#57616a,#151515);
}

.p4 {
  background: radial-gradient(circle,#7e7569,#1c1b1b);
}

.p5 {
  background: linear-gradient(135deg,#292929,#777);
}

.p6 {
  background: linear-gradient(135deg,#252525,#595959);
}

.arr {
  color: #fff;
  border-color: #777;
}

.portrait {
  height: 320px;
  background: #161616 url("../assets/site-background.jpg") center 30%/cover no-repeat;
  filter: grayscale(1);
  font-size: 0;
}

.about h2 {
  font-family: Georgia,serif;
  font-weight: 400;
}

.about h2 em {
  font-style: italic;
  color: #bdb9b2;
}

.chips span {
  border-radius: 0;
}

.contactbox h2 {
  font-family: Georgia,serif;
  font-weight: 400;
}

.contactbox em {
  color: #bbb8b2;
  font-style: italic;
}

.box {
  background: #111;
  border-radius: 0;
  max-width: 780px;
  width: min(780px,95vw);
  max-height: 90vh;
  overflow: auto;
}

.box h2 {
  color: #fff;
  font-family: Georgia,serif;
  font-weight: 400;
  font-size: 32px;
}

.box iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  background: #000;
  margin-top: 14px;
}

.reel-frame {
  aspect-ratio: 16/9;
  background: linear-gradient(125deg,#0b0b0b,#171717 50%,#0b0b0b);
  border: 1px solid #343434;
  position: relative;
}

.reel-frame:after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid #ffffff0a;
  pointer-events: none;
}

.reel-caption {
  font-size: 11px;
  color: #8c8b87;
  letter-spacing: .12em;
  margin-top: 12px;
  text-transform: uppercase;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.feature-visual {
  min-height: 310px;
  background: radial-gradient(circle at 55% 50%,#45413e,#171717 70%);
  border: 1px solid #444;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}

.feature-visual span {
  font: italic clamp(38px,5vw,70px) Georgia,serif;
  line-height: 1.1;
}

.feature h3 {
  font: normal clamp(32px,4vw,52px) Georgia,serif;
  line-height: 1.08;
  margin: 0 0 20px;
}

.feature p {
  color: var(--muted);
  line-height: 1.9;
}

.feature .eyebrow {
  margin-bottom: 15px;
}

.video-note {
  font-size: 11px;
  color: #aaa;
}

@media (max-width:800px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .art {
    height: 440px;
  }
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-visual {
    min-height: 230px;
  }
}

@media (max-width:520px) {
  .hero h1 {
    font-size: 54px;
  }
  .art {
    height: 370px;
  }
  .portrait {
    height: 270px;
  }
  .reel-frame:after {
    inset: 10px;
  }
  section {
    padding: 65px 0;
  }
}

.youtube-cover {
  position: relative;
  display: block !important;
  overflow: hidden;
  background: #0a0a0a !important;
  isolation: isolate;
}

.youtube-cover img,.featured-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(.30) contrast(1.12);
  transition: filter .3s,transform .4s;
}

.youtube-cover::after,.featured-video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,#0005,transparent 45%);
  pointer-events: none;
}

.youtube-cover .youtube-play,.featured-video-cover .youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid #ffffffbb;
  border-radius: 50%;
  background: #090909aa;
  color: #fff;
  font-size: 22px;
  padding-left: 4px;
  z-index: 2;
  transition: background .2s,transform .2s;
}

.carousel-card:hover .youtube-cover img,.featured-video-cover:hover img {
  filter: grayscale(0) contrast(1.04);
  transform: scale(1.035);
}

.carousel-card:hover .youtube-play,.featured-video-cover:hover .youtube-play {
  background: #e9e8e4;
  color: #111;
  transform: translate(-50%,-50%) scale(1.08);
}

.featured-video-cover {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 280px;
  background: #111;
}

.featured-video-cover:focus-visible,.carousel-card:focus-visible {
  outline: 2px solid #e9e8e4;
  outline-offset: 3px;
}

.source-caption {
  font-size: 12px;
  line-height: 1.65;
  color: #b8b8b8;
  margin: 12px 0 10px;
  white-space: normal;
}

.card-role-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
  margin-top: 12px;
}

.card-role-grid span {
  border: 1px solid #414141;
  padding: 7px 8px;
  font-size: 9px;
  letter-spacing: .06em;
  color: #e5e5e5;
  overflow-wrap: anywhere;
}

.detail-label {
  font: 10px/1.4 monospace;
  letter-spacing: .16em;
  color: #a9a9a9;
  margin: 22px 0 10px;
}

.pdf-caption {
  font-size: 14px !important;
  line-height: 1.85 !important;
  color: #e2e2e2 !important;
  white-space: pre-wrap;
}

.detail-role-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  margin-bottom: 22px;
}

.detail-role-grid .role-cell {
  border: 1px solid #4b4b4b;
  background: #191919;
  padding: 15px 12px;
  min-height: 52px;
  display: flex;
  align-items: center;
  font: 11px/1.5 monospace;
  letter-spacing: .06em;
}

.detail-role-grid .role-empty {
  grid-column: 1/-1;
  color: #aaa;
  font-size: 12px;
}

@media (max-width:560px) {
  .detail-role-grid {
    grid-template-columns: 1fr;
  }
  .card-role-grid {
    grid-template-columns: 1fr 1fr;
  }
}

#gallery {
  padding-top: 90px;
  padding-bottom: 100px;
}

.gallery-eyebrow,.gallery-line,.gallery-number,.gallery-zoom,.gallery-footnote {
  font-family: monospace;
  letter-spacing: .13em;
}

.gallery-eyebrow {
  font-size: 10px;
  color: #aaa;
  margin-bottom: 22px;
}

.gallery-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 45px;
}

.gallery-title-row h2 {
  font-size: clamp(48px,8vw,108px);
  line-height: .95;
  letter-spacing: -.075em;
  font-weight: 500;
  max-width: 740px;
}

.gallery-dot {
  color: #888;
}

.gallery-title-row p {
  max-width: 285px;
  font-size: 13px;
  line-height: 1.75;
  color: #aaa;
  margin-bottom: 7px;
}

.gallery-line {
  border-top: 1px solid #5b5b5b;
  padding-top: 12px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  color: #aaa;
  font-size: 10px;
}

.art-gallery {
  display: grid;
  grid-template-columns: repeat(12,minmax(0,1fr));
  gap: 32px 22px;
  align-items: start;
}

.gallery-piece {
  margin: 0;
  min-width: 0;
}

.gallery-wide {
  grid-column: span 8;
}

.gallery-portrait {
  grid-column: span 4;
}

.gallery-square {
  grid-column: span 6;
}

.gallery-image {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  border: 1px solid #454545;
  background: #101010;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
}

.gallery-portrait .gallery-image {
  aspect-ratio: 4/5;
}

.gallery-square .gallery-image {
  aspect-ratio: 1/1;
}

.gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12);
  transition: transform .65s ease,filter .65s ease;
}

.gallery-image:hover img,.gallery-image:focus-visible img {
  filter: grayscale(.12) contrast(1.04);
  transform: scale(1.045);
}

.gallery-image:focus-visible {
  outline: 2px solid white;
  outline-offset: 4px;
}

.gallery-zoom {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: #0b0b0be8;
  color: #eee;
  padding: 10px 12px;
  font-size: 10px;
  opacity: 0;
  transform: translateY(5px);
  transition: all .25s;
}

.gallery-image:hover .gallery-zoom,.gallery-image:focus-visible .gallery-zoom {
  opacity: 1;
  transform: none;
}

.gallery-piece figcaption {
  display: flex;
  gap: 18px;
  align-items: start;
  padding-top: 13px;
  border-top: 1px solid #343434;
  margin-top: 10px;
}

.gallery-number {
  color: #888;
  font-size: 10px;
  min-width: 52px;
}

.gallery-piece figcaption strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
}

.gallery-piece figcaption small {
  display: block;
  color: #999;
  font-size: 11px;
  margin-top: 5px;
}

.gallery-footnote {
  font-size: 10px;
  color: #888;
  margin-top: 36px;
  line-height: 1.7;
}

@media (max-width:760px) {
  .gallery-title-row {
    display: block;
  }
  .gallery-title-row p {
    margin-top: 18px;
  }
  .art-gallery {
    gap: 26px 12px;
  }
  .gallery-wide,.gallery-square {
    grid-column: span 12;
  }
  .gallery-portrait {
    grid-column: span 6;
  }
  .gallery-image,.gallery-portrait .gallery-image,.gallery-square .gallery-image {
    aspect-ratio: 4/3;
  }
  .gallery-portrait .gallery-image {
    aspect-ratio: 3/4;
  }
  .gallery-zoom {
    opacity: 1;
    transform: none;
    font-size: 8px;
  }
  .gallery-piece figcaption {
    gap: 7px;
    flex-wrap: wrap;
  }
  .gallery-number {
    min-width: auto;
  }
}

@media (max-width:440px) {
  .gallery-portrait {
    grid-column: span 12;
  }
  .gallery-portrait .gallery-image {
    aspect-ratio: 4/3;
  }
}

#awards .competition-team {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 10px;
  row-gap: 3px;
  margin: 9px 0 7px;
}

#awards .competition-team span {
  color: #aaa;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 600;
}

#awards .competition-team strong {
  color: #f3f2ef;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .01em;
}

#awards .competition-project-link {
  font-family: Arial,Helvetica,sans-serif;
  appearance: none;
  -webkit-appearance: none;
}

#awards .competition-project-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

#works .poster, .featured-video-cover {
  position: relative;
  isolation: isolate;
}

#works .poster .project-award-overlay,
.featured-video-cover .project-award-overlay {
  position: absolute;
  left: 12px;
  bottom: 12px;
  right: auto;
  width: max-content;
  max-width: calc(100% - 24px);
  z-index: 5;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 10px;
  background: rgba(9,9,9,.91);
  border: 1px solid rgba(255,255,255,.62);
  box-shadow: 0 5px 24px rgba(0,0,0,.4);
  color: #f8f7f4;
  text-align: left;
  letter-spacing: normal;
  pointer-events: none;
  filter: none;
  transform: translateY(0);
  transition: background .28s ease-in-out,border-color .28s ease-in-out,transform .28s ease-in-out;
}

#works .poster .project-award-overlay--finalist {
  border-color: rgba(255,255,255,.40);
}

#works .project-award-head,.featured-video-cover .project-award-head {
  display: block;
  font: 700 10px/1.32 Arial,Helvetica,sans-serif;
  letter-spacing: .075em;
  white-space: normal;
}

#works .project-award-sub,.featured-video-cover .project-award-sub {
  display: block;
  font: 400 9px/1.35 Arial,Helvetica,sans-serif;
  letter-spacing: .045em;
  color: #d6d5d0;
  white-space: normal;
}

#works .carousel-card:hover .project-award-overlay,
.featured-video-cover:hover .project-award-overlay {
  background: rgba(4,4,4,.97);
  border-color: rgba(255,255,255,.85);
  transform: translateY(-2px);
}

.featured-video-cover .project-award-overlay--featured {
  left: 18px;
  bottom: 18px;
  padding: 11px 14px;
  max-width: calc(100% - 36px);
}

.featured-video-cover .project-award-head {
  font-size: 12px;
}

.featured-video-cover .project-award-sub {
  font-size: 10px;
}

@media (max-width:560px) {
  #works .poster .project-award-overlay {
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }
  .featured-video-cover .project-award-overlay--featured {
    left: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }
}

@media (prefers-reduced-motion:reduce) {
  #works .poster .project-award-overlay,.featured-video-cover .project-award-overlay {
    transition: none;
  }
}

#works {
  padding: 0;
  border: 0;
}

.work-category {
  padding: 76px 0 82px;
  border-top: 1px solid #ffffff1a;
  position: relative;
}

.category-label {
  font-size: 10px;
  letter-spacing: .24em;
  color: #aaa;
  margin-bottom: 12px;
}

.category-heading h2 {
  font: normal clamp(36px,5.5vw,70px)/1.05 Georgia,'Times New Roman',serif;
  letter-spacing: -.045em;
  margin: 0;
  color: #f3f1ed;
}

.category-heading p {
  color: #aaa;
  font-size: 13px;
  margin: 14px 0 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 17px;
}

.carousel-count {
  font: 10px/1.2 monospace;
  letter-spacing: .13em;
  color: #999;
  margin-right: auto;
}

.carousel-arrow {
  height: 42px;
  width: 48px;
  border: 1px solid #505050;
  background: #171717;
  color: #eee;
  font-size: 21px;
  cursor: pointer;
  transition: background .2s,color .2s;
}

.carousel-arrow:hover:not(:disabled) {
  background: #f1eee8;
  color: #111;
}

.carousel-arrow:disabled {
  opacity: .3;
  cursor: default;
}

.carousel-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #555 #111;
  padding: 0 0 18px;
  outline-offset: 5px;
}

.carousel-track .carousel-card {
  flex: 0 0 calc((100% - 36px)/3);
  min-width: 0;
  scroll-snap-align: start;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

.carousel-track .poster {
  height: 220px;
  filter: saturate(.45);
}

.carousel-track .meta {
  flex: 1;
}

.carousel-track .meta h3 {
  font-size: 15px;
}

.carousel-track .carousel-card:hover {
  border-color: #c7c4bf;
}

@media (max-width:800px) {
  .carousel-track .carousel-card {
    flex-basis: calc((100% - 18px)/2);
  }
  .work-category {
    padding: 60px 0;
  }
}

@media (max-width:560px) {
  .carousel-track .carousel-card {
    flex-basis: 84%;
  }
  .carousel-track .poster {
    height: 210px;
  }
  .carousel-controls {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .carousel-track {
    scroll-behavior: auto;
  }
}

.carousel-card .meta {
  display: block;
}

.carousel-card .meta h3 {
  margin-bottom: 12px;
}

.card-role-line {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 0 0 8px;
  max-width: 100%;
  align-items: center;
}

.card-role-line .role-pill {
  flex: 0 0 auto;
  border: 1px solid #4a4a4a;
  padding: 7px 10px;
  color: #d7d7d7;
  font: 10px/1.25 monospace;
  letter-spacing: .04em;
  white-space: nowrap;
}

.carousel-card .arr {
  display: none;
}

.carousel-card .youtube-cover .youtube-play {
  display: none;
}

.project-detail-page {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  background: #080808;
  color: #eaeaea;
  overscroll-behavior: contain;
}

.project-detail-page.open {
  display: block;
}

.project-detail-content {
  box-sizing: border-box;
  width: min(1080px,calc(100% - 40px));
  margin: 0 auto;
  padding: 32px 0 100px;
  min-height: 100vh;
  position: relative;
  background: none;
  border: 0;
  box-shadow: none;
  max-height: none;
  overflow: visible;
}

.project-detail-content .detail-back {
  display: inline-flex;
  align-items: center;
  position: static;
  background: none;
  color: #eee;
  border: 1px solid #555;
  padding: 12px 18px;
  font: 12px monospace;
  cursor: pointer;
  margin-bottom: 52px;
}

.project-detail-content .eyebrow {
  font: 11px monospace;
  letter-spacing: .18em;
  color: #aaa;
  margin-bottom: 18px;
}

.project-detail-content #title {
  font-size: clamp(38px,7vw,90px);
  line-height: 1.04;
  letter-spacing: -.055em;
  margin: 0 0 32px;
  max-width: 100%;
}

.detail-category {
  font: 11px monospace;
  color: #a5a5a5;
  letter-spacing: .14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.project-detail-content #video-slot {
  width: 100%;
  aspect-ratio: 16/9;
  background: #111;
  border: 1px solid #292929;
  margin: 0 0 28px;
  overflow: hidden;
}

.project-detail-content #video-slot iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.project-detail-content #video-slot:empty {
  display: none;
}

.detail-media-fallback {
  display: none;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg,#1d1d1d,#090909);
  border: 1px solid #333;
  align-items: center;
  justify-content: center;
  color: #777;
  font: 12px monospace;
  letter-spacing: .15em;
  margin-bottom: 28px;
}

.detail-media-fallback.visible {
  display: flex;
}

.project-detail-content .detail-label {
  margin-top: 30px;
}

.project-detail-content .pdf-caption {
  font-size: 16px !important;
  line-height: 1.85 !important;
  max-width: 800px;
  margin: 0 0 25px;
}

.project-detail-content .detail-role-grid {
  grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
  margin-bottom: 40px;
}

.project-detail-content #link {
  display: inline-block;
  margin-top: 12px;
}

@media (max-width:600px) {
  .project-detail-content {
    width: calc(100% - 32px);
    padding-top: 20px;
  }
  .project-detail-content .detail-back {
    margin-bottom: 36px;
  }
  .project-detail-content .detail-role-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

#gallery .gallery-piece figcaption {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-top: 12px;
}

#gallery .gallery-piece figcaption strong {
  display: block;
}

#gallery .gallery-piece figcaption small,#gallery .gallery-number {
  display: none;
}

@media (max-width:600px) {

}

#home.hero {
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  gap: clamp(24px,4vw,64px);
  min-height: 620px;
}

#home .hero-visual-composition {
  min-width: 0;
  display: grid;
}

#home .hero-portrait-small {
  width: 100%;
  min-width: 0;
}

#home .hero-portrait-small strong {
  font-size: clamp(38px,5vw,75px);
  bottom: 10px;
  left: 12px;
}

#home .hero-portrait-small small {
  font-size: 8px;
  left: 10px;
  top: 12px;
}

#home .competition-eyebrow {
  grid-column: 1/-1;
  font: 9px/1.6 monospace;
  letter-spacing: .12em;
  color: #b7b7b7;
}

#home .competition-photo {
  border: 1px dashed #555;
  background: linear-gradient(145deg,#222,#111);
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 12px;
  color: #969696;
  position: relative;
  overflow: hidden;
}

#home .competition-photo-icon {
  font-size: 23px;
  font-weight: 200;
  color: #bbb;
}

#home .competition-photo>span:last-child {
  font: 9px/1.4 monospace;
  letter-spacing: .09em;
}

#home .competition-photo-1 {
  grid-column: 1/-1;
}

#home .competition-photo-2,#home .competition-photo-3 {
  grid-row: 3;
}

#home .competition-photo::after {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid #ffffff08;
  pointer-events: none;
}

@media (max-width:1000px) {
  #home.hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  #home .hero-visual-composition {
    max-width: 700px;
    grid-template-columns: minmax(140px,.38fr) minmax(0,1fr);
  }
}

@media (max-width:540px) {
  #home .competition-documentation {
    gap: 7px;
    grid-template-rows: auto 110px 110px;
  }
  #home .competition-photo {
    padding: 5px;
  }
  #home .competition-photo>span:last-child {
    font-size: 7px;
  }
  #home .competition-eyebrow {
    font-size: 8px;
  }
}

#home .hero-portrait-small,#about .portrait {
  filter: none !important;
}

#home .competition-documentation {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  grid-template-columns: none;
  grid-template-rows: none;
}

#home .competition-eyebrow {
  min-height: 28px;
  line-height: 1.5;
}

#home .competition-stage {
  position: relative;
}

#home .competition-slide img {
  display: block;
}

@keyframes competition-in {
  from {
    opacity: .45;
    transform: scale(1.015);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

#home .competition-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#home .competition-caption {
  font-size: 11px;
  line-height: 1.4;
  color: #e5e5e5;
}

#home .competition-caption span {
  display: block;
  color: #929292;
  font: 9px/1.5 monospace;
  letter-spacing: .03em;
  margin-top: 3px;
}

#home .competition-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

#home .competition-nav button {
  background: #141414;
  border: 1px solid #454545;
  color: #eee;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

#home #competition-count {
  color: #aaa;
  font: 10px monospace;
}

#home .competition-nav button:hover,#home .competition-nav button:focus-visible {
  background: #333;
}

#gallery .gallery-image img,#gallery .gallery-image:hover img,#gallery .gallery-image:focus-visible img {
  filter: none !important;
}

#gallery .gallery-image:hover img,#gallery .gallery-image:focus-visible img {
  transform: scale(1.035);
}

#gallery .gallery-piece {
  min-width: 0;
}

#gallery .art-gallery {
  grid-template-columns: repeat(12,minmax(0,1fr));
}

#gallery .art-gallery .gallery-wide {
  grid-column: span 8;
}

#gallery .art-gallery .gallery-portrait {
  grid-column: span 4;
}

#gallery .art-gallery .gallery-square {
  grid-column: span 4;
}

#gallery .art-gallery .gallery-wide .gallery-image {
  aspect-ratio: 16/10;
}

#gallery .art-gallery .gallery-portrait .gallery-image {
  aspect-ratio: 3/4;
}

#gallery .art-gallery .gallery-square .gallery-image {
  aspect-ratio: 4/5;
}

#gallery .gallery-piece figcaption,#gallery .gallery-piece figcaption strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#gallery .gallery-piece figcaption {
  margin-top: 9px;
  border-top: 1px solid #333;
  padding: 10px 0 0;
}

#gallery .gallery-piece figcaption strong {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

#gallery .gallery-image {
  background: #151515;
}

.gallery-archive-box {
  border-top: 1px solid #333;
  margin-top: 48px;
  padding-top: 16px;
}

.gallery-archive-head {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.gallery-archive-count {
  color: #888;
  font: 10px monospace;
  letter-spacing: .08em;
}

.archive-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #888;
  color: #e9e9e9;
  cursor: pointer;
  padding: 14px 0;
  text-align: left;
  font: 12px/1.5 monospace;
  letter-spacing: .07em;
}

.archive-toggle:hover {
  color: white;
  border-color: white;
}

.gallery-archive-panel[hidden] {
  display: none !important;
}

.gallery-archive-panel {
  padding: 32px 0 4px;
}

.archive-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.archive-filter {
  border: 1px solid #3a3a3a;
  background: #141414;
  color: #aaa;
  cursor: pointer;
  padding: 9px 13px;
  font: 11px monospace;
}

.archive-filter.active {
  background: #eee;
  color: #131313;
  border-color: #eee;
}

.gallery-archive-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 28px 16px;
}

.gallery-archive-grid .gallery-archive-piece {
  grid-column: auto;
  min-width: 0;
}

.gallery-archive-grid .gallery-image {
  aspect-ratio: 4/3 !important;
}

.gallery-archive-grid .gallery-piece[hidden] {
  display: none !important;
}

.gallery-archive-grid .gallery-piece figcaption strong {
  font-size: 11px;
}

.carousel-card .real-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none !important;
}

.carousel-card .real-cover:hover img {
  transform: scale(1.02);
}

.project-gallery-section {
  border-top: 1px solid #343434;
  padding-top: 30px;
  margin: 28px 0 22px;
}

.project-gallery-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.project-gallery-heading h3 {
  font-size: clamp(22px,3vw,35px);
  line-height: 1.1;
  letter-spacing: -.035em;
  font-weight: 500;
  margin: 0;
}

.project-gallery-heading span {
  color: #888;
  font: 11px monospace;
}

.project-image-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 13px;
}

.project-image-grid .project-image-button {
  min-width: 0;
  display: block;
  text-align: left;
  border: 0;
  background: none;
  color: #eee;
  padding: 0;
  cursor: pointer;
}

.project-image-button img {
  display: block;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  border: 1px solid #3f3f3f;
  filter: none !important;
  transition: transform .25s ease;
}

.project-image-button:hover img {
  transform: translateY(-3px);
}

.project-image-button span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-top: 9px;
  font-size: 11px;
  color: #bcbcbc;
}

.project-gallery-empty {
  background: #121212;
  border: 1px solid #303030;
  color: #8b8b8b;
  padding: 40px 20px;
  font: 12px monospace;
  grid-column: 1/-1;
}

.detail-media-fallback.visible {
  overflow: hidden;
}

.detail-media-fallback img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  filter: none !important;
}

.gallery-lightbox[hidden] {
  display: none !important;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(5,5,5,.98);
  color: #f2f2f2;
  padding: clamp(12px,2vw,30px);
  overflow: auto;
}

.gallery-lightbox.is-open {
  display: block;
}

.lightbox-inner {
  max-width: 1360px;
  margin: 0 auto;
  min-height: calc(100dvh - 42px);
  display: flex;
  flex-direction: column;
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0 15px;
  border-bottom: 1px solid #333;
  color: #aaa;
  font: 10px/1.5 monospace;
  letter-spacing: .12em;
}

.lightbox-close {
  background: transparent;
  color: #eee;
  border: 1px solid #555;
  cursor: pointer;
  padding: 11px 14px;
  font: 11px monospace;
}

.lightbox-image-wrap {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 230px;
  padding: 22px 0;
}

.lightbox-image-wrap img {
  display: block;
  max-width: 100%;
  max-height: min(70dvh,950px);
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
}

.lightbox-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0 8px;
  border-top: 1px solid #333;
}

.lightbox-caption {
  font-size: clamp(14px,2vw,21px);
  line-height: 1.4;
}

.lightbox-origin {
  color: #999;
  font: 11px monospace;
  margin-top: 7px;
}

.lightbox-controls {
  display: flex;
  gap: 9px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lightbox-controls button {
  background: #171717;
  color: #eee;
  border: 1px solid #494949;
  cursor: pointer;
  padding: 11px 13px;
  font: 11px monospace;
}

.lightbox-controls button:hover,.lightbox-close:hover {
  background: #303030;
}

.lightbox-controls #lightbox-count {
  color: #999;
  min-width: 55px;
  text-align: center;
  font: 10px monospace;
}

.lightbox-view-project {
  white-space: nowrap;
}

@media (max-width:1050px) {
  #gallery .gallery-archive-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

@media (max-width:800px) {
  #home .hero-visual-composition {
    max-width: none;
  }
  #gallery .art-gallery .gallery-wide {
    grid-column: span 12;
  }
  #gallery .art-gallery .gallery-portrait,#gallery .art-gallery .gallery-square {
    grid-column: span 6;
  }
  #gallery .gallery-archive-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width:600px) {
  #home .hero-portrait-small {
    height: 235px;
  }
  #home .competition-stage {
    height: 185px;
  }
  #home .competition-caption {
    font-size: 10px;
  }
  #home .competition-nav {
    gap: 4px;
  }
  #home .competition-nav button {
    height: 27px;
    width: 26px;
  }
  #gallery .art-gallery {
    gap: 20px 12px;
  }
  #gallery .art-gallery .gallery-wide {
    grid-column: span 12;
  }
  #gallery .art-gallery .gallery-square,#gallery .art-gallery .gallery-portrait {
    grid-column: span 6;
  }
  #gallery .art-gallery .gallery-portrait .gallery-image {
    aspect-ratio: 4/5;
  }
  #gallery .gallery-piece figcaption strong {
    font-size: 10px;
  }
  #gallery .gallery-archive-grid {
    gap: 20px 10px;
  }
  .project-image-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .lightbox-footer {
    display: block;
  }
  .lightbox-controls {
    justify-content: space-between;
    margin-top: 20px;
  }
  .lightbox-bar {
    font-size: 9px;
  }
}

@media (max-width:430px) {
  #home .hero-visual-composition {
    grid-template-columns: minmax(102px,.36fr) minmax(0,1fr);
    gap: 8px;
  }
  #home .hero-portrait-small {
    height: 210px;
  }
  #home .competition-stage {
    height: 142px;
  }
  #home .competition-eyebrow {
    font-size: 7px;
    min-height: 24px;
  }
  #home .competition-caption span {
    font-size: 8px;
  }
  #home .competition-caption {
    font-size: 9px;
  }
  #gallery .gallery-archive-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (prefers-reduced-motion:reduce) {
  .competition-slide.active {
    animation: none;
  }
}

header nav .brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}

header nav .brand-hz-logo {
  display: block;
  width: 49px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 auto;
}

#home .hero-portrait-small {
  position: relative;
}

#home .hero-hz-logo {
  position: absolute;
  z-index: 3;
  left: 14px;
  bottom: 16px;
  width: 57px;
  height: auto;
  max-height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px #000c);
}

@media (min-width:1001px) {
  #home.hero {
    grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
    gap: clamp(22px,3.5vw,56px);
    min-height: 665px;
  }
  #home .hero-visual-composition {
    grid-template-columns: minmax(200px,.76fr) minmax(200px,1fr);
    gap: 18px;
    align-items: start;
  }
  #home .hero-portrait-small {
    height: 405px;
    background-position: center 24%;
  }
  #home .competition-stage {
    height: 307px;
  }
}

@media (min-width:801px) and (max-width:1000px) {
  #home .hero-visual-composition {
    grid-template-columns: minmax(225px,.75fr) minmax(0,1fr);
    gap: 16px;
    max-width: none;
  }
  #home .hero-portrait-small {
    height: 410px;
  }
  #home .competition-stage {
    height: 310px;
  }
}

@media (min-width:541px) and (max-width:800px) {
  #home .hero-visual-composition {
    grid-template-columns: minmax(210px,.72fr) minmax(0,1fr);
    gap: 16px;
    max-width: none;
  }
  #home .hero-portrait-small {
    height: 395px;
  }
  #home .competition-stage {
    height: 310px;
  }
}

@media (max-width:540px) {
  #home .hero-visual-composition {
    grid-template-columns: minmax(137px,.75fr) minmax(0,1fr);
    gap: 10px;
  }
  #home .hero-portrait-small {
    height: 295px;
    background-position: center 24%;
  }
  #home .competition-stage {
    height: 207px;
  }
  #home .hero-hz-logo {
    width: 46px;
    bottom: 11px;
    left: 10px;
  }
  header nav .brand-hz-logo {
    width: 38px;
    height: 26px;
  }
  header nav .brand {
    gap: 7px;
    font-size: 10px;
    letter-spacing: .055em;
  }
}

@media (max-width:370px) {
  #home .hero-visual-composition {
    grid-template-columns: minmax(124px,.70fr) minmax(0,1fr);
    gap: 8px;
  }
  #home .hero-portrait-small {
    height: 270px;
  }
  #home .competition-stage {
    height: 178px;
  }
}

#gallery .gallery-archive-grid {
  display: block;
  column-count: 4;
  column-gap: 16px;
}

#gallery .gallery-archive-grid .gallery-piece.gallery-archive-piece {
  display: inline-block;
  vertical-align: top;
  width: 100%;
  max-width: 100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin: 0 0 27px;
  padding: 0;
}

#gallery .gallery-archive-grid .gallery-piece[hidden] {
  display: none !important;
}

#gallery .gallery-archive-grid .gallery-image {
  aspect-ratio: auto !important;
  height: auto !important;
  max-height: none !important;
  overflow: hidden;
}

#gallery .gallery-archive-grid .gallery-image img {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
  transform: none;
}

#gallery .gallery-archive-grid .gallery-image:hover img,#gallery .gallery-archive-grid .gallery-image:focus-visible img {
  transform: none !important;
}

@media (max-width:1050px) {
  #gallery .gallery-archive-grid {
    column-count: 3;
  }
}

@media (max-width:800px) {
  #gallery .gallery-archive-grid {
    column-count: 2;
  }
}

@media (max-width:520px) {
  #gallery .gallery-archive-grid {
    column-count: 2;
    column-gap: 10px;
  }
}

#home .competition-stage {
  display: flex !important;
  flex-direction: column;
  gap: 7px;
  border: 0 !important;
  overflow: hidden;
  background: transparent !important;
}

#home .competition-slide {
  position: relative !important;
  inset: auto !important;
  display: none !important;
  flex: 1 1 calc((100% - 7px)/2);
  min-height: 0;
  overflow: hidden;
  background: #090909;
  border: 1px solid #414141;
}

#home .competition-slide.active {
  display: block !important;
  animation: competition-in .24s ease;
}

#home .competition-slide img {
  filter: none !important;
}

#awards .award-featured {
  border-top: 1px solid #d1c9b0;
}

#awards .award-featured h3 {
  color: #f1eee5;
}

#awards .award-featured small {
  color: #ded2b2;
}

#awards .award-source {
  display: inline-block;
  margin-top: 9px;
  font: 10px/1.4 monospace;
  letter-spacing: .03em;
  color: #bfc0c0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#awards .award-source:hover,#awards .award-source:focus-visible {
  color: #fff;
}

@media (prefers-reduced-motion:reduce) {
  #home .competition-slide.active {
    animation: none;
  }
}

#gallery .art-gallery .gallery-piece .gallery-image,
#gallery .gallery-archive-grid .gallery-piece .gallery-image {
  aspect-ratio: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
  display: block !important;
}

#gallery .art-gallery .gallery-piece .gallery-image img,
#gallery .gallery-archive-grid .gallery-piece .gallery-image img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: none !important;
  display: block;
}

#gallery .gallery-image:hover img,
#gallery .gallery-image:focus-visible img {
  transform: none !important;
  filter: none !important;
}

.carousel-track .poster.youtube-cover {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9 !important;
  padding: 0 !important;
  display: block !important;
  background: #050505 !important;
  overflow: hidden !important;
}

.carousel-track .poster.youtube-cover img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: none !important;
}

.carousel-track .carousel-card:hover .youtube-cover img {
  transform: none !important;
  filter: none !important;
}

.carousel-track .poster.real-cover,
.carousel-track .poster:has(img):not(.youtube-cover) {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  display: block !important;
  background: #080808 !important;
}

.carousel-track .poster.real-cover img,
.carousel-track .poster:has(img):not(.youtube-cover) img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
  filter: none !important;
  display: block !important;
}

.carousel-track .poster.real-cover:hover img {
  transform: none !important;
}

#featured .featured-video-cover {
  display: block !important;
  position: relative !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  background: #050505 !important;
}

#featured .featured-video-cover > img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  transform: none !important;
  filter: none !important;
}

#featured .featured-video-cover:hover > img {
  transform: none !important;
  filter: none !important;
}

.project-detail-page .project-image-grid {
  display: block !important;
  column-count: 3;
  column-gap: 15px;
}

.project-detail-page .project-image-button {
  display: inline-block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  vertical-align: top;
  overflow: visible;
}

.project-detail-page .project-image-button img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: none !important;
  transform: none !important;
  display: block !important;
}

.project-detail-page .project-image-button:hover img,
.project-detail-page .project-image-button:focus-visible img {
  transform: none !important;
  filter: none !important;
}

.project-detail-page #detail-media-fallback.visible:has(img) {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 16px !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  background: #0d0d0d;
  overflow: visible !important;
}

.project-detail-page #detail-media-fallback.visible img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(70vh,750px) !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  transform: none !important;
  filter: none !important;
}

.project-detail-page #video-slot {
  aspect-ratio: 16/9 !important;
  height: auto !important;
  overflow: hidden !important;
}

.project-detail-page #video-slot iframe {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 16/9 !important;
  object-fit: contain !important;
}

.gallery-lightbox .lightbox-image-wrap img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: min(75dvh,950px) !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  transform: none !important;
  filter: none !important;
}
