@font-face {
  font-family: "ZCOOL QingKe HuangYou";
  src: url("../shared/fonts/ZCOOLQingKeHuangYou-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Archivo Black";
  src: url("../shared/fonts/ArchivoBlack-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Smiley Sans";
  src: url("../shared/fonts/SmileySans-Oblique.ttf.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --work-paper: #fff;
  --work-ink: #111210;
  --work-green: #9dbe3f;
  --work-gutter: 52px;
}

[data-current-page="work"] .page-header { z-index: 30; }

.work-page { min-height: 100vh; overflow-x: clip; background: var(--work-ink); color: var(--work-paper); }
.work-masthead { display: flex; height: 350px; align-items: flex-end; padding: 110px 52px 32px; padding-inline: 52px; overflow: hidden; }
.work-masthead p { margin: 0; color: #fff; font-family: "Archivo Black", "Arial Black", sans-serif; font-size: clamp(108px, calc(13.56vw - 14.1px), 330px); font-weight: 400; line-height: .88; letter-spacing: .015em; -webkit-text-stroke: 2px currentColor; white-space: nowrap; transform: translateY(-20px); transform-origin: left bottom; animation: work-masthead-brake 1050ms linear both; }
@keyframes work-masthead-brake {
  0% { transform: translate3d(-115vw,-20px,0) skewX(0); animation-timing-function: cubic-bezier(.12,.68,.18,1); }
  56% { transform: translate3d(0,-20px,0) skewX(-8deg); }
  66% { transform: translate3d(0,-20px,0) skewX(-8deg); animation-timing-function: cubic-bezier(.18,.72,.24,1); }
  78% { transform: translate3d(0,-20px,0) skewX(1.4deg); animation-timing-function: cubic-bezier(.3,0,.28,1); }
  90% { transform: translate3d(0,-20px,0) skewX(-.35deg); animation-timing-function: cubic-bezier(.3,0,.28,1); }
  100% { transform: translate3d(0,-20px,0) skewX(0); }
}
.work-featured { position: relative; height: 75vh; margin-top: -50px; margin-inline: 0; overflow: hidden; border-radius: 50px 0 50px 0; }
.work-featured__list { --work-featured-index: 0; position: absolute; inset: 0; display: flex; flex-direction: row; transform: translate3d(calc(var(--work-featured-index) * -100%), 0, 0); transition: transform 900ms cubic-bezier(.76,0,.24,1); cursor: grab; touch-action: pan-y; user-select: none; }
.work-featured__list.is-dragging { transition: none; cursor: grabbing; }
.work-featured__list.is-loop-resetting { transition: none; }
.work-featured__list::after { position: absolute; z-index: 3; inset: 0; content: ""; background: #050605; opacity: var(--work-final-darkness, 0); pointer-events: none; }
.work-featured__item { position: relative; display: block; flex: 0 0 100%; height: 100%; overflow: hidden; color: var(--work-paper); background: #181916; text-decoration: none; }
.work-featured__media, .work-featured__media img, .work-featured__media video { width: 100%; height: 100%; }
.work-featured__media { position: absolute; inset: 0; }
.work-featured__media img, .work-featured__media video { display: block; object-fit: cover; }
.work-transition { display: grid; min-height: 500px; padding: 72px var(--work-gutter); place-items: center; background: var(--work-ink); }
.work-transition__intro { display: grid; width: min(1180px, 100%); justify-items: center; text-align: center; transform: translateY(100px); }
.work-transition__intro p { margin: 0; max-width: 100%; color: #fff; font-family: "Iowan Old Style", "Baskerville", "Songti SC", "STSong", serif; font-size: clamp(44px, 4.4vw, 68px); font-weight: 400; line-height: 1.3; letter-spacing: -.045em; }
.work-transition__intro p span { display: block; white-space: nowrap; }
.work-transition__intro p em { color: var(--work-green); font-style: normal; }
.work-transition__intro button { display: inline-flex; min-height: 52px; align-items: center; gap: 18px; margin-top: 52px; padding: 0 26px; border: 1px solid rgba(255,255,255,.24); border-radius: 999px; color: #fff; background: rgba(255,255,255,.06); font: 400 16px/1 "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: .035em; cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.work-transition__intro button b { color: var(--work-green); font-size: 21px; font-weight: 400; transition: transform 220ms cubic-bezier(.16,.78,.24,1); }
.work-transition__intro button:hover,
.work-transition__intro button:focus-visible { border-color: rgba(157,190,63,.65); background: rgba(157,190,63,.08); outline: none; }
.work-transition__intro button:hover b,
.work-transition__intro button:focus-visible b { transform: translateX(5px); }
.work-index { --directory-bg: #090a08; --directory-fg: #fff; --directory-muted: rgba(255,255,255,.7); --directory-line: rgba(255,255,255,.3); --directory-active-bg: #fff; --directory-active-fg: #111210; position: relative; min-height: 100svh; margin-top: 150px; color: var(--directory-fg); background: var(--work-ink); font-family: "Smiley Sans", "PingFang SC", sans-serif; transition: color 260ms ease; }
.work-index.is-light-background { --directory-bg: #fff; --directory-fg: #111210; --directory-muted: rgba(17,18,16,.7); --directory-line: rgba(17,18,16,.3); --directory-active-bg: #111210; --directory-active-fg: #fff; }
.work-index__content { position: relative; z-index: 2; padding: 164px var(--work-gutter) 100px; }
.work-index__background { position: absolute; inset: 0; overflow: hidden; border-radius: 50px 0 0 0; }
.work-index__background img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.work-index__categories { display: flex; gap: 10px; margin-bottom: 58px; }
.work-index__categories button { padding: 5px 17px; border: 1px solid transparent; border-radius: 0; color: var(--directory-fg); background: transparent; font: inherit; font-size: 20px; cursor: pointer; }
.work-index__categories button[aria-pressed="true"] { color: var(--directory-active-fg); border-color: var(--directory-active-bg); background: color-mix(in srgb, var(--directory-active-bg) 88%, transparent); }
.work-index__columns, .work-index__row { display: grid; grid-template-columns: minmax(320px, max-content) 160px minmax(0, 1fr) 95px 70px; gap: 12px; align-items: center; }
.work-index__columns { margin-top: 50px; padding: 0 18px 18px; color: var(--directory-fg); font-size: 20px; font-weight: 700; letter-spacing: .08em; -webkit-text-stroke: .45px currentColor; }
.work-index__row { position: relative; min-height: 56px; padding: 6px 18px; isolation: isolate; color: var(--directory-fg); font-family: inherit; font-size: 18px; font-weight: 400; letter-spacing: .025em; -webkit-text-stroke: 0; text-decoration: none; transition: color 180ms ease, opacity 180ms ease; }
.work-index__row::before { position: absolute; z-index: -1; inset: 6px calc(-1 * var(--work-gutter)); content: ""; opacity: 0; background: var(--directory-active-bg); transition: opacity 180ms ease; }
.work-index__columns span:first-child,
.work-index__project-name { text-align: left; }
.work-index__columns span:nth-child(2),
.work-index__tags { text-align: right; }
.work-index__columns span:nth-child(3),
.work-index__location { grid-column: 4; text-align: left; }
.work-index__columns span:nth-child(4),
.work-index__time { grid-column: 5; text-align: right; }
.work-index__preview { position: fixed; z-index: 20; top: 0; left: 0; display: flex; width: 280px; min-height: 100px; max-height: min(240px, calc(100vh - 40px)); align-items: flex-end; gap: 18px; padding: 18px; border-radius: 4px; visibility: hidden; opacity: 0; color: var(--directory-active-bg); background: var(--directory-active-fg); font-family: "Smiley Sans", "PingFang SC", sans-serif; font-size: 15px; font-weight: 400; line-height: 1.45; letter-spacing: .015em; pointer-events: none; transform: translate3d(-400px,-200px,0); transition: visibility 0s linear 160ms, opacity 160ms ease; }
.work-index__preview.is-visible { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: 0s; }
.work-index__preview-copy { display: grid; flex: 1; align-self: stretch; align-content: center; gap: 4px; }
.work-index__preview-label { font-size: 15px; font-weight: 600; letter-spacing: .025em; }
.work-index__preview-summary { display: block; overflow: auto; font-size: 15px; font-weight: 300; opacity: .78; }
.work-index__preview-icon { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: inherit; font-size: 19px; line-height: 1; text-decoration: none; }
.work-index__list:has(.work-index__row.is-active) .work-index__row:not(.is-active) { opacity: .38; }
.work-index__row.is-active, .work-index__row:focus-visible { color: var(--directory-active-fg); }
.work-index__row.is-active::before, .work-index__row:focus-visible::before { opacity: .88; }
.work-index__background img { opacity: 0; transition: opacity 360ms ease; }
.work-index__background img:first-child,
.work-index.is-background-b .work-index__background img:last-of-type { opacity: 1; }
.work-index.is-background-b .work-index__background img:first-child { opacity: 0; }
.work-index__background span { display: none; }
.work-index__list { transition: opacity 180ms ease, transform 320ms ease; }
.work-index.is-changing .work-index__list { opacity: 0; transform: translateY(12px); }
.work-index__empty { margin: 0; padding: 32px 18px; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.68); }
.work-featured__caption { position: absolute; z-index: 2; bottom: 0; left: 0; width: min(720px, 62%); padding: 150px 44px 42px; opacity: 0; transform: translateY(12px); background: radial-gradient(ellipse at 0 100%, rgba(4,5,4,.9) 0%, rgba(4,5,4,.62) 34%, transparent 72%); transition: opacity 180ms ease, transform 240ms cubic-bezier(.2,.75,.2,1); pointer-events: none; }
.work-featured__item:hover .work-featured__caption,
.work-featured__item:focus-visible .work-featured__caption { opacity: 1; transform: translateY(0); }
.work-featured__tags, .work-featured__caption h2, .work-featured__summary { opacity: 0; transform: translateY(8px); transition: opacity 160ms ease, transform 200ms ease; }
.work-featured__tags { margin: 0 0 10px; color: var(--work-green); font-size: 14px; letter-spacing: .08em; }
.work-featured__caption h2 { margin: 0; font-size: clamp(42px, 5vw, 84px); line-height: .94; }
.work-featured__summary { max-width: 620px; margin: 18px 0 0; font-size: clamp(18px, 1.45vw, 24px); line-height: 1.45; }
.work-featured__item:hover .work-featured__caption h2,
.work-featured__item:focus-visible .work-featured__caption h2 { opacity: 1; transform: translateY(0); transition-delay: 35ms; }
.work-featured__item:hover .work-featured__tags,
.work-featured__item:hover .work-featured__summary,
.work-featured__item:focus-visible .work-featured__tags,
.work-featured__item:focus-visible .work-featured__summary { opacity: 1; transform: translateY(0); transition-delay: 125ms; }
.work-featured__item--fallback .work-featured__caption,
.work-featured__item--fallback .work-featured__tags,
.work-featured__item--fallback .work-featured__caption h2,
.work-featured__item--fallback .work-featured__summary { opacity: 1; transform: none; transition-delay: 0ms; }
.work-featured__item:focus-visible { outline: 2px solid var(--work-green); outline-offset: 4px; }
.work-featured__controls { position: absolute; z-index: 4; inset: 0; pointer-events: none; }
.work-featured__controls button { position: absolute; top: 50%; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; opacity: 0; color: var(--work-paper); background: rgba(9,10,8,.55); font: 24px/1 sans-serif; cursor: pointer; backdrop-filter: blur(10px); pointer-events: none; transform: translateY(-50%); transition: opacity 180ms ease, color 180ms ease, background 180ms ease, border-color 180ms ease; }
.work-featured__controls [data-featured-prev] { left: 24px; }
.work-featured__controls [data-featured-next] { right: 24px; }
.work-featured:hover .work-featured__controls button,
.work-featured:focus-within .work-featured__controls button { opacity: 1; pointer-events: auto; }
.work-featured__controls button:hover,
.work-featured__controls button:focus-visible { color: var(--work-ink); border-color: var(--work-green); background: var(--work-green); outline: none; }

.has-work-js .work-featured__caption { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
  .work-masthead p { animation: none; transform: translateY(-20px); }
  .work-featured__caption,
  .work-featured__list,
  .work-index__background img,
  .work-index__list,
  .work-featured__tags,
  .work-featured__caption h2,
  .work-featured__summary { transition-duration: 1ms !important; transition-delay: 0ms !important; transform: none !important; }
  .work-transition__intro button b { transform: none !important; }
}
