:root {
  --bg: #070909;
  --bg-soft: #0d1110;
  --panel: #0f1312;
  --ink: #eee8dc;
  --muted: #a5a19a;
  --dim: #76736d;
  --gold: #c6a06c;
  --gold-bright: #e1bd86;
  --line: rgba(198, 160, 108, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --page-max: 1120px;
  --page-pad: 40px;
  color-scheme: dark;
}

.works-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(198, 160, 108, 0.09) 1px, transparent 1px) 50% 0 / min(86vw, 1180px) 100% no-repeat,
    radial-gradient(circle at 18% 0%, rgba(198, 160, 108, 0.08), transparent 34%),
    linear-gradient(180deg, #080b0b 0%, #050707 48%, #080909 100%);
}

.works-page .site-header {
  background: rgba(5, 7, 7, 0.78);
}

.works-hero,
.works-section {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.works-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: center;
  padding: 92px 0 28px;
  border-bottom: 1px solid rgba(198, 160, 108, 0.22);
}

.works-kicker {
  margin: 0 0 12px;
  color: rgba(225, 189, 134, 0.78);
  font-size: 12px;
  text-transform: uppercase;
}

.works-hero h1 {
  margin: 0 0 20px;
  color: rgba(246, 221, 183, 0.88);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.12em;
  text-shadow: 0 0 24px rgba(198, 160, 108, 0.08);
}

.works-hero__copy h2 {
  margin: 0 0 18px;
  color: rgba(244, 240, 232, 0.88);
  font-size: clamp(26px, 3.35vw, 40px);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

.works-hero__copy > p {
  margin: 0;
  color: rgba(239, 232, 220, 0.78);
  font-size: 15px;
  line-height: 1.9;
}

.works-hero__copy > p span {
  display: block;
  margin-top: 8px;
  color: rgba(239, 232, 220, 0.42);
  font-size: 12px;
  line-height: 1.7;
}

.archive-pack {
  position: relative;
  overflow: visible;
  min-height: 322px;
  padding: 18px 20px 16px 22px;
  border: 0;
  background:
    linear-gradient(140deg, rgba(198, 160, 108, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 62%);
}

.archive-pack::before {
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(180deg, rgba(225, 189, 134, 0.28), rgba(225, 189, 134, 0.04));
  content: "";
  pointer-events: none;
}

.archive-pack::after {
  position: absolute;
  left: 22px;
  right: 108px;
  bottom: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgba(198, 160, 108, 0.18), transparent);
  content: "";
  pointer-events: none;
}

.archive-title {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  padding-left: 14px;
}

.archive-title::before {
  position: absolute;
  left: 0;
  top: 3px;
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, rgba(225, 189, 134, 0.95), rgba(198, 160, 108, 0.18));
  content: "";
}

.archive-title h1 {
  margin: 0;
  color: rgba(244, 240, 232, 0.9);
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.04em;
}

.archive-title span {
  color: rgba(225, 189, 134, 0.62);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-title__video {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid rgba(225, 189, 134, 0.34);
  color: rgba(239, 232, 220, 0.72);
  background: transparent;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.archive-title__video span {
  color: inherit;
  font-size: 14px;
  letter-spacing: 0;
}

.archive-title__video:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateX(2px);
}

.archive-video-status {
  position: absolute;
  right: 20px;
  top: 57px;
  z-index: 8;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid rgba(225, 189, 134, 0.28);
  color: rgba(239, 232, 220, 0.82);
  background: rgba(7, 9, 9, 0.92);
  font-size: 11px;
  letter-spacing: 0.08em;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.archive-video-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.archive-pack__stack {
  position: relative;
  height: 198px;
  margin-top: 8px;
}

.archive-card {
  position: absolute;
  overflow: hidden;
  width: min(352px, 76%);
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(225, 189, 134, 0.22);
  background: #090b0b;
  box-shadow: 0 24px 42px rgba(0, 0, 0, 0.34);
  isolation: isolate;
  opacity: 0;
  pointer-events: none;
  transform: translateX(34px) scale(0.9);
  transition: opacity 220ms ease, transform 260ms ease, filter 220ms ease, box-shadow 220ms ease;
}

.archive-card.is-active {
  left: 0;
  bottom: 0;
  z-index: 3;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.archive-card.is-next {
  left: 86px;
  bottom: 21px;
  z-index: 2;
  opacity: 0.72;
  filter: brightness(0.76);
  transform: translateX(0) scale(0.9) rotate(1.1deg);
}

.archive-card.is-after {
  left: 154px;
  bottom: 42px;
  z-index: 1;
  opacity: 0.36;
  filter: brightness(0.62);
  transform: translateX(0) scale(0.82) rotate(2deg);
}

.archive-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.01) brightness(0.91);
  transition: transform 520ms ease, filter 220ms ease;
}

.archive-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.82));
  content: "";
}

.archive-card div {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  display: grid;
  gap: 2px;
}

.archive-card span {
  color: rgba(225, 189, 134, 0.62);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 0.9;
}

.archive-card strong {
  color: #f4f0e8;
  font-size: 13px;
  font-weight: 600;
}

.archive-card p {
  margin: 0;
  color: rgba(239, 232, 220, 0.46);
  font-size: 9px;
  text-transform: uppercase;
}

.archive-pack:hover .archive-card.is-active {
  transform: translateY(-4px);
}

.archive-pack:hover .archive-card.is-active:hover {
  z-index: 12;
  box-shadow: 0 34px 72px rgba(0, 0, 0, 0.52), 0 0 0 1px rgba(225, 189, 134, 0.42);
  transform: scale(2);
  transform-origin: left top;
}

.archive-pack:hover .archive-card.is-next {
  transform: translateY(-4px) scale(0.9) rotate(1.1deg);
}

.archive-pack:hover .archive-card.is-active img {
  filter: saturate(1.01) contrast(1.02) brightness(0.98);
  transform: scale(1.055);
}

.archive-pack:hover .archive-card.is-active:hover img {
  transform: scale(1);
}

.archive-pack__meta {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 16px;
  padding-right: 86px;
  padding-top: 12px;
  border-top: 0;
}

.archive-pack__meta span {
  color: rgba(225, 189, 134, 0.8);
  font-size: 11px;
  text-transform: uppercase;
}

.archive-pack__meta strong {
  margin-left: auto;
  color: rgba(239, 232, 220, 0.72);
  font-size: 12px;
  font-weight: 400;
}

.archive-pack__meta .archive-title__video {
  margin-left: 4px;
}

.archive-pack__meta b {
  color: var(--gold-bright);
  font-weight: 500;
}

.archive-pack__controls {
  position: absolute;
  right: 20px;
  bottom: 17px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.archive-pack__controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(225, 189, 134, 0.34);
  color: rgba(246, 221, 183, 0.86);
  background: rgba(0, 0, 0, 0.36);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.archive-pack__controls button:hover {
  border-color: rgba(225, 189, 134, 0.76);
  color: #f6ddb7;
  background: rgba(198, 160, 108, 0.12);
  transform: translateY(-1px);
}

.archive-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.archive-tags li {
  padding: 6px 10px;
  border: 1px solid rgba(198, 160, 108, 0.24);
  color: rgba(246, 221, 183, 0.78);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
}

.video-works-head h2 {
  margin: 0;
  color: #f4f0e8;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.works-section {
  padding: 22px 0 54px;
  overflow: hidden;
}

.video-works-head {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  padding-top: 6px;
  border-top: 1px solid rgba(198, 160, 108, 0.16);
}

.works-filter {
  position: sticky;
  top: 72px;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 0;
  padding: 6px 0 12px;
  border-bottom: 1px solid rgba(198, 160, 108, 0.18);
  background: linear-gradient(180deg, rgba(5, 7, 7, 0.98), rgba(5, 7, 7, 0.82));
  backdrop-filter: blur(14px);
}

.filter-button {
  position: relative;
  display: grid;
  gap: 4px;
  align-items: center;
  justify-items: start;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-left: 1px solid rgba(198, 160, 108, 0.16);
  color: rgba(244, 240, 232, 0.46);
  background: transparent;
  font-size: 10px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease, transform 160ms ease;
}

.filter-button:first-child {
  border-left: 0;
}

.filter-button::after {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -15px;
  height: 1px;
  background: var(--gold-bright);
  content: "";
  opacity: 0;
  transform: scaleX(0.24);
  transform-origin: left center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.filter-button span {
  color: rgba(225, 189, 134, 0.9);
  font-size: 14px;
  letter-spacing: 0;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: rgba(198, 160, 108, 0.22);
  color: #f6ddb7;
  background: linear-gradient(180deg, rgba(198, 160, 108, 0.08), transparent);
}

.filter-button[data-work-filter="AI Workflow"] {
  color: rgba(181, 219, 224, 0.68);
  background: linear-gradient(180deg, rgba(128, 181, 190, 0.04), transparent);
}

.filter-button[data-work-filter="AI Workflow"] span {
  color: rgba(181, 219, 224, 0.92);
}

.filter-button[data-work-filter="AI Workflow"]::after {
  background: linear-gradient(90deg, rgba(128, 181, 190, 0.95), rgba(225, 189, 134, 0.75));
}

.filter-button[data-work-filter="AI Workflow"]:hover,
.filter-button[data-work-filter="AI Workflow"].is-active {
  color: #d6f4f6;
  background: linear-gradient(180deg, rgba(128, 181, 190, 0.14), rgba(198, 160, 108, 0.03));
}

.filter-button:hover::after,
.filter-button.is-active::after {
  opacity: 0.85;
  transform: scaleX(1);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(198, 160, 108, 0.14);
  border-top: 0;
  background: rgba(0, 0, 0, 0.14);
}

.works-card {
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  cursor: pointer;
}

.works-card.image-card {
  display: grid;
  grid-template-rows: auto 1fr;
  aspect-ratio: auto;
}

.works-card.featured-card::before,
.works-card.featured-card::after {
  display: none;
}

.works-card > img {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
}

.works-page .works-card > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.works-card:hover {
  border-color: rgba(225, 189, 134, 0.58);
}

.works-card--ai {
  border-color: rgba(128, 181, 190, 0.24);
  background:
    linear-gradient(180deg, rgba(128, 181, 190, 0.05), rgba(0, 0, 0, 0.2)),
    rgba(0, 0, 0, 0.2);
}

.works-card--ai::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0%, rgba(128, 181, 190, 0.08) 42%, transparent 62%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.2));
  content: "";
  opacity: 0.32;
  transition: opacity 180ms ease;
}

.works-card--ai:hover {
  border-color: rgba(128, 181, 190, 0.64);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(128, 181, 190, 0.12);
}

.works-card--ai:hover::before {
  opacity: 0.58;
}

.works-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(225, 189, 134, 0.34);
  color: rgba(246, 221, 183, 0.9);
  background: rgba(0, 0, 0, 0.48);
  font-size: 11px;
  text-transform: uppercase;
}

.works-card__lab {
  position: absolute;
  right: 12px;
  bottom: calc(112px + 12px);
  z-index: 4;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid rgba(128, 181, 190, 0.42);
  color: rgba(214, 244, 246, 0.9);
  background: rgba(0, 0, 0, 0.52);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.works-card__play {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(225, 189, 134, 0.58);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0.82;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.works-card__play i {
  display: block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--gold-bright);
}

.works-card:hover .works-card__play {
  background: rgba(198, 160, 108, 0.18);
  box-shadow: 0 0 22px rgba(225, 189, 134, 0.22);
  opacity: 0;
  transform: scale(1.08);
}

.works-card__caption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  grid-template-columns: 50px 1fr;
  min-height: 112px;
  padding: 13px 12px 12px;
  background: rgba(0, 0, 0, 0.54);
  transition: background 180ms ease;
}

.works-card .works-card__caption {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
}

.works-card__caption h3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.works-card__caption p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.works-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.works-card__meta em {
  color: rgba(239, 232, 220, 0.58);
  font-size: 10px;
  font-style: normal;
}

.works-card__meta em + em::before {
  margin-right: 8px;
  color: rgba(198, 160, 108, 0.42);
  content: "/";
}

.works-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.works-card__badges b {
  padding: 3px 6px;
  border: 1px solid rgba(198, 160, 108, 0.24);
  color: rgba(246, 221, 183, 0.7);
  background: rgba(0, 0, 0, 0.22);
  font-size: 9px;
  font-weight: 400;
  text-transform: uppercase;
}

.works-card__action {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
  padding: 7px 10px;
  border: 1px solid rgba(225, 189, 134, 0.48);
  color: rgba(246, 221, 183, 0.94);
  background: rgba(0, 0, 0, 0.48);
  font-size: 11px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.works-card__action span {
  display: inline-block;
  transition: transform 180ms ease;
}

.works-card:hover .works-card__action {
  opacity: 1;
  transform: translateY(0);
}

.works-card:hover .works-card__action span {
  transform: translateX(3px);
}

.works-card:hover .works-card__caption {
  background: rgba(0, 0, 0, 0.72);
}

.works-card--ai .works-card__caption {
  background: linear-gradient(180deg, rgba(6, 14, 15, 0.86), rgba(0, 0, 0, 0.64));
}

.works-card--ai .works-card__category,
.works-card--ai .works-card__badges b {
  border-color: rgba(128, 181, 190, 0.36);
  color: rgba(214, 244, 246, 0.84);
}

.works-card--ai .works-card__category {
  top: 46px;
}

.works-card--ai .works-card__action {
  border-color: rgba(128, 181, 190, 0.5);
  color: rgba(214, 244, 246, 0.95);
}

@media (max-width: 980px) {
  .works-hero,
  .works-section {
    width: min(100% - 36px, 760px);
  }

  .works-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 112px;
  }

  .archive-pack {
    min-height: 318px;
  }

  .archive-card.is-next {
    left: 78px;
    transform: scale(0.9) rotate(1.1deg);
  }

  .archive-card.is-after {
    left: 138px;
    transform: scale(0.82) rotate(2deg);
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .works-filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 1px;
  }
}

@media (max-width: 640px) {
  .works-hero,
  .works-section {
    width: min(100% - 28px, 520px);
  }

  .works-hero {
    padding-top: 98px;
  }

  .archive-pack {
    min-height: 298px;
    padding: 18px 18px 16px 20px;
  }

  .archive-pack__stack {
    height: 178px;
  }

  .archive-card {
    width: 88%;
  }

  .archive-card.is-next {
    left: 48px;
    transform: scale(0.88) rotate(1.1deg);
  }

  .archive-card.is-after {
    left: 86px;
    transform: scale(0.8) rotate(2deg);
  }

  .archive-pack:hover .archive-card.is-next {
    transform: translateY(-4px) scale(0.88) rotate(1.1deg);
  }

  .archive-pack__meta {
    display: grid;
    gap: 5px;
  }

  .works-filter {
    position: static;
    grid-template-columns: 1fr;
  }

  .filter-button {
    min-height: 42px;
    border-left: 0;
    border-top: 1px solid rgba(198, 160, 108, 0.14);
  }

  .works-grid {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 58% 7%, rgba(198, 160, 108, 0.08), transparent 28%),
    linear-gradient(90deg, #060808 0%, #0b0f0e 48%, #070909 100%);
  color: var(--ink);
  font-family: "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", Arial, sans-serif;
}

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

img {
  display: block;
  width: 100%;
}

main,
section,
article,
div {
  min-width: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 230px 1fr 110px;
  align-items: center;
  width: 100%;
  height: 62px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(5, 7, 7, 0.76);
  backdrop-filter: blur(14px);
  transition: height 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

body:not(.is-loaded) .site-header {
  opacity: 0;
  transform: translateY(-10px);
}

body.is-loaded .site-header {
  animation: header-enter 620ms ease both;
}

.is-scrolled .site-header {
  height: 56px;
  background: rgba(5, 7, 7, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(198, 160, 108, 0.42);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: var(--gold-bright);
  transition: transform 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(38deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-38deg);
}

.brand {
  color: var(--gold-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 400;
  letter-spacing: 0.42em;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(30px, 5.3vw, 68px);
  color: #c7c2ba;
  font-size: 11px;
  letter-spacing: 0.14em;
}

.nav a {
  position: relative;
  padding: 23px 0 20px;
}

.nav a.active,
.nav a:hover {
  color: var(--gold-bright);
}

.nav a.active::after,
.nav a:hover::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  height: 1px;
  background: var(--gold-bright);
  content: "";
}

.socials {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: #d6d0c6;
  font-size: 13px;
  opacity: 0.82;
}

.play-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 14px;
  border: 1px solid #d6d0c6;
  border-radius: 2px;
  font-size: 9px;
  line-height: 1;
}

.hero {
  position: relative;
  height: clamp(528px, 38vw, 610px);
  min-height: 528px;
  padding: 118px 40px 58px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: #070909;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.94) 0%, rgba(7, 9, 9, 0.84) 32%, rgba(7, 9, 9, 0.22) 64%, rgba(7, 9, 9, 0.46) 100%),
    linear-gradient(0deg, rgba(7, 9, 9, 1) 0%, rgba(7, 9, 9, 0.12) 42%);
  content: "";
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.94) contrast(1.05) brightness(0.88);
  transform: scale(1.035);
  transform-origin: 60% 28%;
  will-change: transform;
}

body.is-loaded .hero-bg {
  animation: hero-drift 9000ms ease-out both;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 330px;
  margin-left: max(24px, calc((100vw - var(--page-max)) / 2 + 24px));
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
}

body.is-loaded .hero-copy > * {
  animation: cinematic-enter 720ms cubic-bezier(0.2, 0.72, 0.18, 1) both;
}

body.is-loaded .hero-copy > *:nth-child(1) {
  animation-delay: 90ms;
}

body.is-loaded .hero-copy > *:nth-child(2) {
  animation-delay: 180ms;
}

body.is-loaded .hero-copy > *:nth-child(3) {
  animation-delay: 270ms;
}

body.is-loaded .hero-copy > *:nth-child(4) {
  animation-delay: 360ms;
}

body.is-loaded .hero-copy > *:nth-child(5) {
  animation-delay: 450ms;
}

.hero h1 {
  margin: 0 0 15px;
  color: #d1ad7d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 78px;
  font-weight: 300;
  letter-spacing: 0.34em;
  line-height: 0.95;
}

.hero-role {
  margin: 0 0 17px;
  color: var(--gold-bright);
  font-size: 19px;
  letter-spacing: 0.13em;
}

.hero-role span {
  display: block;
  margin-top: 8px;
  color: #cfc5b6;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.hero-statement {
  margin: -4px 0 18px;
  color: rgba(225, 189, 134, 0.78);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.035em;
}

.hero-statement span {
  display: block;
  max-width: 360px;
  margin-top: 3px;
  color: rgba(205, 198, 186, 0.66);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.03em;
}

.hero-list {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0 0 22px;
  color: #c9c4bc;
  font-size: 13px;
  line-height: 1.25;
  list-style: none;
}

.hero-list li {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 12px;
  align-items: baseline;
}

.hero-list span {
  color: #d7d0c6;
}

.hero-list strong {
  color: #968f86;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 148px;
  height: 36px;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid rgba(198, 160, 108, 0.72);
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.outline-button em {
  color: #9f927e;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.outline-button > span {
  margin-left: auto;
}

.outline-button:hover {
  background: rgba(198, 160, 108, 0.11);
  box-shadow: 0 0 0 1px rgba(198, 160, 108, 0.18), 0 12px 28px rgba(0, 0, 0, 0.24);
  transform: translateY(-1px);
}

.outline-button--ghost {
  width: 132px;
  color: #e7d4b6;
  background: rgba(0, 0, 0, 0.18);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 28px;
  color: var(--gold);
  font-size: 8px;
  letter-spacing: 0.13em;
  writing-mode: vertical-rl;
}

.scroll-cue::after {
  display: block;
  width: 1px;
  height: 38px;
  margin: 9px auto 0;
  background: var(--gold);
  content: "";
}

.hero-identity {
  position: absolute;
  z-index: 2;
  top: 116px;
  right: max(34px, calc((100vw - var(--page-max)) / 2 - 10px));
  display: grid;
  justify-items: end;
  width: 170px;
}

.hero-mark {
  display: block;
  width: 116px;
  opacity: 0.82;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.34));
}

.hero-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  margin-top: -16px;
  color: #cbb698;
  text-align: right;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.hero-meta span {
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-meta strong {
  color: #d4c7b3;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.hero-meta p {
  margin: 0;
  color: #8f8578;
  font-size: 11px;
  line-height: 1.6;
}

.section {
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding: 27px 40px 0;
}

.section-tight {
  padding-top: 27px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.section-head h2,
.bottom-grid h2 {
  margin: 0;
  color: var(--gold-bright);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.section-head p,
.zh-sub {
  margin: 5px 0 0;
  color: #c8b59b;
  font-size: 13px;
  letter-spacing: 0.03em;
}

.section-head a {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: #d8c7af;
  font-size: 11px;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.section-head a span {
  color: #867d70;
  font-size: 9px;
  letter-spacing: 0.08em;
  transition: color 180ms ease, transform 180ms ease;
}

.section-head a::after,
.capability-card__copy a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: linear-gradient(90deg, rgba(225, 189, 134, 0.86), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.2);
  transform-origin: left;
  transition: opacity 180ms ease, transform 220ms ease;
}

.section-head a:hover,
.capability-card__copy a:hover {
  color: #f6ddb7;
  transform: translateY(-1px);
}

.section-head a:hover span,
.capability-card__copy a:hover {
  color: rgba(225, 189, 134, 0.96);
}

.section-head a:hover span {
  transform: translateX(3px);
}

.section-head a:hover::after,
.capability-card__copy a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.image-card {
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  background: var(--panel);
  isolation: isolate;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.image-card img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(0.98) brightness(0.94);
  transition: filter 220ms ease, transform 520ms ease;
}

.image-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, transparent, rgba(225, 189, 134, 0.12), transparent);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateX(-34%);
  transition: opacity 220ms ease, transform 520ms ease;
}

.image-card:hover {
  border-color: rgba(225, 189, 134, 0.38);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28), inset 0 0 0 1px rgba(225, 189, 134, 0.08);
  transform: translateY(-4px);
}

.image-card:hover img {
  filter: saturate(0.99) contrast(1) brightness(0.99);
  transform: scale(1.035);
}

.image-card:hover::after {
  opacity: 1;
  transform: translateX(34%);
}

.featured-card {
  height: auto;
  aspect-ratio: 16 / 9;
}

.featured-item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.featured-card::before {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(225, 189, 134, 0.58);
  border-radius: 50%;
  color: var(--gold-bright);
  background: rgba(0, 0, 0, 0.38);
  content: "";
  opacity: 0.76;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.featured-card::after {
  position: absolute;
  top: 19px;
  right: 18px;
  z-index: 4;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--gold-bright);
  background: transparent;
  content: "";
  opacity: 0.86;
  pointer-events: none;
  transform: translateX(1px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.featured-card:hover::before {
  background: rgba(198, 160, 108, 0.18);
  box-shadow: 0 0 22px rgba(225, 189, 134, 0.22);
  opacity: 1;
  transform: scale(1.12);
}

.featured-card:hover::after {
  opacity: 1;
  transform: translateX(1px) scale(1.08);
}

/* Homepage uses a real play element so Works card styles cannot hide its triangle. */
.featured-grid .featured-card::before,
.featured-grid .featured-card::after {
  display: none;
}

.featured-card__play {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(225, 189, 134, 0.64);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0.86;
  pointer-events: none;
  transition: transform 180ms ease, background 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

.featured-card__play i {
  display: block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--gold-bright);
}

.featured-card:hover .featured-card__play {
  background: rgba(198, 160, 108, 0.18);
  box-shadow: 0 0 22px rgba(225, 189, 134, 0.22);
  opacity: 1;
  transform: scale(1.1);
}

.chapter-label {
  margin: 0;
  color: rgba(246, 221, 183, 0.96);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.chapter-label span {
  display: inline;
  max-width: none;
  margin-left: 6px;
  overflow: hidden;
  color: rgba(238, 226, 205, 0.58);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-caption,
.small-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.86) 32%, rgba(0, 0, 0, 0.96));
  z-index: 2;
}

.card-caption {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px;
  min-height: 58px;
  padding: 17px 10px 10px;
}

.card-caption span {
  color: rgba(255, 255, 255, 0.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 35px;
  line-height: 0.9;
}

.card-caption h3,
.small-caption h3 {
  margin: 0;
  color: #f4f0e8;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.card-caption p,
.small-caption p {
  margin: 5px 0 0;
  color: #baada0;
  font-size: 11px;
}

.ip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.small-card {
  height: auto;
  aspect-ratio: 16 / 9;
}

.small-caption {
  padding: 28px 11px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 18%, rgba(0, 0, 0, 0.76) 58%, rgba(0, 0, 0, 0.92) 100%);
}

.capability-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 18px;
}

.capability-card {
  position: relative;
  display: grid;
  gap: 14px;
  min-width: 0;
  padding-top: 14px;
}

.capability-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 54px;
  height: 1px;
  background: rgba(225, 189, 134, 0.42);
  content: "";
}

.capability-card__copy {
  min-width: 0;
}

.capability-card__copy p {
  margin: 0 0 7px;
  color: rgba(225, 189, 134, 0.76);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.capability-card__copy h2 {
  margin: 0 0 8px;
  color: #f4f0e8;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.capability-card__copy span {
  display: block;
  max-width: 420px;
  color: rgba(203, 192, 176, 0.72);
  font-size: 11px;
  line-height: 1.65;
}

.capability-card__copy a {
  position: relative;
  display: inline-flex;
  margin-top: 12px;
  color: rgba(225, 189, 134, 0.84);
  font-size: 10px;
  letter-spacing: 0.08em;
  transition: color 180ms ease, transform 180ms ease;
}

.capability-card__thumbs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.capability-card__thumbs img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(198, 160, 108, 0.14);
  filter: saturate(0.94) contrast(0.96) brightness(0.93) blur(0.18px);
  transform: scale(1.012);
  transition: filter 180ms ease, transform 180ms ease;
}

.capability-card:hover .capability-card__thumbs img {
  filter: saturate(0.98) contrast(0.98) brightness(0.97) blur(0.12px);
}

.capability-card:hover .capability-card__thumbs img {
  transform: translateY(-2px) scale(1.018);
}

.work-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 28px;
}

.inline-head {
  margin-bottom: 0;
}

.work-block {
  display: grid;
  grid-template-rows: auto 64px 58px auto;
  align-content: start;
}

.work-desc,
.pipeline-desc {
  max-width: 520px;
  min-height: 46px;
  margin: 8px 0 0;
  color: rgba(203, 192, 176, 0.72);
  font-size: 11px;
  line-height: 1.55;
}

.work-desc span,
.pipeline-desc span {
  display: block;
  margin-top: 1px;
  color: rgba(151, 143, 132, 0.68);
  font-size: 9px;
  line-height: 1.35;
}

.icon-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  align-self: end;
  min-height: 48px;
  margin-bottom: 10px;
}

.icon-row.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.icon-row div {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: #d7cab7;
  min-width: 0;
  transition: color 180ms ease, transform 180ms ease;
}

.icon-row span {
  color: var(--gold-bright);
  font-size: 27px;
  line-height: 1;
}

.icon-row p {
  margin: 0;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
}

.icon-row div:hover {
  color: #f0e5d3;
  transform: translateY(-2px);
}

.icon-row div:hover span {
  text-shadow: 0 0 18px rgba(225, 189, 134, 0.36);
}

.thumb-row {
  display: grid;
  gap: 6px;
}

.thumb-row.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.thumb-row.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.thumb-row img {
  width: 100%;
  height: clamp(118px, 8.5vw, 134px);
  aspect-ratio: auto;
  object-fit: cover;
  background: #111;
  transition: filter 180ms ease, transform 180ms ease;
}

.thumb-row.four img {
  aspect-ratio: auto;
}

.thumb-row img:hover {
  filter: brightness(1.04) saturate(1.02) contrast(1.01);
  transform: translateY(-3px) scale(1.018);
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 22px;
}

.about,
.contact {
  border-top: 1px solid var(--line-soft);
  padding-top: 27px;
}

.about-inner {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 28px;
  margin-top: 14px;
  align-items: center;
}

.about-inner img {
  height: 132px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

.about-inner h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 500;
}

.about-inner p {
  width: min(360px, 100%);
  margin: 0 0 16px;
  color: #9f9b95;
  font-size: 12px;
  line-height: 1.8;
}

.about-inner strong {
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 400;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  margin-top: 14px;
  align-items: start;
}

.contact ul {
  display: grid;
  gap: 15px;
  padding: 0;
  margin: 3px 0 0;
  list-style: none;
}

.contact li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 14px;
  align-items: center;
  color: #d2ccc3;
  font-size: 13px;
}

.contact li span {
  color: var(--gold-bright);
  font-size: 19px;
}

.contact li b {
  font-weight: 400;
}

.qr-group {
  display: grid;
  grid-template-columns: repeat(2, 118px);
  gap: 18px;
  align-items: start;
}

.contact figure {
  margin: 0;
  text-align: center;
}

.contact figure img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  background: #fff;
}

.contact figcaption {
  margin-top: 8px;
  color: #b6afa4;
  font-size: 12px;
  line-height: 1.35;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 17px 40px 25px;
  border-top: 1px solid var(--line-soft);
  color: #74716b;
  font-size: 11px;
}

.site-footer a {
  color: #8f887b;
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.site-footer span:last-child {
  justify-self: end;
}

.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.error-shell {
  width: min(520px, calc(100vw - 48px));
  padding: 40px;
  border: 1px solid rgba(198, 160, 108, 0.26);
  background: rgba(255, 255, 255, 0.025);
}

.error-shell .brand {
  display: inline-block;
  margin-bottom: 54px;
}

.error-shell p {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-size: 13px;
  letter-spacing: 0.18em;
}

.error-shell h1 {
  margin: 0 0 28px;
  font-size: 28px;
  font-weight: 500;
}

.case-page {
  background: #070909;
}

.case-header {
  position: fixed;
}

.case-nav a.active::after {
  opacity: 0;
}

.case-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.case-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 45%;
  filter: saturate(0.9) contrast(1.05) brightness(0.74);
}

.case-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 9, 9, 0.98), rgba(7, 9, 9, 0.54) 56%, rgba(7, 9, 9, 0.88)),
    linear-gradient(0deg, #070909 0%, rgba(7, 9, 9, 0.08) 50%);
}

.case-hero__content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding: 142px 40px 80px;
  margin-inline: auto;
  transform: translateX(calc((min(var(--page-max), 100vw) - min(760px, 100vw)) / -2 + 40px));
  overflow: hidden;
}

.case-back,
.case-kicker {
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.case-back {
  display: inline-block;
  margin-bottom: 72px;
}

.case-kicker {
  margin: 0 0 16px;
}

.case-hero h1 {
  margin: 0 0 22px;
  color: #f2ece2;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 500;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.case-mobile-break {
  display: inline;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.case-tags span {
  padding: 7px 10px;
  border: 1px solid rgba(198, 160, 108, 0.32);
  color: #d8c4a3;
  background: rgba(0, 0, 0, 0.18);
  font-size: 12px;
}

.case-section {
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding: 54px 40px 0;
}

.case-section__head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 34px;
  align-items: end;
  margin-bottom: 22px;
}

.case-section__head p {
  margin: 0;
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.case-section__head h2 {
  margin: 0;
  color: #f2ece2;
  font-size: 28px;
  font-weight: 500;
}

.case-video {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(198, 160, 108, 0.26);
  background: #020303;
  overflow: hidden;
}

.case-video video {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.case-video video:not([src]) {
  display: none;
}

.case-video__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background:
    linear-gradient(0deg, rgba(2, 3, 3, 0.68), rgba(2, 3, 3, 0.68)),
    url("./assets-v2/feat-01.jpg") center / cover;
}

.case-video:has(video[src]) .case-video__fallback {
  display: none;
}

.case-video__fallback span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(225, 189, 134, 0.7);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 24px;
}

.case-video__fallback p {
  margin: 0;
  color: #c8c0b5;
  font-size: 13px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.case-meta article {
  padding: 18px;
  background: #0b0f0e;
}

.case-meta span {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.case-meta strong {
  color: #ded8cf;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

.case-copy {
  margin-left: 234px;
  max-width: 720px;
}

.case-copy p,
.case-result__grid p {
  margin: 0;
  color: #b2aca4;
  font-size: 15px;
  line-height: 1.9;
}

.breakdown-grid {
  display: grid;
  gap: 18px;
}

.breakdown-grid article {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  min-height: 280px;
  border: 1px solid rgba(198, 160, 108, 0.22);
  background: #0a0e0d;
}

.breakdown-grid article:nth-child(even) img {
  order: 2;
}

.breakdown-grid img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.breakdown-grid div {
  display: grid;
  align-content: center;
  padding: 34px;
}

.breakdown-grid span {
  color: rgba(225, 189, 134, 0.48);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 54px;
}

.breakdown-grid h3 {
  margin: 4px 0 12px;
  color: #f2ece2;
  font-size: 24px;
  font-weight: 500;
}

.breakdown-grid p {
  margin: 0;
  color: #aaa49d;
  font-size: 14px;
  line-height: 1.9;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  list-style: none;
}

.workflow li {
  padding: 24px 20px;
  background: #0b0f0e;
}

.workflow span {
  display: block;
  margin-bottom: 24px;
  color: rgba(225, 189, 134, 0.54);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.workflow strong {
  display: block;
  margin-bottom: 10px;
  color: #f0e9de;
  font-size: 16px;
  font-weight: 500;
}

.workflow p {
  margin: 0;
  color: #9f9991;
  font-size: 13px;
  line-height: 1.8;
}

.case-result__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-left: 234px;
}

.case-result__grid p {
  padding: 22px;
  border-left: 1px solid rgba(198, 160, 108, 0.42);
  background: rgba(255, 255, 255, 0.025);
}

.case-next {
  width: min(var(--page-max), 100%);
  margin-inline: auto;
  padding: 64px 40px;
}

.case-next a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(198, 160, 108, 0.24);
  border-bottom: 1px solid rgba(198, 160, 108, 0.24);
}

.case-next span {
  color: var(--gold-bright);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.case-next strong {
  color: #f2ece2;
  font-size: 22px;
  font-weight: 500;
}

.modal-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.project-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.project-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  column-gap: 34px;
  grid-template-columns: minmax(450px, 1fr) minmax(380px, 0.98fr);
  width: min(1120px, 100%);
  min-width: 0;
  max-height: min(720px, calc(100vh - 56px));
  overflow: auto;
  border: 1px solid rgba(198, 160, 108, 0.32);
  background:
    radial-gradient(circle at 24% 8%, rgba(198, 160, 108, 0.08), transparent 30%),
    linear-gradient(90deg, #050706 0%, #070909 48%, #080b0b 100%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
  outline: none;
  transform: translateY(14px) scale(0.98);
  transition: transform 220ms ease;
}

.project-modal[aria-hidden="false"] .project-modal__panel {
  transform: translateY(0) scale(1);
}

.project-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(198, 160, 108, 0.42);
  color: var(--gold-bright);
  background: rgba(7, 9, 9, 0.7);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.project-modal__media {
  align-self: start;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 28px 0 28px 28px;
  background: transparent;
}

.project-modal__media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(198, 160, 108, 0.2);
  background: #000;
}

.project-modal__panel.is-portrait {
  grid-template-columns: minmax(390px, 0.82fr) minmax(420px, 1fr);
}

.project-modal__media.is-portrait {
  align-self: stretch;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  padding-bottom: 22px;
}

.project-modal__media.is-portrait .project-modal__media-frame {
  width: min(100%, 420px);
  height: min(76vh, 660px);
  aspect-ratio: 9 / 16;
}

.project-modal__media.is-portrait .project-modal__media-info {
  width: min(100%, 420px);
}

.project-modal__media.is-portrait .project-modal__media-extra {
  display: none;
}

.project-modal__media.is-portrait .project-modal__poster img {
  object-fit: cover;
}

.project-modal__panel.is-square {
  grid-template-columns: minmax(390px, 0.9fr) minmax(420px, 1fr);
}

.project-modal__media.is-square {
  align-self: stretch;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  padding-bottom: 22px;
}

.project-modal__media.is-square .project-modal__media-frame {
  width: min(100%, 520px);
  aspect-ratio: 1;
}

.project-modal__media.is-square .project-modal__media-info,
.project-modal__media.is-square .project-modal__media-extra {
  width: min(100%, 520px);
}

.project-modal__video,
.project-modal__poster,
.project-modal__poster img {
  width: 100%;
  height: 100%;
}

.project-modal__video {
  display: none;
  object-fit: contain;
  background: #000;
}

.project-modal__sound {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 5;
  display: none;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(225, 189, 134, 0.54);
  color: #f3e1c2;
  background: rgba(4, 6, 6, 0.78);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.project-modal__sound:hover {
  border-color: var(--gold-bright);
  color: #fff1d8;
  background: rgba(198, 160, 108, 0.2);
}

.project-modal__media.has-video .project-modal__video {
  position: absolute;
  inset: 0;
  display: block;
}

.project-modal__media-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 42px;
  padding: 0 18px;
  border-top: 1px solid rgba(198, 160, 108, 0.24);
  color: rgba(238, 226, 205, 0.72);
  background: linear-gradient(180deg, rgba(14, 16, 15, 0.96), rgba(7, 9, 9, 0.98));
  font-size: 12px;
  letter-spacing: 0.04em;
}

.project-modal__media-extra {
  margin-top: 18px;
  padding: 18px 20px 20px;
  border-left: 1px solid rgba(198, 160, 108, 0.48);
  background:
    linear-gradient(135deg, rgba(198, 160, 108, 0.05), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.018);
}

.project-modal__media-extra p {
  margin: 0 0 8px;
  color: var(--gold-bright);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.project-modal__media-extra h3 {
  margin: 0 0 12px;
  color: #f4efe7;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}

.project-modal__media-extra ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  color: rgba(238, 226, 205, 0.68);
  font-size: 12px;
  line-height: 1.6;
  list-style: none;
}

.project-modal__media-extra li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 8px 2px 0;
  background: var(--gold-bright);
}

.project-modal__media-info span + span {
  position: relative;
  padding-left: 14px;
}

.project-modal__media-info span + span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 12px;
  background: rgba(198, 160, 108, 0.32);
  transform: translateY(-50%);
}

.project-modal__media.has-video.is-playing .project-modal__play-state {
  color: var(--gold-bright);
}

.project-modal__poster {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  color: var(--gold-bright);
  background: #020303;
  cursor: pointer;
}

.project-modal__poster:disabled {
  cursor: default;
}

.project-modal__media.has-video .project-modal__poster {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.project-modal__poster img {
  object-fit: cover;
  filter: saturate(0.94) contrast(1.05) brightness(0.68);
  transition: transform 420ms ease, filter 220ms ease;
}

.project-modal__poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(225, 189, 134, 0.72);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-size: 24px;
  transform: translate(-50%, -50%);
}

.project-modal__poster b {
  position: absolute;
  left: 50%;
  top: calc(50% + 48px);
  color: #efe4d4;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  transform: translateX(-50%);
}

.project-modal__poster:hover img {
  filter: saturate(1.08) contrast(1.08) brightness(0.78);
  transform: scale(1.035);
}

.project-modal__media.is-workflow .project-modal__poster:hover img {
  filter: saturate(0.94) contrast(1.05) brightness(0.68);
  transform: none;
}

.project-modal__media.is-workflow .project-modal__poster span {
  border-radius: 50%;
  background: rgba(198, 160, 108, 0.1);
  font-size: 28px;
  transform: translate(-50%, -50%);
}

.project-modal__media.has-video.is-playing .project-modal__poster {
  display: none;
}

.project-modal__media.has-video.is-playing .project-modal__sound {
  display: inline-flex;
}

.project-modal__content {
  min-width: 0;
  padding: 38px 58px 30px 10px;
  background: linear-gradient(90deg, rgba(198, 160, 108, 0.035), transparent 18%);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.project-modal__eyebrow {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.project-modal h2 {
  margin: 0;
  color: #f4efe7;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

.project-modal__summary {
  margin: 13px 0 15px;
  color: #b8b2aa;
  font-size: 14px;
  line-height: 1.8;
}

.project-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.project-modal__meta span {
  padding: 5px 9px;
  border: 1px solid rgba(198, 160, 108, 0.28);
  color: #dbc5a2;
  background: rgba(198, 160, 108, 0.07);
  font-size: 12px;
}

.project-modal__case {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 16px;
  padding: 9px 13px;
  border: 1px solid rgba(198, 160, 108, 0.44);
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.project-modal__case span {
  display: inline-block;
  transition: transform 180ms ease;
}

.project-modal__case:hover {
  border-color: rgba(225, 189, 134, 0.78);
  background: rgba(198, 160, 108, 0.11);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
  transform: translateY(-1px);
}

.project-modal__case:hover span {
  transform: translateX(3px);
}

.project-modal__case[hidden] {
  display: none;
}

.project-modal__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.project-modal__columns article {
  min-width: 0;
  padding: 13px 15px;
  border-left: 1px solid rgba(198, 160, 108, 0.48);
  background: rgba(255, 255, 255, 0.025);
}

.project-modal__columns article:first-child {
  grid-column: 1 / -1;
}

.project-modal__columns h3 {
  margin: 0 0 7px;
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 500;
}

.project-modal__columns p {
  margin: 0;
  color: #a8a29a;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.project-modal__notes {
  margin-top: 12px;
  padding: 14px 15px;
  border: 1px solid rgba(198, 160, 108, 0.18);
  background: linear-gradient(180deg, rgba(198, 160, 108, 0.055), rgba(255, 255, 255, 0.018));
}

.project-modal__notes > p {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.project-modal__notes > p span {
  margin-left: 8px;
  color: rgba(218, 202, 176, 0.66);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.project-modal__notes dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
}

.project-modal__notes dl div {
  display: grid;
  gap: 4px;
  align-items: start;
}

.project-modal__notes dt {
  color: #d8bd91;
  font-size: 12px;
  white-space: nowrap;
}

.project-modal__notes dd {
  margin: 0;
  color: #a9a39a;
  font-size: 11px;
  line-height: 1.55;
}

.reveal {
  opacity: 0;
  filter: blur(2px);
  transform: translateY(22px);
  transition: opacity 640ms ease, transform 640ms cubic-bezier(0.2, 0.72, 0.18, 1), filter 640ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

@keyframes cinematic-enter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes header-enter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.055) translate3d(10px, 0, 0);
  }
  to {
    transform: scale(1.015) translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-bg {
    transform: none !important;
  }

  .hero-copy > *,
  body:not(.is-loaded) .site-header {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (hover: none) {
  .image-card:hover,
  .thumb-row img:hover,
  .capability-card:hover .capability-card__thumbs img,
  .icon-row div:hover,
  .outline-button:hover {
    transform: none;
  }
}

@media (min-width: 1200px) {
  body::before {
    position: fixed;
    inset: 0 auto 0 50%;
    width: min(calc(var(--page-max) + 80px), calc(100vw - 80px));
    max-width: 100vw;
    transform: translateX(-50%);
    border-left: 1px solid rgba(255, 255, 255, 0.028);
    border-right: 1px solid rgba(255, 255, 255, 0.028);
    pointer-events: none;
    content: "";
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .site-header {
    grid-template-columns: 220px 1fr 90px;
    padding-inline: 40px;
  }

  .nav {
    gap: 46px;
  }

  .featured-grid {
    gap: 9px;
  }

  .card-caption {
    grid-template-columns: 42px 1fr;
    min-height: 56px;
    padding: 16px 9px 9px;
  }

  .card-caption span {
    font-size: 31px;
  }

  .card-caption h3,
  .small-caption h3 {
    font-size: 12px;
    line-height: 1.2;
  }

  .card-caption p,
  .small-caption p {
    font-size: 10px;
  }

  .case-hero h1 {
    font-size: 46px;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 0 22px;
  }

  .menu-toggle {
    display: block;
    grid-column: 2;
    grid-row: 1;
  }

  .nav {
    position: fixed;
    top: 54px;
    right: 16px;
    display: grid;
    gap: 0;
    width: min(220px, calc(100vw - 32px));
    padding: 8px;
    border: 1px solid rgba(198, 160, 108, 0.26);
    background: rgba(7, 9, 9, 0.94);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(16px);
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    padding: 13px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .socials {
    grid-column: 3;
    gap: 12px;
  }

  .hero {
    height: auto;
    min-height: 560px;
    padding: 118px 24px 44px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 9, 9, 0.24) 0%, rgba(7, 9, 9, 0.88) 50%, rgba(7, 9, 9, 1) 100%);
  }

  .hero-bg {
    object-position: 63% 50%;
  }

  .hero-copy {
    width: min(330px, 100%);
    margin-left: 0;
    padding-top: 250px;
  }

  .hero-identity {
    top: 96px;
    right: 20px;
    width: 150px;
  }

  .hero-mark {
    width: 104px;
  }

  .hero-meta {
    display: none;
  }

  .scroll-cue {
    display: none;
  }

  .section,
  .work-split,
  .capability-strip,
  .bottom-grid {
    padding-left: 24px;
    padding-right: 24px;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-split,
  .capability-strip,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .project-modal__panel {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0;
  }

  .project-modal__media {
    min-height: 0;
    padding: 18px 18px 0;
  }

  .project-modal__columns,
  .project-modal__notes dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-modal__media-info {
    min-height: 38px;
    padding: 0 14px;
    font-size: 11px;
  }

  .project-modal__media-extra {
    margin-top: 14px;
    padding: 14px 15px;
  }

  .case-hero {
    min-height: 560px;
  }

  .case-hero__content {
    width: 100%;
    padding: 112px 24px 56px;
    transform: none;
  }

  .case-back {
    margin-bottom: 56px;
  }

  .case-section,
  .case-next {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .case-section__head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .case-meta,
  .workflow,
  .case-result__grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-copy,
  .case-result__grid {
    margin-left: 0;
    max-width: 100%;
  }

  .breakdown-grid article,
  .breakdown-grid article:nth-child(even) img {
    grid-template-columns: 1fr;
    order: initial;
  }

  .breakdown-grid img {
    aspect-ratio: 16 / 9;
    height: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 54px;
  }

  .brand {
    font-size: 24px;
  }

  .socials {
    font-size: 11px;
  }

  .hero {
    height: auto;
    min-height: 548px;
    padding-top: 78px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 9, 9, 0.2) 0%, rgba(7, 9, 9, 0.86) 50%, rgba(7, 9, 9, 1) 100%);
  }

  .hero-bg {
    object-position: 64% 50%;
  }

  .hero-copy {
    padding-top: 282px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: 0.27em;
  }

  .hero-role {
    margin-bottom: 18px;
    font-size: 14px;
  }

  .hero-list {
    margin-bottom: 22px;
    font-size: 12px;
  }

  .hero-identity {
    display: none;
  }

  .section {
    padding-top: 23px;
  }

  .section-head {
    align-items: flex-start;
    margin-bottom: 13px;
  }

  .section-head a {
    display: none;
  }

  .work-block .section-head a {
    display: inline-flex;
    flex-shrink: 0;
    font-size: 9px;
  }

  .section-head h2,
  .bottom-grid h2 {
    font-size: 16px;
  }

  .section-head a {
    font-size: 9px;
  }

  .featured-grid,
  .ip-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .capability-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .capability-card__thumbs img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .small-card {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .icon-row,
  .icon-row.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    row-gap: 12px;
  }

  .icon-row p {
    font-size: 11px;
    white-space: normal;
  }

  .thumb-row.five,
  .thumb-row.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thumb-row img {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .qr-group {
    grid-template-columns: repeat(2, minmax(0, 128px));
    justify-content: start;
  }

  .about-inner img {
    width: 190px;
  }

  .contact figure img {
    width: 128px;
    height: 128px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-left: 24px;
    padding-right: 24px;
  }

  .site-footer span:last-child {
    justify-self: start;
  }

  .project-modal {
    padding: 28px;
  }

  .project-modal__panel {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .project-modal__content {
    padding: 24px 20px 22px;
    word-break: break-all;
  }

  .project-modal h2 {
    font-size: 20px;
  }

  .case-hero {
    min-height: 540px;
  }

  .case-hero__content {
    width: 100%;
    padding: 88px 24px 56px;
    transform: none;
  }

  .case-hero h1 {
    max-width: 100%;
    font-size: 30px;
    line-height: 1.18;
    word-break: break-all;
  }

  .case-mobile-break {
    display: block;
  }

  .case-copy p,
  .case-result__grid p,
  .breakdown-grid p,
  .workflow p {
    max-width: calc(100% - 10px);
    overflow-wrap: anywhere;
    word-break: break-all;
    line-break: anywhere;
  }

  .case-tags {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 100%;
  }

  .case-tags span {
    min-width: 0;
    padding: 6px 8px;
    font-size: 10px;
    text-align: center;
  }

  .case-video {
    width: 100%;
    max-width: 100%;
  }

  .case-section {
    padding-top: 38px;
  }

  .case-section__head h2 {
    font-size: 22px;
  }

  .case-meta,
  .workflow,
  .case-result__grid {
    grid-template-columns: 1fr;
  }

  .breakdown-grid div {
    padding: 24px;
  }

  .case-next a {
    flex-direction: column;
  }

  .case-next strong {
    font-size: 19px;
  }
}

/* 2K and ultrawide: expand the actual content rules after all base layouts. */
@media (min-width: 1500px) {
  :root {
    --page-max: 1640px;
  }

  .works-page {
    background-size: min(88vw, 1680px) 100%, auto, auto;
  }

  .works-hero,
  .works-section {
    width: min(1680px, calc(100% - 96px));
  }

  .featured-grid,
  .works-grid {
    gap: 16px;
  }

  .work-split {
    gap: 52px;
  }

  .thumb-row {
    gap: 8px;
  }

  .thumb-row img {
    height: clamp(138px, 8.5vw, 176px);
  }

  .hero {
    height: clamp(700px, 44vw, 820px);
    min-height: 700px;
  }

  .hero-bg {
    inset: 0 auto 0 50%;
    width: min(100%, 1680px);
    object-position: 62% 40%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
    transform: translateX(-50%);
  }

  body.is-loaded .hero-bg {
    animation: none;
    transform: translateX(-50%);
  }

  /* Keep the hero copy, character and right-side identity in one 1440px composition stage. */
  .hero-copy {
    position: absolute;
    top: 50%;
    left: 0;
    margin-left: calc((100vw - min(100vw, 1440px)) / 2 + 72px);
    transform: translateY(-50%);
  }

  .hero-identity {
    right: calc((100vw - min(100vw, 1440px)) / 2 + 46px);
  }

  .project-modal {
    padding: 48px;
  }

  .project-modal__panel {
    grid-template-columns: minmax(650px, 1.12fr) minmax(480px, 0.88fr);
    column-gap: 46px;
    width: min(1480px, calc(100% - 96px));
    max-height: min(900px, calc(100vh - 96px));
  }

  .project-modal__media {
    padding: 36px 0 36px 36px;
  }

  .project-modal__panel.is-portrait {
    grid-template-columns: minmax(520px, 0.9fr) minmax(520px, 1fr);
  }

  .project-modal__panel.is-square {
    grid-template-columns: minmax(560px, 0.96fr) minmax(520px, 1fr);
  }

  .project-modal__media.is-square .project-modal__media-frame,
  .project-modal__media.is-square .project-modal__media-info,
  .project-modal__media.is-square .project-modal__media-extra {
    width: min(100%, 620px);
  }

  .project-modal__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 72px 48px 16px;
  }

  .project-modal__eyebrow {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .project-modal h2 {
    font-size: 32px;
    line-height: 1.3;
  }

  .project-modal__summary {
    margin: 18px 0 20px;
    font-size: 17px;
    line-height: 1.82;
  }

  .project-modal__meta {
    gap: 10px;
    margin-bottom: 22px;
  }

  .project-modal__meta span {
    padding: 7px 11px;
    font-size: 13px;
  }

  .project-modal__columns {
    gap: 16px;
  }

  .project-modal__columns article {
    padding: 18px 20px;
  }

  .project-modal__columns h3 {
    margin-bottom: 9px;
    font-size: 16px;
  }

  .project-modal__columns p {
    font-size: 14px;
    line-height: 1.72;
  }

  .project-modal__notes {
    margin-top: 16px;
    padding: 18px 20px;
  }

  .project-modal__notes > p {
    margin-bottom: 12px;
    font-size: 13px;
  }

  .project-modal__notes > p span,
  .project-modal__notes dt {
    font-size: 13px;
  }

  .project-modal__notes dd {
    font-size: 12px;
    line-height: 1.62;
  }
}
