:root {
  color-scheme: dark;
  --canvas: #0b0b0d;
  --ink: #f2f0ed;
  --muted: #bdbfc7;
  --subtle: #a5a8b2;
  --line: #eeeef625;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei UI", "Noto Sans CJK SC", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Segoe UI", "Microsoft YaHei UI", sans-serif;
  --song: "Songti SC", "Source Han Serif SC", "Noto Serif CJK SC", STSong, SimSun, serif;
  --brush: "Kaiti SC", STKaiti, KaiTi, var(--song);
  --motion: cubic-bezier(.22,.78,.26,1);
  --press-motion: cubic-bezier(.2,1.32,.35,1);
}

* { box-sizing: border-box; }
body {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 15px/1.65 var(--sans);
}
.page-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-behavior: smooth;
  scroll-padding-top: 12px;
  scrollbar-gutter: stable;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, summary { font: inherit; color: inherit; cursor: pointer; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible {
  outline: 2px solid #b8ccef;
  outline-offset: 4px;
}
h1, h2, h3, p, dl, dd { margin: 0; }
img, video { display: block; max-width: 100%; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
main:focus, .work-title:focus { outline: none; }
.container { width: min(1140px, calc(100% - clamp(34px, 11vw, 172px))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.glass {
  background: linear-gradient(145deg, #e5e8f227, #e1eafa05 67%), #1b1d24ac;
  border: 1px solid #edf3ff33;
  box-shadow: inset 0 1px 0 #fff3, 0 3px 12px #0006;
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  backdrop-filter: blur(26px) saturate(1.5);
}

.glass.liquid {
  --specular: .18;
  --glass-depth: .52;
  --glass-pigment: 16 18 23;
  --face: #e4e9f333;
  --rim-top: #e7edfb54;
  --rim-side: #a2b1c935;
  --rim-bottom: #8a9ab752;
  --glass-shadow: #02030980;
  --glass-light: #edf4ff44;
  --glass-shade: #06080da2;
  --glass-ambient: .25;
  isolation: isolate;
  border-color: var(--rim-top) var(--rim-side) var(--rim-bottom) var(--rim-side);
  background:
    radial-gradient(ellipse 24% 145% at var(--glint-x, 25%) var(--glint-y, 0%), rgb(248 250 255 / var(--specular)), transparent 91%),
    linear-gradient(154deg, var(--face) 0%, transparent 53%, rgb(var(--glow, 93 132 175) / .12) 100%),
    rgb(var(--glass-pigment) / var(--glass-depth));
  box-shadow:
    inset 0 1px 1px var(--glass-light),
    inset -1px -2px 3px var(--glass-shade),
    0 5px 14px var(--glass-shadow);
  -webkit-backdrop-filter: blur(15px) saturate(1.35);
  backdrop-filter: blur(15px) saturate(1.35);
}
.liquid :is(button, summary, a, .nav-current, .player-time) { text-shadow: 0 1px 3px #030408d0; }
.liquid::before, .liquid::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.liquid::before {
  background: var(--scene-image, none) center 42% / 100% auto no-repeat;
  filter: blur(13px) saturate(1.38);
  clip-path: inset(0 round 38px);
  opacity: var(--glass-ambient);
  transition: opacity 230ms ease-out;
}
.liquid::after {
  padding: 1px;
  background:
    radial-gradient(ellipse 23% 130% at var(--glint-x, 25%) var(--glint-y, 0%), #fff, #eaf3ff83 41%, transparent 88%),
    linear-gradient(152deg, var(--rim-top) 3%, transparent 44%, var(--rim-bottom) 94%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .71;
  transition: opacity 260ms ease-out;
}
.glass.liquid:is(:hover, :focus-within) { --specular: .24; }
.glass.liquid.is-touching { --specular: .38; }
.liquid.is-touching::before { opacity: calc(var(--glass-ambient) + .08); }
.liquid.is-touching::after { opacity: 1; }

.skip-link {
  position: fixed;
  z-index: 20;
  left: 12px;
  top: 9px;
  padding: 10px 15px;
  background: #fff;
  color: #111;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  --menu-height: min(352px, 48dvh);
  position: relative;
  z-index: 10;
  width: min(636px, calc(100% - 32px));
  margin: max(12px, env(safe-area-inset-top)) auto 10px;
}
.site-header:has(.project-index[open]) {
  padding-bottom: calc(var(--menu-height) + 10px);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-height: 56px;
  padding: 5px 6px 5px 17px;
  border-radius: 34px;
}

.brand { justify-self: start; display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; letter-spacing: .025em; white-space: nowrap; }
.brand-author { font-weight: inherit; }
.brand i, .work-category i { width: 7px; height: 7px; flex: none; border-radius: 50%; }
.brand i { background: #e5d4bb; box-shadow: 0 0 0 3px #c6b59f26, inset 0 1px 1px #ffffff90; }
.nav-current { color: #d4d8e0; font-size: 12px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-index { justify-self: end; }

.project-index > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  background: linear-gradient(165deg, #ffffff24, #e0eaff0a);
  border: 1px solid #dbe5fb25;
  border-radius: 24px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 600;
  transition: background 240ms, transform 420ms var(--press-motion);
}
.project-index > summary:hover, .project-index[open] > summary { background: #f4f7ff22; }
.project-index > summary:active { transform: scale(.96); }
.index-count { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.index-icon { display: block; width: 12px; height: 10px; border-block: 1px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 9px 1px no-repeat; opacity: .83; }

.index-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  width: min(305px, 100%);
  max-height: var(--menu-height);
  overflow: auto;
  padding: 7px;
  border-radius: 23px;
  transform-origin: top right;
}
.index-menu.glass.liquid { --glass-depth: .87; }
.index-menu.liquid::before { opacity: .14; }
.project-index[open] .index-menu { animation: open-index 300ms var(--motion) both; }
@keyframes open-index { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

.index-menu a {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 13px;
  transition: background 180ms;
}
.index-menu a:hover, .index-menu a[aria-current] { background: #e8eeff16; }
.index-menu a span { color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.index-menu svg { width: 16px; opacity: .5; }

.work {
  --glow: 67 103 146;
  --accent: #cedbed;
  position: relative;
  padding-block: clamp(32px, 4.7vw, 63px) clamp(43px, 6vw, 76px);
  background: radial-gradient(ellipse 75% 485px at 50% 170px, rgb(var(--glow) / .11), transparent 93%);
}
.work:first-child { padding-top: clamp(20px, 3.2vw, 40px); }
.work + .work::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  width: min(1140px, calc(100% - 34px));
  height: 1px;
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--line) 16%, var(--line) 84%, transparent);
}
.work[data-project="after-315"] { --glow: 108 64 155; --accent: #d7c4ed; }
.work[data-project="harvest"] { --glow: 149 74 58; --accent: #e7bfac; }
.work[data-project="game-science"] { --glow: 65 108 177; --accent: #aecdff; }
.work[data-project="chinajoy"] { --glow: 46 137 131; --accent: #c8e994; }
.work[data-project="sfsa-xian"] { --glow: 94 66 158; --accent: #f0d580; }
.work[data-project="fish-skin"] { --glow: 69 110 98; --accent: #c1d9cd; }
.work[data-project="time-cafe"] { --glow: 147 93 63; --accent: #e4c8ae; }
.work[data-project="towards-light"] { --glow: 110 110 65; --accent: #dedab1; }
.work[data-project="winter-day"] { --glow: 89 122 148; --accent: #d4e2eb; }
.work[data-project="tibet"] { --glow: 61 89 150; --accent: #c5d6f1; }
.work[data-project="ai-ads"] { --glow: 131 80 106; --accent: #e6c8db; }

.work-header-area {
  max-width: 1000px;
  margin-bottom: clamp(10px, 1.85vw, 22px);
}
.work-header {
  display: grid;
  gap: clamp(12px, 1.6vw, 18px);
}
.work-ident {
  padding-inline: clamp(2px, .4vw, 6px);
}
.work-card {
  --card-radius: clamp(18px, 2.4vw, 26px);
  position: relative;
  padding: clamp(16px, 2vw, 22px) clamp(18px, 2.7vw, 30px);
  border-radius: var(--card-radius);
}
.work-card.glass.liquid {
  --glass-depth: .37;
  --glass-ambient: .17;
  --face: #e9eff718;
  --rim-top: #eaf1ff5b;
  --rim-side: #a4afc731;
  --rim-bottom: #9aaac13e;
  --glass-shadow: #020307a1;
}
.work-card.liquid::before {
  inset: 1px;
  clip-path: inset(0 round calc(var(--card-radius) - 1px));
  background-size: cover;
  mask-image: linear-gradient(108deg, #0005, #000c 57%, #000);
  filter: blur(24px) saturate(1.25);
}
.work-card.liquid::after { opacity: .57; }
.work-card.liquid.is-touching::after { opacity: .87; }
@media (prefers-reduced-motion: no-preference) {
  .work-card {
    transform: perspective(950px) translateY(0) rotateX(0deg) rotateY(0deg);
    transition: transform 440ms var(--motion), box-shadow 400ms var(--motion);
  }
  .work-card.glass.liquid.is-floating {
    transform: perspective(950px) translateY(-3px) rotateX(var(--glass-tilt-x, 0deg)) rotateY(var(--glass-tilt-y, 0deg));
    transition-duration: 175ms, 280ms;
    box-shadow: inset 0 1px 1px var(--glass-light), inset -1px -2px 3px var(--glass-shade), 0 12px 24px #020307af;
  }
  .work-card.liquid.is-floating::after { opacity: .81; }
}
.work-category { display: flex; align-items: center; gap: 9px; color: var(--accent); font-size: 13px; font-weight: 620; letter-spacing: .035em; }
.work-category i { width: 6px; height: 6px; background: var(--accent); }
.work-category span { margin-left: 2px; padding-left: 11px; border-left: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; }
.work-title {
  --ink-stroke: #f0eeee;
  --shade-stroke: #c7c5c7;
  --light-stroke: #fff8ec;
  margin-top: 9px;
  color: var(--ink-stroke);
  font: 620 clamp(40px, 5.3vw, 72px)/1.12 'PFSans', var(--display);
  font-synthesis: none;
  letter-spacing: -.022em;
  text-wrap: pretty;
}
.work[data-project="youth"] .work-title {
  --ink-stroke: #faf0dc;
  --shade-stroke: #ddc59b;
  --light-stroke: #fffaf1;
  font-family: 'PFYouth', var(--display);
  font-size: clamp(46px, 6.4vw, 84px);
  font-weight: 700;
  letter-spacing: .01em;
}
.work-wordmark { display: inline-block; max-width: 100%; }
.work[data-project="youth"] .work-wordmark { padding-inline-end: .055em; transform: skewX(-5deg); transform-origin: left bottom; }
.title-key { display: inline-block; font-family: "DIN Alternate", "Bahnschrift", "SF Pro Display", "Segoe UI", sans-serif; font-variant-numeric: lining-nums tabular-nums; line-height: .92; }
.work[data-project="after-315"] .work-title {
  --ink-stroke: #e4f1ec;
  --shade-stroke: #a4c7c0;
  --light-stroke: #e7fffa;
  font-weight: 510;
  letter-spacing: .003em;
}
.work[data-project="after-315"] .title-key { color: #b7ebe0; font-size: 1.21em; font-weight: 650; letter-spacing: -.034em; }
.work[data-project="harvest"] .work-title {
  --ink-stroke: #f2dfb3;
  --shade-stroke: #c1a878;
  --light-stroke: #fff4ce;
  font-family: 'PFHarvest', var(--song);
  font-weight: 400;
  letter-spacing: .09em;
}
.work[data-project="game-science"] .work-title {
  --ink-stroke: #e1edff;
  --shade-stroke: #abbedf;
  --light-stroke: #fff3d9;
  font-size: clamp(37px, 5.1vw, 65px);
  font-weight: 630;
  letter-spacing: -.038em;
}
.work[data-project="chinajoy"] .work-title {
  --ink-stroke: #e2f3b9;
  --shade-stroke: #a7cd9a;
  --light-stroke: #ffffdb;
  font-family: "Bahnschrift", "SF Pro Display", "Segoe UI", var(--display);
  font-weight: 700;
  letter-spacing: -.04em;
}
.work[data-project="sfsa-xian"] .work-title {
  --ink-stroke: #f5e6b6;
  --shade-stroke: #ceb47e;
  --light-stroke: #fff6d2;
  font-family: "Bahnschrift", 'PFSans', var(--display);
  font-size: clamp(35px, 4.7vw, 58px);
  font-weight: 700;
  letter-spacing: -.015em;
}
.work[data-project="fish-skin"] .work-title {
  --ink-stroke: #e9dfd2;
  --shade-stroke: #d6c7ae;
  --light-stroke: #fff7e7;
  font-family: 'PFFish', var(--brush);
  font-size: clamp(48px, 6.2vw, 84px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .05em;
}
.work[data-project="fish-skin"] .work-wordmark { padding-inline-end: .08em; }
.work[data-project="time-cafe"] .work-title {
  --ink-stroke: #f1dac1;
  --shade-stroke: #bb9c80;
  --light-stroke: #fff3df;
  font-family: 'PFCafe', var(--song);
  font-weight: 400;
  letter-spacing: .05em;
}
.work[data-project="time-cafe"] .work-wordmark { padding-inline-end: .06em; transform: skewX(-4deg); transform-origin: left bottom; }
.work[data-project="towards-light"] .work-title {
  --ink-stroke: #f3eac7;
  --shade-stroke: #d4c79b;
  --light-stroke: #fff9de;
  font-family: 'PFLight', var(--display);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 400;
  letter-spacing: .04em;
}
.work[data-project="winter-day"] .work-title {
  --ink-stroke: #eef4fb;
  --shade-stroke: #b3c7da;
  --light-stroke: #fff6e0;
  font-family: 'PFWinter', var(--brush);
  font-size: clamp(50px, 6.3vw, 84px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: .06em;
}
.work[data-project="tibet"] .work-title {
  --ink-stroke: #e9eff8;
  --shade-stroke: #b1c0d8;
  --light-stroke: #fff6df;
  font-family: 'PFTibet', var(--song);
  font-size: clamp(44px, 5.7vw, 76px);
  font-weight: 400;
  letter-spacing: .09em;
}
.work[data-project="ai-ads"] .work-title {
  --ink-stroke: #efe2ec;
  --shade-stroke: #caafc6;
  --light-stroke: #fff2fc;
  font-weight: 610;
  letter-spacing: .017em;
}
.work[data-project="ai-ads"] .title-key { color: #e5bde0; font-size: 1.18em; font-weight: 760; letter-spacing: -.045em; }
@supports (background-clip: text) {
  @media (prefers-reduced-motion: no-preference) and (forced-colors: none) {
    .work-wordmark.is-revealed {
      color: transparent;
      background-image: linear-gradient(108deg, var(--ink-stroke) 36%, var(--shade-stroke) 43%, var(--light-stroke) 50%, var(--shade-stroke) 55%, var(--ink-stroke) 63%);
      background-size: 310% 100%;
      background-clip: text;
      animation: title-light 950ms 130ms ease-in-out both;
    }
  }
}
@keyframes title-light { from { background-position: 100% 50%; } to { background-position: 0 50%; } }
.work-intro { color: #e5e6eb; font-size: clamp(15px, 1.4vw, 17.5px); font-weight: 500; line-height: 1.66; letter-spacing: .01em; text-wrap: balance; }
.work-meta { display: grid; gap: 5px; margin-top: clamp(11px, 1.3vw, 14px); padding-top: clamp(10px, 1.2vw, 13px); border-top: 1px solid #eef3ff1c; color: var(--muted); font-size: 13px; line-height: 1.6; }
.work-meta-row { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); align-items: baseline; gap: 12px; }
.work-meta dt { color: var(--ink); font-size: 12px; font-weight: 650; letter-spacing: .03em; white-space: nowrap; }
.work-meta dd { text-wrap: pretty; }
.work-meta-row.is-award dt { color: var(--accent); }
.work-meta-row.is-award dd { color: #e6e2da; }

.media-heading { position: relative; isolation: isolate; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 1px 9px; }
.media-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 -8px 0 auto;
  width: min(375px, 63%);
  background: radial-gradient(ellipse at 75% 50%, rgb(var(--glow) / .31), transparent 73%);
  pointer-events: none;
}
.media-heading h3 { font-size: 13px; font-weight: 620; letter-spacing: .035em; }
.media-count { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; letter-spacing: .04em; white-space: nowrap; }
.media-count i { color: var(--subtle); font-style: normal; margin-inline: 3px; }
.media-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; }
.media-caption h3 { white-space: nowrap; }

.player-stage {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #e2ebff1b;
  border-radius: clamp(12px, 1.8vw, 22px);
  background: #080a0e;
  box-shadow: 0 10px 38px #0004;
}
.player-stage::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 #ffffff15;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .player:not(:fullscreen, .is-expanded) .player-stage {
    --film-lift: -4px;
    --film-tilt: .85;
    transform: perspective(1200px) translateY(0) rotateX(0deg) rotateY(0deg);
    transition: transform 440ms var(--motion), box-shadow 360ms var(--motion);
  }
  .player:not(:fullscreen, .is-expanded) .player-stage:has(.case-video:not([hidden])) {
    --film-lift: -2px;
    --film-tilt: .48;
  }
  .player:not(:fullscreen, .is-expanded) .player-stage.is-floating {
    transform: perspective(1200px) translateY(var(--film-lift))
      rotateX(calc(var(--glass-tilt-x, 0deg) * var(--film-tilt)))
      rotateY(calc(var(--glass-tilt-y, 0deg) * var(--film-tilt)));
    transition-duration: 175ms, 280ms;
    box-shadow: 0 15px 34px #0009;
  }
  @supports (mask-composite: exclude) or (-webkit-mask-composite: xor) {
    .player-stage::after {
      padding: 1px;
      background: radial-gradient(ellipse 37% 70% at var(--glint-x, 26%) var(--glint-y, 0%), #eff6ffc2, transparent 83%);
      -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: .36;
      transition: opacity 260ms ease-out;
    }
    .player-stage.is-floating::after { opacity: .89; }
    .player-stage.is-floating:has(.case-video:not([hidden]))::after { opacity: .64; }
  }
}
.player-stage.portrait {
  height: min(66svh, 630px);
  min-height: 330px;
  aspect-ratio: auto;
  background: radial-gradient(ellipse at 50% 30%, rgb(var(--glow) / .19), #08090c 75%);
}

.player-cover {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  user-select: none;
}
.frame-stage:focus-visible, .player-cover:focus-visible, .case-video:focus-visible { outline-offset: -4px; }
.frame-section {
  padding-block: clamp(4px, 1.05vw, 12px) clamp(13px, 2vw, 25px);
  background: radial-gradient(ellipse 56% 59% at 50% 49%, rgb(var(--glow) / .15), transparent 87%);
}
.carousel-view {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(1140px, calc(100% - 34px));
  margin-inline: auto;
}
.frame-stage {
  position: relative;
  display: grid;
  width: 100%;
  justify-items: center;
  padding: clamp(6px, 1.1vw, 14px) 0 clamp(14px, 2.45vw, 29px);
  border: 0;
  background: transparent;
  cursor: grab;
  perspective: 1200px;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.frame-stage.is-dragging { cursor: grabbing; }
.frame-track {
  position: relative;
  display: block;
  width: min(72%, max(510px, 95svh));
  aspect-ratio: 16 / 9;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 380ms var(--motion);
  pointer-events: none;
}
.carousel-view.portrait .frame-track { width: min(62%, 265px); aspect-ratio: 9 / 16; }
.frame-stage:hover .frame-track { transition-duration: 180ms; }
.deck-card {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: clamp(15px, 2.2vw, 30px);
  background: #0a0e15;
  box-shadow: 0 13px 26px #090a0c72, 0 3px 8px #090a0c6b;
}
.deck-card::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 30% 82% at var(--glint-x, 30%) var(--glint-y, 0%), #f2f9ffce, transparent 88%),
    linear-gradient(151deg, #e4ebfa82, #c1ccdf40 43%, #8291aa44 70%, #b5cff68b);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.deck-card img { width: 100%; height: 100%; object-fit: contain; }
.player-cover img, .case-video { object-fit: contain; }

.frame-dock {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  width: min(calc(100% - 34px), 1000px);
  margin: 0 auto;
}
.frame-dock > .media-count { justify-self: end; }
.frame-dock h3 { color: var(--ink); font-size: 13px; font-weight: 620; }

.frame-actions {
  position: relative;
  display: flex;
  flex: none;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border-radius: 40px;
}
.frame-actions button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: background 190ms, transform 430ms var(--press-motion);
}
.frame-actions button:not(:disabled):hover { background: #f0f4ff1c; }
.frame-actions button:focus-visible, .frame-stage:focus-visible { outline-color: #bacfeb; }
.frame-actions button:active { transform: scale(.9); }
.frame-actions button:disabled { cursor: default; opacity: .48; }
.frame-actions button[data-toggle] { background: #f0f4ff13; }
.frame-actions button[data-toggle] svg { width: 17px; }
.frame-actions button[data-toggle] { position: relative; margin-left: 4px; }
.frame-actions button[data-toggle]::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 27%;
  width: 1px;
  height: 46%;
  background: var(--line);
}
.frame-dots { display: flex; align-items: center; gap: clamp(3px, .55vw, 7px); padding-inline: 2px; }
.frame-dots i {
  width: 5px;
  height: 5px;
  border-radius: 8px;
  background: #b7bfcd65;
  transition: width 260ms var(--press-motion), background 210ms, box-shadow 210ms;
}
.frame-dots i.current { width: 13px; background: #d9e1ef; box-shadow: 0 0 7px #aebdd159; }

.film-zone {
  padding-block: clamp(13px, 2.45vw, 31px) clamp(17px, 2.9vw, 36px);
}
.screening {
  width: min(100%, 1000px);
  margin: 0 auto;
}
.screening-heading { min-height: 48px; }
.screening-heading h3 { font-size: 15px; letter-spacing: .01em; }
.cover-launch {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 14px 0 10px;
  border-radius: 26px;
  font-size: 12px;
  font-weight: 600;
  transition: transform 430ms var(--press-motion);
}
.cover-launch:active { transform: scale(.94); }
.screening-layout.has-playlist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 16px; align-items: center; }
.player { min-width: 0; }
.case-video, .player-cover img { width: 100%; height: 100%; }
.case-video { background: #000; cursor: pointer; }
.player-cover img { position: absolute; inset: 0; pointer-events: none; }
.player-controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(3px, 1vw, 11px);
  width: min(665px, 100%);
  margin: 12px auto 0;
  padding: 3px 6px;
  border-radius: 40px;
  animation: show-player-controls 240ms ease-out both;
}
@keyframes show-player-controls { from { opacity: 0; } }

.player-expanded .page-scroll { overflow: hidden; }
.player:is(:fullscreen, .is-expanded) {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: 100%;
  height: 100%;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) max(10px, env(safe-area-inset-bottom)) env(safe-area-inset-left);
  background: #000;
}
.player.is-expanded {
  position: fixed;
  z-index: 30;
  inset: 0;
  height: 100dvh;
}
.player:is(:fullscreen, .is-expanded) .player-stage-area {
  height: 100%;
  min-height: 0;
}
.player:is(:fullscreen, .is-expanded) .player-stage {
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #000;
}
.player:is(:fullscreen, .is-expanded) .player-stage::after { display: none; }
.player:is(:fullscreen, .is-expanded) .player-controls { width: min(665px, calc(100% - 20px)); }

.player-controls button {
  display: grid;
  flex: none;
  place-items: center;
  width: clamp(37px, 4vw, 43px);
  height: 41px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: background 190ms, transform 430ms var(--press-motion);
}
.player-controls button:hover { background: #ffffff20; }
.player-controls button:active { transform: scale(.9); }
.player-controls button:focus-visible, .player-controls input:focus-visible {
  outline: 2px solid #c6dcff;
  outline-offset: -1px;
}
.player-controls button[data-transport] { background: #ffffff18; }
.player-time { color: #f0f3fa; font-size: 11px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-controls input {
  --played: 0%;
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 37px;
  margin: 0 2px;
  background: transparent;
  appearance: none;
  cursor: pointer;
}
.player-controls input:disabled { opacity: .4; cursor: default; }
.player-controls input::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, #f7f9ff var(--played), #ffffff45 var(--played));
}
.player-controls input::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #fff, #d9e9ff 65%, #9cb6d1);
  box-shadow: 0 0 0 1px #f4faff70, 0 2px 8px #03070fbd;
  appearance: none;
  transition: transform 340ms var(--press-motion);
}
.player-controls input:active::-webkit-slider-thumb { transform: scale(1.24); }
.player-controls input::-moz-range-track { height: 4px; border-radius: 4px; background: #ffffff45; }
.player-controls input::-moz-range-progress { height: 4px; border-radius: 4px; background: #f7f9ff; }
.player-controls input::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 25%, #fff, #d9e9ff 65%, #9cb6d1); box-shadow: 0 0 0 1px #f4faff70, 0 2px 8px #03070fbd; }
.player-controls input:active::-moz-range-thumb { transform: scale(1.24); }
.media-error { position: absolute; z-index: 4; inset: auto 10px 10px; padding: 9px 13px; border-radius: 10px; background: #17181ddd; font-size: 12px; }
.media-error a { text-decoration: underline; }

.playlist { display: grid; gap: 6px; }
.playlist-item {
  display: grid;
  grid-template-columns: 37px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 62px;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  text-align: start;
  font-size: 12px;
  line-height: 1.35;
  transition: background 210ms, border-color 210ms, transform 380ms var(--motion);
}
.playlist-item[aria-pressed="true"], .playlist-item:hover { background: #ffffff12; border-color: #ffffff21; }
.playlist-item:active { transform: scale(.98); }
.playlist-item img { width: 37px; height: 48px; border-radius: 6px; object-fit: cover; }
.playlist-item small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; }
.playlist-item svg { width: 18px; opacity: .7; }

.making {
  --note-gutter: clamp(3px, 1.55vw, 17px);
  width: min(100%, 1000px);
  margin: clamp(14px, 2.3vw, 29px) auto 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(160deg, #edf1ff07, transparent 72%);
}
.making summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: clamp(12px, 1.7vw, 21px) var(--note-gutter); }
.making-title { color: var(--ink); font: 620 clamp(21px, 2.3vw, 29px)/1.18 var(--display); letter-spacing: -.012em; }
.making-mark { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background-color 200ms, transform 400ms var(--press-motion); }
.making-mark svg { width: 20px; }
.making summary:hover .making-mark { background-color: #525d7485; }
.making summary:active .making-mark { scale: .92; }
.making[open] .making-mark { transform: rotate(45deg); }
.making-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(206px, 100%), 1fr));
  gap: clamp(16px, 2.8vw, 36px);
}
.making-notes, .making-copy {
  padding: 2px var(--note-gutter) clamp(20px, 2.5vw, 32px);
}
.making-copy { color: var(--muted); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.8; }
.making-copy p { max-width: 50em; }
.making-copy p + p { margin-top: 12px; }
.making[open] :is(.making-notes, .making-copy) { animation: show-notes 310ms var(--motion) both; }
@keyframes show-notes { from { opacity: 0; transform: translateY(-4px); } }
.making-notes > div { padding-top: clamp(12px, 1.5vw, 19px); border-top: 1px solid var(--line); }
.making-notes dt { color: var(--ink); font: 600 clamp(17px, 1.65vw, 20px)/1.32 var(--display); }
.making-notes dd { max-width: 42em; margin-top: 7px; color: var(--muted); font-size: clamp(14px, 1.4vw, 16px); line-height: 1.72; text-wrap: pretty; }

.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; min-height: 108px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.footer-ident strong { display: block; color: var(--ink); font-size: 14px; font-weight: 650; letter-spacing: .02em; }
.footer-ident strong span { margin-left: 6px; color: var(--muted); font-size: 11px; font-weight: 550; letter-spacing: .08em; }
.footer-ident p { margin-top: 4px; color: var(--subtle); font-size: 12px; }
.footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-action { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 41px; border-radius: 24px; color: var(--ink); font-size: 12px; transition: background-color 200ms, transform 380ms var(--press-motion); }
.footer-action:hover { background-color: #2c3140bd; }
.footer-action:active { transform: scale(.96); }

.stills-dialog {
  --muted: #c5cbd5;
  color-scheme: dark;
  width: min(1260px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 12px;
  border: 1px solid #f3f6ff3b;
  border-radius: 21px;
  background: #11141bee;
  color: #f5f6fa;
  box-shadow: 0 28px 130px #000a;
}
.stills-dialog::backdrop { background: #05070bd9; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.stills-dialog img { width: 100%; height: min(72dvh, 780px); object-fit: contain; background: #090a0e; border-radius: 12px; }
.stills-toolbar, .stills-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.stills-toolbar { padding: 0 0 8px 4px; }
.stills-controls { padding-top: 8px; }
.stills-dialog button { min-height: 41px; padding: 0 12px; border: 1px solid #ffffff27; border-radius: 25px; background: #ffffff0e; color: #f5f6fa; font-size: 12px; }
.stills-dialog button:hover { background: #ffffff21; }
.stills-toolbar button span { font-size: 16px; margin-left: 5px; }

@media (max-width: 700px) {
  .container { width: calc(100% - 34px); }
  .work, .work:first-child { padding-top: 21px; }
  .work-header { gap: 10px; }
  .work-card { padding: 14px 16px; }
  .work-title { margin-top: 6px; }
  .work-intro { text-wrap: pretty; }
  .work-meta { gap: 5px; margin-top: 10px; padding-top: 9px; }
  .work-meta-row { gap: 8px; }
  .carousel-view { width: calc(100% - 18px); }
  .screening-layout.has-playlist { grid-template-columns: 1fr; gap: 10px; }
  .playlist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .frame-actions button { width: 38px; height: 40px; }
  .frame-track { width: 76%; }
  .work { background-size: auto 590px; background-repeat: no-repeat; }
}

@media (max-width: 430px) {
  .nav-shell { padding-left: 13px; grid-template-columns: 1fr minmax(0, auto) 1fr; }
  .brand { gap: 7px; font-size: 12px; }
  .nav-current { max-width: 100px; font-size: 11px; }
  .project-index > summary { gap: 6px; padding-inline: 8px; }
  .index-count { display: none; }
  .work-title { font-size: clamp(36px, 10.6vw, 46px); }
  .work[data-project="youth"] .work-title { font-size: clamp(40px, 11.4vw, 49px); }
  .work[data-project="fish-skin"] .work-title { font-size: clamp(43px, 13vw, 54px); }
  .work-intro { line-height: 1.55; }
  .frame-dock { grid-template-columns: 1fr 1fr; gap: 8px 10px; }
  .frame-actions { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
  .media-caption { column-gap: 7px; }
  .playlist { grid-template-columns: 1fr; }
  .making-notes { grid-template-columns: 1fr; gap: 15px; }
}

@media (max-width: 380px) {
  .nav-current { display: none; }
  .nav-shell { grid-template-columns: 1fr 1fr; }
}

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

@media (prefers-reduced-transparency: reduce) {
  .glass.liquid, .work-card.glass.liquid { --glass-depth: .94; }
  .liquid::before, .liquid.is-touching::before { opacity: .1; }
}
