.work-v2 {
  --work-copper: #c98a36;
  --work-line-dark: rgba(239, 196, 119, 0.22);
}

.work-v2 .work-hero {
  padding-top: clamp(104px, 12vw, 180px);
  padding-bottom: clamp(90px, 11vw, 155px);
  background:
    radial-gradient(circle at 74% 38%, rgba(205, 145, 58, 0.17), transparent 27%),
    linear-gradient(132deg, #020a10 0%, #061824 54%, #0a2635 100%);
}

.work-v2 .work-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.35;
  background:
    linear-gradient(90deg, transparent 0 49.94%, rgba(239, 196, 119, 0.1) 50%, transparent 50.06%),
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(239, 196, 119, 0.035) 48px);
}

.work-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(320px, 0.64fr);
  align-items: end;
  gap: clamp(60px, 9vw, 140px);
}

.work-v2 .work-hero .page-title {
  max-width: 900px;
  font-size: clamp(60px, 7.9vw, 118px);
}

.work-register {
  position: relative;
  padding: 20px;
  color: var(--v2-ivory);
  background: rgba(3, 13, 21, 0.66);
  border: 1px solid var(--work-line-dark);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.work-register::before,
.work-register::after,
.system-layer::before,
.system-layer::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
  border-color: var(--v2-brass-light);
}

.work-register::before,
.system-layer::before {
  top: 7px;
  left: 7px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.work-register::after,
.system-layer::after {
  right: 7px;
  bottom: 7px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.register-label,
.case-coordinate,
.dossier-label,
.system-layer > span,
.system-plates article > span,
.live-note,
.client-index span,
.client-index b {
  color: var(--v2-brass-light);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.work-register dl {
  margin: 26px 0 0;
}

.work-register dl > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 13px 0;
  border-top: 1px solid rgba(243, 237, 226, 0.12);
}

.work-register dt {
  color: var(--v2-ivory);
  font-size: 13px;
}

.work-register dd {
  margin: 0;
  color: rgba(243, 237, 226, 0.52);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-index {
  position: sticky;
  top: 78px;
  z-index: 30;
  color: var(--v2-ivory);
  background: rgba(2, 10, 16, 0.94);
  border-top: 1px solid rgba(239, 196, 119, 0.14);
  border-bottom: 1px solid rgba(239, 196, 119, 0.17);
  backdrop-filter: blur(14px);
}

.client-index .shell {
  display: grid;
  grid-template-columns: 1.25fr repeat(4, 1fr);
  min-height: 62px;
  align-items: stretch;
}

.client-index .shell > span,
.client-index a {
  display: flex;
  align-items: center;
  padding: 0 18px;
}

.client-index .shell > span {
  color: rgba(243, 237, 226, 0.42);
}

.client-index a {
  gap: 10px;
  color: rgba(243, 237, 226, 0.72);
  font-size: 11px;
  border-left: 1px solid rgba(243, 237, 226, 0.1);
  transition: color 180ms ease, background 180ms ease;
}

.client-index a:hover,
.client-index a:focus-visible {
  color: var(--v2-ink);
  background: var(--v2-brass-light);
}

.client-index a:hover b,
.client-index a:focus-visible b {
  color: inherit;
}

.client-case {
  position: relative;
  scroll-margin-top: 62px;
  overflow: hidden;
  padding: clamp(100px, 12vw, 180px) 0;
}

.client-case-dark,
.client-case-cinema {
  color: var(--v2-ivory);
  background: #030d15;
}

.client-case-paper {
  color: var(--v2-ink);
  background:
    linear-gradient(90deg, rgba(198, 147, 72, 0.08) 1px, transparent 1px),
    var(--v2-paper);
  background-size: 70px 100%;
}

.client-case-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1.05fr) minmax(260px, 0.61fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(56px, 7vw, 100px);
}

.client-case-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5.7vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.client-case-dark .client-case-heading h2,
.client-case-cinema .client-case-heading h2 {
  color: var(--v2-ivory);
}

.client-case-heading > p:last-child {
  max-width: 460px;
  color: rgba(243, 237, 226, 0.64);
  font-size: 17px;
}

.client-case-paper .client-case-heading > p:last-child {
  color: rgba(8, 23, 37, 0.68);
}

.client-case-paper .case-coordinate {
  color: var(--v2-brass);
}

.case-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(350px, 0.78fr);
  border: 1px solid var(--work-line-dark);
  background: #071722;
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.3);
}

.case-frame-reversed {
  grid-template-columns: minmax(350px, 0.82fr) minmax(0, 1.18fr);
  color: var(--v2-ivory);
  background: #071722;
}

.case-frame-reversed .case-visual {
  grid-column: 2;
  grid-row: 1;
}

.case-frame-reversed .case-dossier {
  grid-column: 1;
  grid-row: 1;
}

.case-visual {
  display: grid;
  grid-template-rows: minmax(480px, 1fr) auto;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #02080d;
}

.case-visual > a {
  display: block;
  min-height: 0;
  overflow: hidden;
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 700ms var(--ease), filter 500ms ease;
}

.case-visual:hover img {
  filter: brightness(1.04);
  transform: scale(1.018);
}

.case-visual figcaption {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 15px 18px;
  color: rgba(243, 237, 226, 0.48);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(243, 237, 226, 0.12);
}

.case-visual figcaption a {
  color: var(--v2-brass-light);
}

.case-dossier {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 70px);
  border-left: 1px solid rgba(243, 237, 226, 0.12);
}

.case-frame-reversed .case-dossier {
  border-right: 1px solid rgba(243, 237, 226, 0.12);
  border-left: 0;
}

.case-built-list {
  padding: 0;
  margin: 28px 0 50px;
  list-style: none;
  border-top: 1px solid rgba(243, 237, 226, 0.13);
}

.case-built-list li {
  position: relative;
  padding: 15px 10px 15px 28px;
  color: rgba(243, 237, 226, 0.72);
  border-bottom: 1px solid rgba(243, 237, 226, 0.1);
}

.case-built-list li::before {
  position: absolute;
  top: 22px;
  left: 5px;
  width: 7px;
  height: 7px;
  content: "";
  border: 1px solid var(--v2-brass-light);
  transform: rotate(45deg);
}

.system-layer {
  position: relative;
  padding: 28px;
  background:
    radial-gradient(circle at 85% 16%, rgba(215, 150, 58, 0.18), transparent 30%),
    rgba(2, 10, 16, 0.78);
  border: 1px solid var(--work-line-dark);
}

.system-layer h3 {
  margin: 14px 0 10px;
  color: var(--v2-ivory);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
}

.system-layer p {
  margin: 0;
  color: rgba(243, 237, 226, 0.62);
  font-size: 13px;
}

.system-plates {
  display: grid;
  gap: 12px;
  margin: 28px 0 34px;
}

.system-plates article {
  position: relative;
  padding: 20px;
  background: rgba(3, 13, 21, 0.7);
  border: 1px solid rgba(239, 196, 119, 0.2);
}

.system-plates strong {
  display: block;
  margin: 9px 0 5px;
  color: var(--v2-ivory);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 500;
}

.system-plates p,
.separation-note {
  margin: 0;
  color: rgba(243, 237, 226, 0.58);
  font-size: 13px;
}

.separation-note {
  padding-top: 24px;
  border-top: 1px solid rgba(243, 237, 226, 0.13);
}

.separation-note strong {
  color: var(--v2-brass-light);
}

.client-case-cinema {
  background:
    radial-gradient(circle at 84% 20%, rgba(105, 19, 17, 0.28), transparent 28%),
    #020607;
}

.cinema-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(243, 237, 226, 0.16);
  box-shadow: 0 45px 130px rgba(0, 0, 0, 0.48);
}

.cinema-frame > a {
  display: block;
  overflow: hidden;
}

.cinema-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 900ms var(--ease), filter 600ms ease;
}

.cinema-frame:hover img {
  filter: brightness(1.08);
  transform: scale(1.015);
}

.cinema-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(24px, 4vw, 45px);
  background: #070b0c;
  border-top: 1px solid rgba(243, 237, 226, 0.13);
}

.cinema-caption span {
  display: block;
  margin-bottom: 10px;
  color: #b94941;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cinema-caption strong {
  display: block;
  max-width: 740px;
  color: var(--v2-ivory);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 500;
  line-height: 1.05;
}

.client-case-joyride {
  color: var(--v2-ink);
  background:
    radial-gradient(circle at 22% 50%, rgba(39, 151, 203, 0.11), transparent 30%),
    #f5f0e7;
}

.joyride-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.94fr);
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}

.joyride-site {
  overflow: hidden;
  margin: 0;
  background: #071722;
  border: 1px solid rgba(8, 23, 37, 0.18);
  box-shadow: 0 35px 90px rgba(8, 23, 37, 0.16);
}

.joyride-site > a {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.joyride-site img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: filter 500ms ease, transform 700ms var(--ease);
}

.joyride-site:hover img {
  filter: brightness(1.04);
  transform: scale(1.015);
}

.joyride-site figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px;
  color: rgba(243, 237, 226, 0.5);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(243, 237, 226, 0.12);
}

.joyride-site figcaption a {
  color: #65cfff;
}

.joyride-copy h2 {
  max-width: 820px;
  margin: 22px 0 28px;
  color: var(--v2-ink);
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 98px);
  font-weight: 500;
  letter-spacing: -0.058em;
  line-height: 0.91;
  text-wrap: balance;
}

.joyride-copy .body-large {
  max-width: 650px;
  color: rgba(8, 23, 37, 0.67);
}

.joyride-copy .case-coordinate {
  color: #157faa;
}

.live-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: #157faa;
}

.live-note span {
  width: 8px;
  height: 8px;
  background: #1599ce;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(21, 153, 206, 0.12);
}

.work-boundary {
  padding: clamp(80px, 10vw, 130px) 0;
  background: #eee6d8;
  border-top: 1px solid rgba(8, 23, 37, 0.1);
  border-bottom: 1px solid rgba(8, 23, 37, 0.1);
}

.work-boundary-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(50px, 9vw, 140px);
}

.work-boundary h2 {
  max-width: 560px;
  margin: 20px 0 0;
  color: var(--v2-ink);
  font-family: var(--serif);
  font-size: clamp(44px, 5.8vw, 78px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.96;
}

.work-boundary .body-large {
  max-width: 650px;
  color: rgba(8, 23, 37, 0.68);
}

.work-contact .eyebrow {
  justify-content: center;
}

.work-contact .actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .work-hero-grid,
  .client-case-heading {
    grid-template-columns: 1fr;
  }

  .work-register {
    width: min(100%, 620px);
  }

  .client-index {
    position: relative;
    top: auto;
  }

  .client-index .shell {
    grid-template-columns: repeat(4, 1fr);
  }

  .client-index .shell > span {
    display: none;
  }

  .client-index a {
    justify-content: center;
  }

  .case-frame,
  .case-frame-reversed {
    grid-template-columns: 1fr;
  }

  .case-frame-reversed .case-visual,
  .case-frame-reversed .case-dossier {
    grid-column: 1;
  }

  .case-frame-reversed .case-visual {
    grid-row: 1;
  }

  .case-frame-reversed .case-dossier {
    grid-row: 2;
  }

  .case-dossier,
  .case-frame-reversed .case-dossier {
    border-top: 1px solid rgba(243, 237, 226, 0.12);
    border-right: 0;
    border-left: 0;
  }

  .joyride-grid,
  .work-boundary-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 760px) {
  .work-v2 .work-hero {
    padding-top: 78px;
  }

  .work-v2 .work-hero .page-title {
    font-size: clamp(50px, 15vw, 68px);
  }

  .client-index {
    overflow-x: auto;
  }

  .client-index .shell {
    width: max-content;
    min-height: 54px;
  }

  .client-index a {
    min-width: 150px;
  }

  .client-case {
    padding: 88px 0;
    scroll-margin-top: 0;
  }

  .client-case-heading {
    margin-bottom: 48px;
  }

  .client-case-heading h2 {
    font-size: clamp(43px, 12.5vw, 61px);
  }

  .client-case-heading > p:last-child {
    font-size: 16px;
  }

  .case-visual {
    grid-template-rows: 280px auto;
  }

  .case-visual figcaption {
    flex-direction: column;
    gap: 8px;
  }

  .case-dossier {
    padding: 30px 22px;
  }

  .system-layer {
    padding: 24px 20px;
  }

  .cinema-caption {
    grid-template-columns: 1fr;
  }

  .cinema-frame img {
    min-height: 330px;
    object-position: 57% center;
  }

  .joyride-site figcaption {
    flex-direction: column;
    gap: 8px;
  }

  .joyride-copy h2 {
    font-size: clamp(48px, 14vw, 68px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-visual img,
  .cinema-frame img,
  .joyride-site img {
    transition: none;
  }
}
